CVSROOT:        /cvs
Module name:    src
Changes by:     matt...@cvs.openbsd.org 2015/07/07 13:31:02

Modified files:
        sys/ddb        : db_dwarf.c 

Log message:
Return correct file name entry from DWARF line table

We run the DWARF line table program to generate each row of the table
until we find a row after the one we wanted, and then take the
previous row's entries.  The code correctly took the previous row's
line number entry, but incorrectly took the current row's file name
entry.  Notably, this caused DDB to report the wrong file names for
inlined calls to functions defined in header files.

ok mlarkin

Reply via email to