Bad line number debug info on alpha-dec-osf

Jeffrey A Law law@upchuck.cygnus.com
Sat Mar 27 20:55:00 GMT 1999


  In message < 9903251108.AA23379@dune.gia.rwth-aachen.de >you write:
  > 
  > Hello,
  > 
  > egcs-1.1.x does generate questionable line number
  > information on `alpha-dec-osf' as follows, e.g.:
  > 
  > f__Fv:                          # entry of f()
  > 	.frame ...
  > 	.mask ...
  > 	ldgp $29,0($27)         # set up GOT pointer
  > $f__Fv..ng:                     # entry of f() `gp' set up
  > $LM1:
  > 	 #.stabn 68,0,63,$LM1   # BAD STAB
  > 
  > Actually the line number stab should appear
  > _before_ the `ldgp ...'. Otherwise it makes
  > debugging egcs-generated code by gdb almost
  > impossible!
  >   As far as I remember the egcs sources correctly
  > the functions `finish_start_function()' and
  > `alpha_start_function()' should be modified to
  > make the stab appear correctly.
  > 
  > Now my questions are:
  > 
  > 1) Who is the maintainer of the alpha-dec-osf specific
  >    code of egcs.
rth.

  > 2) Is he or anyone else willing to fix the problem?
Probably.  Providing a complete testcase will greatly increase the chances of
getting this bug fixed.

jeff


More information about the Gcc-bugs mailing list