This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Limited success with 3.0 branch on AIX




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
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]