This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Limited success with 3.0 branch on AIX
- To: David Edelsohn <dje at watson dot ibm dot com>
- Subject: Re: Limited success with 3.0 branch on AIX
- From: Daniel Berlin <dan at www dot cgsoftware dot com>
- Date: Tue, 1 May 2001 16:02:21 -0400 (EDT)
- cc: Nicholas Duffek <nsd at redhat dot com>, Kevin Buettner <kevinb at redhat dot com>, <gdb at sources dot redhat dot com>
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
>