diff options
author | John Baldwin <jhb@FreeBSD.org> | 2020-07-21 17:28:16 -0700 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2020-07-21 17:28:16 -0700 |
commit | 4cec0c66899aed1eff0c5ef844e9bf658ab2b2af (patch) | |
tree | fb51ce33b1511395c6d3864236e0ba5900f49766 /gdb/gdbarch.h | |
parent | 0e42f66a30d06654b47147e885f35e56211bc3c2 (diff) | |
download | gdb-4cec0c66899aed1eff0c5ef844e9bf658ab2b2af.zip gdb-4cec0c66899aed1eff0c5ef844e9bf658ab2b2af.tar.gz gdb-4cec0c66899aed1eff0c5ef844e9bf658ab2b2af.tar.bz2 |
Retire the now-unused gdbarch handle_segmentation_fault hook.
* gdbarch.c: Regenerate.
* gdbarch.h: Regenerate.
* gdbarch.sh (handle_segmentation_fault): Remove method.
* infrun.c (handle_segmentation_fault): Remove.
(print_signal_received_reason): Remove call to
handle_segmentation_fault.
Diffstat (limited to 'gdb/gdbarch.h')
-rw-r--r-- | gdb/gdbarch.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/gdb/gdbarch.h b/gdb/gdbarch.h index 9414407..6c125d1 100644 --- a/gdb/gdbarch.h +++ b/gdb/gdbarch.h @@ -321,17 +321,6 @@ typedef int (gdbarch_ax_pseudo_register_push_stack_ftype) (struct gdbarch *gdbar extern int gdbarch_ax_pseudo_register_push_stack (struct gdbarch *gdbarch, struct agent_expr *ax, int reg); extern void set_gdbarch_ax_pseudo_register_push_stack (struct gdbarch *gdbarch, gdbarch_ax_pseudo_register_push_stack_ftype *ax_pseudo_register_push_stack); -/* Some targets/architectures can do extra processing/display of - segmentation faults. E.g., Intel MPX boundary faults. - Call the architecture dependent function to handle the fault. - UIOUT is the output stream where the handler will place information. */ - -extern int gdbarch_handle_segmentation_fault_p (struct gdbarch *gdbarch); - -typedef void (gdbarch_handle_segmentation_fault_ftype) (struct gdbarch *gdbarch, struct ui_out *uiout); -extern void gdbarch_handle_segmentation_fault (struct gdbarch *gdbarch, struct ui_out *uiout); -extern void set_gdbarch_handle_segmentation_fault (struct gdbarch *gdbarch, gdbarch_handle_segmentation_fault_ftype *handle_segmentation_fault); - /* Some architectures can display additional information for specific signals. UIOUT is the output stream where the handler will place information. */ |