gdb under sparc64-sun-solaris2.9

e.karge e.karge@struction.de
Tue Oct 21 11:45:00 GMT 2003


>> I build gdb-5.3 and gdb-6.0 with no special configure options.
>> It works well with 32-bit executables, but if I try to run a 64-bit
>> excuteable i get following messages:
>
> I think you need to build it with -m64. GDB needs to be 64bits to be
> able to debug 64bits executables.
>
> --
> Joel

i build it with "make CFLAGS=-m64 CXX=-m64", works fine.
thanks a lot,
   Eric.



More information about the Gdb mailing list