[Bug tools/22250] readelf should support --dwarf-start and --dwarf-depth

2017-10-05 Thread tromey at sourceware dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=22250 --- Comment #4 from Tom Tromey --- (In reply to Mark Wielaard from comment #1) > Which properties of the above are important to you? > Is the given selection mechanism of which DIEs to print the most convenient? > Is it important to suppress

[Bug tools/22250] readelf should support --dwarf-start and --dwarf-depth

2017-10-05 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=22250 --- Comment #3 from Mark Wielaard --- Another addition "depth" starts counting from zero. Zero usually is the first DIE (compilation_unit or partial_unit). Specifying --dwarf-depth=0 will only print the Compilation Unit headers, followed by a

[Bug tools/22250] readelf should support --dwarf-start and --dwarf-depth

2017-10-05 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=22250 --- Comment #2 from Mark Wielaard --- Addition. "the special value 0 for n" also restores printing the CU headers. -- You are receiving this mail because: You are on the CC list for the bug.

[Bug tools/22250] readelf should support --dwarf-start and --dwarf-depth

2017-10-05 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=22250 Mark Wielaard changed: What|Removed |Added CC||mark at klomp dot org --- Comment #1

Re: missing #include in libdw.h?

2017-10-05 Thread Mark Wielaard
On Wed, 2017-10-04 at 19:07 +, Bill Williams wrote: > Works for me. This showed up on my desk from a broken configuration, > but I figured I’d best pass it upstream too. :) Thanks. I pushed this to master.