From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kevin Buettner To: "Zack Weinberg" , David Edelsohn Cc: Matthew Conway , gcc@gcc.gnu.org, gcc-patches@gcc.gnu.org, gdb@sources.redhat.com Subject: Re: Limited success with 3.0 branch on AIX Date: Thu, 03 May 2001 01:42:00 -0000 Message-id: <1010503084223.ZM4992@ocotillo.lan> References: <200104302116.RAA23290@makai.watson.ibm.com> <20010502232459.N8246@stanford.edu> X-SW-Source: 2001-05/msg00044.html 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. See: http://sources.redhat.com/ml/gdb/2001-05/msg00015.html http://sources.redhat.com/ml/gdb/2001-05/msg00019.html http://sources.redhat.com/ml/gdb/2001-05/msg00020.html http://sources.redhat.com/ml/gdb/2001-05/msg00027.html http://sources.redhat.com/ml/gdb/2001-05/msg00028.html http://sources.redhat.com/ml/gdb/2001-05/msg00030.html http://sources.redhat.com/ml/gdb/2001-05/msg00033.html I will note, however, that neither of GDB's symtabs maintainers have weighed in on this issue yet. Kevin