This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Build-sensitive behaviour of a cross-debugger
- From: Orgad and Raizel Shaneh <orgads at gmail dot com>
- To: gdb at sourceware dot org
- Date: Thu, 7 Apr 2011 10:48:43 +0300
- Subject: Build-sensitive behaviour of a cross-debugger
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