OpenBSD CVS

CVS log for src/sys/ddb/db_dwarf.c


[BACK] Up to [local] / src / sys / ddb

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.7 / (download) - annotate - [select for diffs], Fri Oct 27 08:40:15 2017 UTC (6 years, 7 months ago) by mpi
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, HEAD
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

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

Revision 1.6 / (download) - annotate - [select for diffs], Fri Sep 8 05:36:52 2017 UTC (6 years, 9 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_6_2_BASE, OPENBSD_6_2
Changes since 1.5: +1 -2 lines
Diff to previous 1.5 (colored)

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

Revision 1.5 / (download) - annotate - [select for diffs], Wed Apr 20 08:02:59 2016 UTC (8 years, 1 month ago) by mpi
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored)

Collapse db_dwarf.h into db_sym.h

ok matthew@

Revision 1.4 / (download) - annotate - [select for diffs], Mon Mar 7 18:43:59 2016 UTC (8 years, 3 months ago) by naddy
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

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

Revision 1.3 / (download) - annotate - [select for diffs], Mon Jan 25 14:30:30 2016 UTC (8 years, 4 months ago) by mpi
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

Kill trailing whitespaces.  No object change.

Revision 1.2 / (download) - annotate - [select for diffs], Tue Jul 7 19:31:02 2015 UTC (8 years, 11 months ago) by matthew
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

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 1.1 / (download) - annotate - [select for diffs], Fri Jul 11 03:17:20 2014 UTC (9 years, 11 months ago) by matthew
Branch: MAIN
CVS Tags: OPENBSD_5_7_BASE, OPENBSD_5_7, OPENBSD_5_6_BASE, OPENBSD_5_6

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

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.