# New Ticket Created by "Adam Thomason" # Please include the string: [perl #24185] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt2/Ticket/Display.html?id=24185 >
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. -- Adam Thomason [EMAIL PROTECTED] -- attachment 1 ------------------------------------------------------ url: http://rt.perl.org/rt2/attach/65929/49246/f71d14/jit.patch
jit.patch
Description: jit.patch