News for hackers. Stuff that matters.
Re:How to read variables optimized out in GDB? by eliasmacpherson on Tuesday October 11, 2022 @07:57PM (#33170870)
I got great mileage out of:

-fno-eliminate-unused-debug-symbols

-fno-eliminate-unused-debug-types

https://gcc.gnu.org/onlinedocs/libstdc++/manual/debug.html https://gcc.gnu.org/onlinedocs/gcc/Debugging-Options.html

this post seems way more hardcore and beyond my experience though.

There are no comments on this comment yet.