This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: gdb under sparc64-sun-solaris2.9
>> 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.