On Mon, 2013-09-02 at 20:59 +0200, Jan Kratochvil wrote:
On Fri, 23 Aug 2013 16:12:37 +0200, Mark Wielaard wrote:
> Using dwarf_getlocation it is possible to get single location
> descriptions and with dwarf_getlocation_addr it is possible to
> get a location list covering a specific address. But sometimes
> it is more convenient to get all ranges covered by a location
Just I find that with dwarf_getlocations in place one could rebase
dwarf_getlocation on top of it.
Good point, assuming you meant dwarf_getlocation_addr, that removes some
duplicate code. Revised patch attached.