[webkit-dev] [PATCH] JSCore with GDB
fpizlo at apple.com
Wed Dec 28 11:28:09 PST 2011
Can you combine this into a single patch and put it up for review on bugs.webkit.org? Also please do add changelogs... It is our custom to have in the patches we put up for review.
Which platforms is this tested on, btw?
Thanks for your work on this!
On Dec 28, 2011, at 3:38 AM, Sanjoy Das <sanjoy at playingwithpointers.com> wrote:
> The attached patches allow GDB to display full stack traces when
> unwinding through JITted code. To use this, you need gdb 7.4.
> The first step is to build the plugin in Tool/gdb/JSCPlugin using the
> Makefile. The compile flags may need to be adjusted if gdb is
> installed in a non-standard location, since gdb installs jit-reader.h
> which is required to build the plugin.
> JSPlugin.so then needs to be copied to `$(installdir)/lib/gdb', after
> which it can be loaded from within GDB using `jit-reader-load
> JSCPlugin.so'. Once this is done GDB should be able to display
> prettier stack traces when ENABLE_GDB_JIT_INTEGRATION is defined to 1
> in JIT.h.
> I've not included ChangeLog entries since they are a pain to rebase,
> I'll add them once the code has been reviewed.
> Sanjoy Das
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
More information about the webkit-dev