From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Berlin To: David Edelsohn Cc: Nicholas Duffek , Kevin Buettner , Subject: Re: Limited success with 3.0 branch on AIX Date: Tue, 01 May 2001 13:02:00 -0000 Message-id: References: <200105011712.NAA28082@makai.watson.ibm.com> X-SW-Source: 2001-05/msg00019.html On Tue, 1 May 2001, David Edelsohn wrote: > I would like to refer the GDB experts to a question on the GCC > mailinglist in regard to Zack Weinberg's gcc2_compiled changes. His patch > to implement DBX_OUTPUT_GCC_MARKER support on AIX was not completely > correct. He used stabs N_OPT type which is not valid on AIX and does not > correspond to any AIX storage class stabx type. > > The closest AIX type seems to be C_GSYM (stabs N_GSYM). Does GDB > for AIX care about the gcc2_compiled symbol? Is using the N_GSYM type > (whose value is ignored, according to the documentation) okay? The > semantics of a global symbol seem the closest to a N_OPT comment. I do > not understand enough about the significance of the stab type to know if > this proposal would be satisfactory. Right now, gdb only happens to look for it in a few types of stabs. N_GSYM is not one of them. Though it's trivial to change gdb to allow gcc2_compiled to appear in that symbol. It's a one liner, literally. --Dan > > http://gcc.gnu.org/ml/gcc-patches/2001-04/msg01459.html > > Thanks, David >