LRS in STABS

Jeffrey A Law law@cygnus.com
Tue Jul 13 15:45:00 GMT 1999


  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



More information about the Gdb mailing list