AIX support
Wu Zhou
woodzltc@cn.ibm.com
Mon May 23 06:22:00 GMT 2005
ok. I didn't know that the executable file formats on AIX is COFF. In
fact I don't have any experiecne coding on AIX. But I do have some
experience with xlC compiler on linux. That is ppc64 arch however.
GDB will drop into segmentation fault if there are any virtual classes or
functions in the debugged code. The reason is that xl c++ compiler will
generate a virtual function table for each virtual classes, and so it
doesn't depends on DW_AT_containing_type like g++ does.
I don't know what kind of debuginfo XLC will generate on AIX. If it is
other than DWARF, or your code don't use any virutal feature of c++, I
think GDB will work well with xlc compiler on AIX.
Cheers
- Wu Zhou
On Mon, 23 May 2005, Joel Brobecker wrote:
> > Aren't the executable file formats different on AIX and Linux? Does GDB
> > support both?
>
> Yes, the executable formats are different. One is COFF based, and the
> other is ELF. GDB supports both. (I assume by linux you mean ppc-linux)
>
> --
> Joel
>
>
More information about the Gdb
mailing list