History log of /openbsd-current/sys/ddb/db_dwarf.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.7 27-Oct-2017 mpi

Use <elf.h> in !_KERNEL code path.


Revision tags: OPENBSD_6_2_BASE
# 1.6 08-Sep-2017 deraadt

If you use sys/param.h, you don't need sys/types.h


Revision tags: OPENBSD_6_0_BASE OPENBSD_6_1_BASE
# 1.5 20-Apr-2016 mpi

Collapse db_dwarf.h into db_sym.h

ok matthew@


# 1.4 07-Mar-2016 naddy

Sync no-argument function declaration and definition by adding (void).
ok mpi@ millert@


Revision tags: OPENBSD_5_9_BASE
# 1.3 25-Jan-2016 mpi

Kill trailing whitespaces. No object change.


Revision tags: OPENBSD_5_8_BASE
# 1.2 07-Jul-2015 matthew

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


Revision tags: OPENBSD_5_6_BASE OPENBSD_5_7_BASE
# 1.1 11-Jul-2014 matthew

Add basic DWARF line table decoder

Includes a stand-alone addr2line clone for userspace testing.

Tested extensively on amd64 and expected to eventually support other
architectures too. Importing now so further development/testing can
happen in-tree. Followup commits will add to the kernel build and
integrate into ddb.

positive feedback; no objections