This is the mail archive of the
mailing list for the GCC project.
Re: Limited success with 3.0 branch on AIX
- To: "Zack Weinberg" <zackw at Stanford dot EDU>, David Edelsohn <dje at watson dot ibm dot com>
- Subject: Re: Limited success with 3.0 branch on AIX
- From: Kevin Buettner <kevinb at cygnus dot com>
- Date: Thu, 3 May 2001 01:42:23 -0700
- Cc: Matthew Conway <matt_conway at i2 dot com>, gcc at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org, gdb at sources dot redhat dot com
- References: <email@example.com> <200104302116.RAA23290@makai.watson.ibm.com> <20010502232459.N8246@stanford.edu>
On May 2, 11:24pm, Zack Weinberg wrote:
> > I do not see anything in the AIX equivalent to N_OPT -- no comment
> > storage class. Would using N_GSYM (AIX's C_GSYM) be appropriate? It
> > seems to be a stab for which only the name is significant, not the value,
> > which matches the use of gcc2_compiled.
> The question is whether gdb on AIX will notice the marker in a C_GSYM
> .stabx directive; also whether the native debugger will choke on it.
> I've cc:ed the gdb folks for comment. Leaving your patch quoted so
> they can look at it.
David asked about this on the GDB list recently. I see nothing wrong
with David's approach, though GDB will require a minor modification to
recognize "gcc2_compiled." as an N_GSYM.
I will note, however, that neither of GDB's symtabs maintainers
have weighed in on this issue yet.