News for hackers. Stuff that matters.
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.
Re:Rustaceans at the border by toast0 on Friday April 15, 2022 @02:04PM (#31043497)
That doesn't seem like it would matter in the Linux kernel, since they don't have a kernel debugger, for better or worse.
Re:Rustaceans at the border by saagarjha on Friday April 15, 2022 @02:21PM (#31043752)
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.
Re:Rustaceans at the border by lostmsu on Saturday April 16, 2022 @03:50PM (#31055522)
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.