Fix JIT clang-lli regression (unable to read JIT descriptor from memory)
authorJoel Brobecker <brobecker@gnat.com>
Wed, 6 Jul 2011 21:40:17 +0000 (21:40 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Wed, 6 Jul 2011 21:40:17 +0000 (21:40 +0000)
commit3b2a0cf216646598c8d76c098f1734c9bb5604c7
treee796196f5993690064cf901ef1305cbb15e099c6
parent8f7c81e876e2ad9bc051681dba536919c8851f9d
Fix JIT clang-lli regression (unable to read JIT descriptor from memory)

2011-07-06  Paul Pluzhnikov  <ppluzhnikov@google.com>

        * jit.c (jit_inferior_init): Forward declare.
        (jit_breakpoint_re_set_internal): Call jit_inferior_init.

testsuite/ChangeLog:

2011-07-06  Paul Pluzhnikov  <ppluzhnikov@google.com>

        * gdb.base/jit-so.exp: New test.
        * gdb.base/jit-dlmain.c: New file.
        * gdb.base/jit-main.c: Allow "main" to be elsewhere.
gdb/ChangeLog
gdb/jit.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/jit-dlmain.c [new file with mode: 0644]
gdb/testsuite/gdb.base/jit-main.c
gdb/testsuite/gdb.base/jit-so.exp [new file with mode: 0644]