Cannot debug 32 bits application on 64 bits host‏

Yinon Ehrlich yinon.me@gmail.com
Mon Dec 5 13:36:00 GMT 2016
Hi,

gdb (both 32 & 64 bits) cannot load 32 bits application with core file
on Debian x64 - issues a lot of warnings about ".dynamic section ...
is not at the expected address", then 'bt' stops with "previous frame
inner to this frame (corrupt stack?)"

The same gdb works on Ubuntu x32 !

The command-line used to check it is:
gdb 32bit.app 32bit.core -nx --batch -ex "bt"

But: when running the same command-line and hitting Ctrl+C while the
trace-back is loaded, the trace-back is seen !

Any idea ?
Thanks in advance,
    Yinon



More information about the Binutils mailing list