aboutsummaryrefslogtreecommitdiff
path: root/gdb/infrun.c
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2009-08-21 18:54:44 +0000
committerDoug Evans <dje@google.com>2009-08-21 18:54:44 +0000
commit0756c555b50ddcf995a00701cb6897efd3cc2f90 (patch)
treee7924433a53350c5728f901f2c3fdd09c79f5cd4 /gdb/infrun.c
parent3db741efb7056cc5720fce6303962042d2da3ec9 (diff)
downloadgdb-0756c555b50ddcf995a00701cb6897efd3cc2f90.zip
gdb-0756c555b50ddcf995a00701cb6897efd3cc2f90.tar.gz
gdb-0756c555b50ddcf995a00701cb6897efd3cc2f90.tar.bz2
* jit.c (jit_read_descriptor): New arg gdbarch, all callers updated.
(jit_read_code_entry, jit_register_code): Ditto. (jit_event_handler): Ditto. (jit_inferior_init): Renamed from previous jit_inferior_created_hook. (jit_inferior_created_hook, jit_breakpoint_re_set): New functions. (jit_inferior_created_observer): Renamed from jit_inferior_created_hook1, all callers updated. * jit.h (jit_breakpoint_re_set): Declare. (jit_event_handler): Update prototype. * breakpoint.c (breakpoint_re_set): Call jit_breakpoint_re_set instead of jit_inferior_created_hook.
Diffstat (limited to 'gdb/infrun.c')
-rw-r--r--gdb/infrun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c
index 892e0d4..c907635 100644
--- a/gdb/infrun.c
+++ b/gdb/infrun.c
@@ -3550,7 +3550,7 @@ infrun: BPSTAT_WHAT_SET_LONGJMP_RESUME (!gdbarch_get_longjmp_target)\n");
/* Switch terminal for any messages produced by breakpoint_re_set. */
target_terminal_ours_for_output ();
- jit_event_handler ();
+ jit_event_handler (gdbarch);
target_terminal_inferior ();