From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5100 invoked by alias); 23 May 2005 06:22:22 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 5033 invoked by uid 22791); 23 May 2005 06:22:15 -0000 Received: from ausmtp01.au.ibm.com (HELO ausmtp01.au.ibm.com) (202.81.18.186) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Mon, 23 May 2005 06:22:15 +0000 Received: from sd0208e0.au.ibm.com (d23rh904.au.ibm.com [202.81.18.202]) by ausmtp01.au.ibm.com (8.12.10/8.12.10) with ESMTP id j4N6OTa7296924 for ; Mon, 23 May 2005 16:24:30 +1000 Received: from d23av02.au.ibm.com (d23av02.au.ibm.com [9.190.250.243]) by sd0208e0.au.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id j4N6OoL3142968 for ; Mon, 23 May 2005 16:24:51 +1000 Received: from d23av02.au.ibm.com (loopback [127.0.0.1]) by d23av02.au.ibm.com (8.12.11/8.13.3) with ESMTP id j4N6LwS6011398 for ; Mon, 23 May 2005 16:21:58 +1000 Received: from plinuxt18.cn.ibm.com (plinuxt18.cn.ibm.com [9.181.140.28]) by d23av02.au.ibm.com (8.12.11/8.12.11) with ESMTP id j4N6LuLJ011350; Mon, 23 May 2005 16:21:57 +1000 Date: Mon, 23 May 2005 06:22:00 -0000 From: Wu Zhou To: Joel Brobecker cc: Ivan Popivanov , gdb@sources.redhat.com Subject: Re: AIX support In-Reply-To: <20050523055427.GT12565@adacore.com> Message-ID: References: <428FA3E2.2050607@gmx.net> <20050523000021.GN12565@adacore.com> <42916B36.8070108@gmx.net> <20050523055427.GT12565@adacore.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2005-05/txt/msg00281.txt.bz2 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 > >