From 4cec0c66899aed1eff0c5ef844e9bf658ab2b2af Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Tue, 21 Jul 2020 17:28:16 -0700 Subject: 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. --- gdb/gdbarch.h | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'gdb/gdbarch.h') 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. */ -- cgit v1.1