Regression or undocumented behavior change in Rust value printing in gdb 10.1

Tom Tromey tom@tromey.com
Fri May 14 13:52:19 GMT 2021


>>>>> "Russell" == Russell Mull <russell@digitalartificer.com> writes:

Russell> Is this a bug, or possibly the new intended behavior? If it's the latter,
Russell> is there something that can be done on the python extension side to get the
Russell> old behavior back?

It's a bug.  The changes to remove the val_print code weren't supposed
to (greatly) affect user-visible behavior.

Russell> I'm tracking this on the Rust side at
Russell> https://github.com/rust-lang/rust/issues/85267, and have a small repro
Russell> available at https://github.com/mullr/gdb-pretty-test.

Thanks.  I'll take a look.

Tom


More information about the Gdb mailing list