3 ms·
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 restrict
by lostmsu 5y ago
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.
- toast0 5y agoThat doesn't seem like it would matter in the Linux kernel, since they don't have a kernel debugger, for better or worse.
- saagarjha 5y agoRunning GDB against the kernel running in QEMU?
- nukemaster 5y ago
- School-Cotton 5y agoI have definitely evaluated function calls in rust-gdb.
- lostmsu 5y agoI 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.
- School-Cotton 5y agoYou’re absolutely right that it often fails on more complicated stuff. I’m just pointing out that it’s not _totally_ nonexistent.