Add explicit test in get-units-invalid for dwarf_cuoffset and
dwarf_dieoffset.
Signed-off-by: Mark Wielaard
---
libdw/ChangeLog | 4
libdw/dwarf_dieoffset.c | 2 +-
tests/ChangeLog | 5 +
tests/get-units-invalid.c | 14 +-
4 files changed, 23 inserti
Test that the low high pc attributes can be properly resolved also
in split dwarf setups.
Signed-off-by: Mark Wielaard
---
tests/ChangeLog | 9 +
tests/low_high_pc.c | 28 ++--
tests/run-low_high_pc.sh | 15 +++
3 files changed, 46 inser
On Tue, 2018-05-29 at 09:57 +0200, Mark Wielaard wrote:
> Commit 314e9d7d "readelf: Handle .debug_info first if any other debug
> section needs it" introduced a regression when handling multiple files.
> The implicit and explicit printing of debuginfo weren't reset and so
> the second file would no
Introduce testrun_on_self_exe and testrun_on_self_lib.
Some tests cannot handle (unrelocated) ET_REL object files.
run-get-units-split.sh and run-unit-info.sh only handle executables
and shared libraries. This allows running the whole testsuite on an
elfutils build done with CFLAGS="-gdwarf-4 -gspl
On Tue, 2018-05-29 at 12:08 +0200, Mark Wielaard wrote:
> GNU DebugFission .debug_loc location lists uses the .debug_loc section
> in the split dwarf .dwo file. The encoding is a mix of old style DWARF
> .debug_loc and new style .debug_loclists.
Pushed to master.
On Wed, 2018-05-30 at 00:11 +0200, Mark Wielaard wrote:
> On Tue, 2018-05-29 at 23:57 +0200, Mark Wielaard wrote:
> > dwarf_die_addr_die can be used to turn an Dwarf_Die addr back into a
> > full Dwarf_Die, just given the original Dwarf debug handle. This now
> > also works for Dwarf_Dies which ori
On Thu, May 31, 2018 at 01:02:44PM +0200, Mark Wielaard wrote:
> Add explicit test in get-units-invalid for dwarf_cuoffset and
> dwarf_dieoffset.
And that test caught another bug on 32bit systems!
> Dwarf_Off
> dwarf_dieoffset (Dwarf_Die *die)
> {
> - return (die == NULL
> + return ((die ==
https://sourceware.org/bugzilla/show_bug.cgi?id=23247
Mark Wielaard changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
On Wed, May 30, 2018 at 12:04:48PM +0200, Mark Wielaard wrote:
> We were using loclistsptr instead of locsptr in print_debug_loc_section.
>
> https://sourceware.org/bugzilla/show_bug.cgi?id=23247
Pushed to master.
https://sourceware.org/bugzilla/show_bug.cgi?id=23248
Mark Wielaard changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
On Wed, May 30, 2018 at 03:54:52PM +0200, Mark Wielaard wrote:
> ndirs is read from the debug data and should be size checked before use.
>
> https://sourceware.org/bugzilla/show_bug.cgi?id=23248
Pushed to master.
Normal and split dwarf from GNU DebugFission look the same, but should
be treated competely separtely. When having a file with both skeletons
and real compile units only note the secoffsets into the real .debug_loc
in readelf. Otherwise or known_locslistptr will get confused.
Add a testfile that c
Commit 314e9d7d "readelf: Handle .debug_info first if any other debug
section needs it" disabled section_info printing if it was already
handled. But section_types was an alias for section_info. So unless
section_info was explicitly printed, .debug_types wasn't.
Make section_types its own thing to
13 matches
Mail list logo