On Fri, 10 Oct 2003, Adam Thomason wrote:

> Here's the beginning of support for debugging the JIT core with the
> native compiler on AIX.  This patch implements a replacement for
> jit_debug.c that emits XCOFF-compatible stabs in order to placate the
> AIX assembler.  It's not quite ready for merging; I'm posting it in the
> hope that somebody might have some insights on how to make the debugger
> cooperate.  I'm fairly certain I'm assembling the stabs object correctly
> since they all show up in the symbol table of the assembled object, but
> at the moment gdb seems unwilling to import those symbols using
> add-symbol-file (i.e., it won't let me step into jit_func).  On the
> other hand, GNU 'objdump -g' doesn't see them either, so the XCOFF stabs
> support in the GNU tools may just be lacking, in which case I'll have to
> fall back to the native debugger.  If anybody could offer suggestions on
> how to make gdb or dbx behave (or any other advice on PPC JIT
> debugging), I'd be very appreciative.

I'm applying this -- I'm assuming that it'll get more attention if more
people can get at it, and it doesn't seem to affect the current JIT. (Hard
to say, as it's crashing on me, but we'll see on the next tinder run :)

                                        Dan

Reply via email to