This is the mail archive of the
gdb@sourceware.cygnus.com
mailing list for the GDB project.
Re: LRS in STABS
- To: Jim Blandy <jimb@cygnus.com>
- Subject: Re: LRS in STABS
- From: Jeffrey A Law <law@cygnus.com>
- Date: Tue, 13 Jul 1999 16:43:24 -0600
- cc: egcs@egcs.cygnus.com, gdb@sourceware.cygnus.com
- Reply-To: law@cygnus.com
In message <np4sj8i9pp.fsf@zwingli.cygnus.com>you write:
> Hmm. Stabs for locals are emitted after all the function's code, so
> those should be okay, right? So formal parameters are the real
> problem, since their stabs are emitted at the top of the function.
Parameters can appear before or after the function body depending on what
particular port you are using.
> However, GCC emits two stabs for each parameter --- one for the
> DECL_INCOMING_RTL, and then one for the real RTL. (This is the "two
> stabs for one argument" behavior we discussed before.)
I'm not sure this is entirely correct. Particularly for parameters which
are passed in registers.
jeff