This is the mail archive of the gdb@sources.redhat.com 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]

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.


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