This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: New Python/Guile Unwinder API wiki page
- From: Andrew Dinn <adinn at redhat dot com>
- To: Pedro Alves <palves at redhat dot com>, gdb at sourceware dot org
- Date: Wed, 13 Apr 2016 16:41:40 +0100
- Subject: Re: New Python/Guile Unwinder API wiki page
- Authentication-results: sourceware.org; auth=none
- References: <57079D11 dot 3000305 at redhat dot com> <5707AC7C dot 6010309 at redhat dot com> <5707B591 dot 3050802 at redhat dot com>
Hi Pedro,
On 08/04/16 14:43, Pedro Alves wrote:
>> As soon as I can I get my current code into a public repo I'll link it
>> to the page above.
>
> Wonderful!
The (mercurial) repo containing the latest OpenJDK unwinder code is now
linked from the Wiki page at
https://sourceware.org/gdb/wiki/UnwinderAPI
Click on OpenJDK and it should take you to
http://icedtea.classpath.org/people/adinn/unwinder
The repo contains a README explaining how to install the unwinder into
either a product release OpenJDK or a home-brewed debug build. I'll be
updating the code over the next week
i) to explicitly use python longs rather than ints for register values
(yes, my python really is so ropy that I thought an int /was/ a long)
ii) to try to compute and display line numbers for addresses in
JIT-compiled methods
However, despite the above omissions it still seems to be quite useable.
regards,
Andrew Dinn
-----------
Senior Principal Software Engineer
Red Hat UK Ltd
Registered in UK and Wales under Company Registration No. 3798903
Directors: Michael Cunningham (US), Michael O'Neill (Ireland), Paul
Argiry (US)