summaryrefslogtreecommitdiff
path: root/gdb/jit.h
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
commitd11b2c1424dbf9257fa5017950e1b104a3074bd3 (patch)
tree3f41a5ae9db40a9480d29da0d1857e7aa31b6b7f /gdb/jit.h
parentb13ad1061a37f7414723f9f253bc3682b6cb6622 (diff)
downloadgdb-d11b2c1424dbf9257fa5017950e1b104a3074bd3.tar.gz
* 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/jit.h')
-rw-r--r--gdb/jit.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/gdb/jit.h b/gdb/jit.h
index 6473d257c30..fb0a1095df3 100644
--- a/gdb/jit.h
+++ b/gdb/jit.h
@@ -69,9 +69,13 @@ struct jit_descriptor
extern void jit_inferior_created_hook (void);
+/* Re-establish the jit breakpoint(s). */
+
+extern void jit_breakpoint_re_set (void);
+
/* This function is called by handle_inferior_event when it decides that the JIT
event breakpoint has fired. */
-extern void jit_event_handler (void);
+extern void jit_event_handler (struct gdbarch *gdbarch);
#endif /* JIT_H */