PATCH to buildsym.c

Stan Shebs shebs@cygnus.com
Wed Dec 1 12:43:00 GMT 1999


   Date: Wed, 1 Dec 1999 09:59:31 -0800
   From: Mark Mitchell <mark@codesourcery.com>

   As discussed over the past few days, GDB misorders
   line-table entries when it sees something like:

     <line 9>
     <line 5>
     <code>

   The appropriate line-number to show when stopped at code is 5, not 9.

   Here's the patch discussed.  May I check this in?

I haven't been following the discussion as closely as I'd like, but
I'm concerned that this change will break some expected behavior.
How do the test results look before and after?  How about with
other than the latest GCC?

								Stan


More information about the Gdb mailing list