Build-sensitive behaviour of a cross-debugger

Orgad and Raizel Shaneh orgads@gmail.com
Thu Apr 7 07:48:00 GMT 2011


I'm trying to build a cross-debugger with host=i586-mingw32msvc and
target=mips64-octeon-linux-gnu

When I built it on linux (build=i686-pc-linux-gnu) and tried to debug
an application, all int, enum and pointer variables were treated as
64-bit (although they actually occupied 32 bits).
When I built in with mingw on win32 (build=i686-pc-mingw32), it works
fine (32 vars are indeed 32).

Why does it happen?

Thanks,
- Orgad



More information about the Gdb mailing list