[PATCH] Fix casting in-memory values of primitive types to const reference

Tom Tromey tom@tromey.com
Wed Mar 20 17:33:40 GMT 2024


>>>>> "Hannes" == Hannes Domani <ssbssa@yahoo.de> writes:

Hannes> This happens:

Hannes> (gdb) p (ci&) Q.id
Hannes> $1 = (const int &) @0x3cfb8c: 42

Hannes> Because check_typedef is called when the reference is removed:

Thanks for looking.

Tom


More information about the Gdb-patches mailing list