aboutsummaryrefslogtreecommitdiff
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
commit0756c555b50ddcf995a00701cb6897efd3cc2f90 (patch)
treee7924433a53350c5728f901f2c3fdd09c79f5cd4 /gdb/jit.h
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/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 6473d25..fb0a109 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 */