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: 
http://old.nabble.com/gdb-6.0-%2B-AIX-6.1-%3D%3D%3E-Illegal-instruction-tp29999487p29999487.html
Sent from the Gnu - gdb - General mailing list archive at Nabble.com.

Reply via email to