Re: [PATCH] tests: Try to use coredumpctl to extract core files.

2017-12-28 Thread Mark Wielaard
On Sun, Dec 24, 2017 at 04:10:45PM +0100, Mark Wielaard wrote: > On Sat, Dec 23, 2017 at 11:31:42PM +0100, Mark Wielaard wrote: > > If systemd-coredump is installed we have to use coredumpctl to extract > > the core file to test. Unfortunately systemd-coredump/coredumpctl seem > > to be somewhat fr

[COMMITTED] readelf: Format offset as DIE index (hex).

2017-12-28 Thread Mark Wielaard
That makes it so much easier to find the actual DIE offset in the output. Signed-off-by: Mark Wielaard --- src/ChangeLog | 5 + src/readelf.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 994b1e17..9d6ec830 100644 --- a/src/Chang

[COMMITTED] libdw: Check there is .debug_info/types section data in __libdw_offdie.

2017-12-28 Thread Mark Wielaard
If a Dwarf_Die was requested from an offset into a section data that didn't exist we would crash. Crashing is bad even if given bad input. Just return an error in that case. Signed-off-by: Mark Wielaard --- libdw/ChangeLog | 4 libdw/dwarf_offdie.c | 4 ++-- 2 files changed, 6 insertio