2011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
authorPaul Pluzhnikov <ppluzhnikov@google.com>
Mon, 31 Jan 2011 21:43:12 +0000 (21:43 +0000)
committerPaul Pluzhnikov <ppluzhnikov@google.com>
Mon, 31 Jan 2011 21:43:12 +0000 (21:43 +0000)
commitc52b559d6695dbd10952b9a52bea38cf94d4e528
tree30c0663c7a8c4aa7b5e4184acdedd2c4d5543c46
parent03673fc718da1de456b9d3f3fd50e36054bf4b1e
2011-01-31  Paul Pluzhnikov  <ppluzhnikov@google.com>

* breakpoint.h (remove_jit_event_breakpoints): New prototype.
* breakpoint.c (remove_jit_event_breakpoints): New function.
* jit.c (jit_descriptor_addr): Delete.
(registering_code): Delete.
(clear_int): Delete.
(jit_inferior_data): New variable.
(struct jit_inferior_data): New type.
(get_jit_inferior_data): New function.
(jit_inferior_data_cleanup): New function.
(jit_read_descriptor): Adjust.
(jit_register_code): Adjust.
(jit_breakpoint_re_set_internal): New function; move code here ...
(jit_inferior_init): ... from here.
(jit_breakpoint_re_set): Adjust.
(jit_reset_inferior_data_and_breakpoints): New function.
(jit_inferior_created_observer): Adjust.
(jit_inferior_exit_hook): Adjust.
(jit_executable_changed_observer): New function.
(jit_event_handler): Adjust.
(_initialize_jit): Adjust.
gdb/ChangeLog