Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* AIX support
@ 2005-05-21 21:09 Ivan Popivanov
  2005-05-23  0:00 ` Joel Brobecker
  2005-05-23 15:51 ` Manoj Iyer
  0 siblings, 2 replies; 8+ messages in thread
From: Ivan Popivanov @ 2005-05-21 21:09 UTC (permalink / raw)
  To: gdb

Hi,

Does GDB support AIX? Is it possible to debug programs compiled with AIX 
native xlC compiler?

Thanks in advance!
Ivan


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: AIX support
  2005-05-21 21:09 AIX support Ivan Popivanov
@ 2005-05-23  0:00 ` Joel Brobecker
  2005-05-23  1:26   ` Wu Zhou
  2005-05-23 15:51 ` Manoj Iyer
  1 sibling, 1 reply; 8+ messages in thread
From: Joel Brobecker @ 2005-05-23  0:00 UTC (permalink / raw)
  To: Ivan Popivanov; +Cc: gdb

> Does GDB support AIX? Is it possible to debug programs compiled with AIX 
> native xlC compiler?

GDB does support AIX. I don't know however how well GDB supports
debugging of programs built with xlC.

-- 
Joel


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: AIX support
  2005-05-23  0:00 ` Joel Brobecker
@ 2005-05-23  1:26   ` Wu Zhou
  2005-05-23  2:19     ` Wu Zhou
  0 siblings, 1 reply; 8+ messages in thread
From: Wu Zhou @ 2005-05-23  1:26 UTC (permalink / raw)
  To: Joel Brobecker; +Cc: Ivan Popivanov, gdb


from my experiences, GDB works well with xl c compiler. but not so well on
xl c++ compiler, especially on virtual class and function. 

On Mon, 23 May 2005, Joel Brobecker wrote:

> > Does GDB support AIX? Is it possible to debug programs compiled with AIX 
> > native xlC compiler?
> 
> GDB does support AIX. I don't know however how well GDB supports
> debugging of programs built with xlC.
> 
> -- 
> Joel
> 
> 


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: AIX support
  2005-05-23  1:26   ` Wu Zhou
@ 2005-05-23  2:19     ` Wu Zhou
  2005-05-23  5:32       ` Ivan Popivanov
  0 siblings, 1 reply; 8+ messages in thread
From: Wu Zhou @ 2005-05-23  2:19 UTC (permalink / raw)
  To: Joel Brobecker; +Cc: Ivan Popivanov, gdb

Sorry that I forget to mention that my experience is on linux.  But I 
think the result might be the same. 

Cheers
- Wu Zhou

On Mon, 23 May 2005, Wu Zhou wrote:

> 
> from my experiences, GDB works well with xl c compiler. but not so well on
> xl c++ compiler, especially on virtual class and function. 
> 
> On Mon, 23 May 2005, Joel Brobecker wrote:
> 
> > > Does GDB support AIX? Is it possible to debug programs compiled with AIX 
> > > native xlC compiler?
> > 
> > GDB does support AIX. I don't know however how well GDB supports
> > debugging of programs built with xlC.
> > 
> > -- 
> > Joel
> > 
> > 
> 
> 


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: AIX support
  2005-05-23  2:19     ` Wu Zhou
@ 2005-05-23  5:32       ` Ivan Popivanov
  2005-05-23  5:54         ` Joel Brobecker
  0 siblings, 1 reply; 8+ messages in thread
From: Ivan Popivanov @ 2005-05-23  5:32 UTC (permalink / raw)
  To: Wu Zhou; +Cc: Joel Brobecker, gdb

Aren't the executable file formats different on AIX and Linux? Does GDB 
support both?

Cheers,
Ivan

Wu Zhou wrote:

>Sorry that I forget to mention that my experience is on linux.  But I 
>think the result might be the same. 
>
>Cheers
>- Wu Zhou
>
>On Mon, 23 May 2005, Wu Zhou wrote:
>
>  
>
>>from my experiences, GDB works well with xl c compiler. but not so well on
>>xl c++ compiler, especially on virtual class and function. 
>>
>>On Mon, 23 May 2005, Joel Brobecker wrote:
>>
>>    
>>
>>>>Does GDB support AIX? Is it possible to debug programs compiled with AIX 
>>>>native xlC compiler?
>>>>        
>>>>
>>>GDB does support AIX. I don't know however how well GDB supports
>>>debugging of programs built with xlC.
>>>
>>>-- 
>>>Joel
>>>
>>>
>>>      
>>>
>>    
>>
>
>
>
>  
>



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: AIX support
  2005-05-23  5:32       ` Ivan Popivanov
@ 2005-05-23  5:54         ` Joel Brobecker
  2005-05-23  6:22           ` Wu Zhou
  0 siblings, 1 reply; 8+ messages in thread
From: Joel Brobecker @ 2005-05-23  5:54 UTC (permalink / raw)
  To: Ivan Popivanov; +Cc: Wu Zhou, gdb

> 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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: AIX support
  2005-05-23  5:54         ` Joel Brobecker
@ 2005-05-23  6:22           ` Wu Zhou
  0 siblings, 0 replies; 8+ messages in thread
From: Wu Zhou @ 2005-05-23  6:22 UTC (permalink / raw)
  To: Joel Brobecker; +Cc: Ivan Popivanov, gdb


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
> 
> 


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: AIX support
  2005-05-21 21:09 AIX support Ivan Popivanov
  2005-05-23  0:00 ` Joel Brobecker
@ 2005-05-23 15:51 ` Manoj Iyer
  1 sibling, 0 replies; 8+ messages in thread
From: Manoj Iyer @ 2005-05-23 15:51 UTC (permalink / raw)
  To: Ivan Popivanov; +Cc: gdb


Short answer, Yes, GDB works on AIX and with XLC/C++. I have done some
work in this area, you can find test results that I posted to GBDtesters
mailing list. My experience is with gdb mainline with XLC 7.0 on AIX 5.3L.

Thanks
-----
manjo
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Cogito ergo sum                                                          +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

On Sat, 21 May 2005, Ivan Popivanov wrote:

> Hi,
>
> Does GDB support AIX? Is it possible to debug programs compiled with AIX
> native xlC compiler?
>
> Thanks in advance!
> Ivan
>
>


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2005-05-23 15:51 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-21 21:09 AIX support Ivan Popivanov
2005-05-23  0:00 ` Joel Brobecker
2005-05-23  1:26   ` Wu Zhou
2005-05-23  2:19     ` Wu Zhou
2005-05-23  5:32       ` Ivan Popivanov
2005-05-23  5:54         ` Joel Brobecker
2005-05-23  6:22           ` Wu Zhou
2005-05-23 15:51 ` Manoj Iyer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox