Re: amd64 executable debugging
Simon Marchi <[email protected]>
| Newsgroups | gmane.comp.gdb.devel |
|---|---|
| Message-ID | <[email protected]> |
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