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
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was 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??
Thanks and regards,
Pablo Cazallas.
View this message in context: gdb 6.0 + AIX 6.1 ==> Illegal instruction
Sent from the Gnu - gdb - General mailing list archive at Nabble.com.