Re: gdb 6.0 + AIX 6.1 ==> Illegal instruction

Tom Tromey <[email protected]> Fri, 22 Oct 2010 13:30:52 -0600
Newsgroups gmane.comp.gdb.general
Message-ID <[email protected]>
>>>>> ">" == pcazallas  <[email protected]> writes:

>> Trying to debug a compiled object with xlc (c language source code),
>> gdb always throws a SIGILL: $ gdb object.exe pid_number GNU gdb 6.0

GDB 6.0 is very old.  It was released October 2003.

Maybe a newer version would be better.

>> configured as "powerpc-ibm-aix5.1.0.0"...Illegal instruction(coredump)
>> $ I have compiled it with debugging flags, so it should work, at least
>> it should not crash, shouldn't it?? How can I fix this issue??

All I can think is that if you built it yourself, maybe you gave the
wrong configure or compiler flags.  Also, it says it was configured for
AIX 5.1 but you say you are running AIX 6.1.  That seems weird.

Tom