Re:How to read variables optimized out in GDB?
by rurban on Wednesday October 12, 2022 @10:30PM
(#33186447)
When this made it into gdb some years ago, I wanted to print the optimized away values nevertheless with a ? prefix. This was easy. But then gdb got carried away and reworked everything in C++, and I could not print those values anymore.
https://github.com/rurban/binutils-gdb/commits/users/rurban/...