Re:Rustaceans at the border
by lostmsu on Friday April 15, 2022 @01:19PM
(#31042856)
I have a very strong doubt about it because Rust debugging still sucks. No debugger allows you to evaluate function calls AFAIK, which is a very strong restriction.
[ Parent
| on HN ]
That doesn't seem like it would matter in the Linux kernel, since they don't have a kernel debugger, for better or worse.
Running GDB against the kernel running in QEMU?
Re:Rustaceans at the border
by umanwizard on Friday April 15, 2022 @02:31PM
(#31043896)
I have definitely evaluated function calls in rust-gdb.
I see reports of it working for trivial top-level functions with basic parameter types, but what about everything else? Like member functions, trait implementations, etc.
Re:Rustaceans at the border
by umanwizard on Thursday April 21, 2022 @10:02PM
(#31117419)
You’re absolutely right that it often fails on more complicated stuff. I’m just pointing out that it’s not _totally_ nonexistent.