This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: amd64 executable debugging


On 2018-03-25 02:04, vijay nag wrote:
I mean the executable was built with -O2. The question is has GDB somehow
managed to fix this problem on optimized binaries ?

If GDB says the value is optimized out, it's probably because it's really not available. However, if you are able to find the value by unwinding by hand, it could mean that the DWARF information output by the compiler could be enhanced so that debuggers are able to find it as well.

Simon


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]