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]

gdb-gdbserver running 32-bit application on 64-bit target


I'm running gdbserver on a target board running x86-64 Linux. However, the application I need to debug happens to be a statically linked 32-bit executable. When I try to connect from gdb running on the host to the target I get the following error:

(gdb) target remote 10.12.7.99:5432
Remote debugging using 10.12.7.99:5432
warning: Selected architecture i386 is not compatible with reported target architecture i386:x86-64
Remote register badly formatted: T0506:0000000000000000;07:b0e799ff00000000;10:0081040800000000;thread:afc;
here: 0000000;07:b0e799ff00000000;10:0081040800000000;thread:afc;


Is this something that can easily be done or do I need to change the code to add support for it ?

Thanks,
-Carlos


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