X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Fgdbarch.sh;h=37f59b7b93a39f2d554008a3e461c876ab4888ce;hb=173981bc49c9e8fce9271cb47714952dbe2ec627;hp=61cb04a7194f4db8adcdd98f269011973e48e635;hpb=5f034a78b986d30a90030b2409c61a8660b9b48c;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/gdbarch.sh b/gdb/gdbarch.sh index 61cb04a719..37f59b7b93 100755 --- a/gdb/gdbarch.sh +++ b/gdb/gdbarch.sh @@ -446,6 +446,12 @@ M:int:ax_pseudo_register_collect:struct agent_expr *ax, int reg:ax, reg # Return -1 if something goes wrong, 0 otherwise. M:int:ax_pseudo_register_push_stack:struct agent_expr *ax, int reg:ax, reg +# 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. +M:void:handle_segmentation_fault:struct ui_out *uiout:uiout + # GDB's standard (or well known) register numbers. These can map onto # a real register or a pseudo (computed) register or not be defined at # all (-1). @@ -599,10 +605,6 @@ m:CORE_ADDR:addr_bits_remove:CORE_ADDR addr:addr::core_addr_identity::0 # indicates if the target needs software single step. An ISA method to # implement it. # -# FIXME/cagney/2001-01-18: This should be replaced with something that inserts -# breakpoints using the breakpoint system instead of blatting memory directly -# (as with rs6000). -# # FIXME/cagney/2001-01-18: The logic is backwards. It should be asking if the # target can single step. If not, then implement single step using breakpoints. # @@ -1257,6 +1259,7 @@ struct elf_internal_linux_prpsinfo; struct mem_range; struct syscalls_info; struct thread_info; +struct ui_out; #include "regcache.h"