aboutsummaryrefslogtreecommitdiff
path: root/gdb/infrun.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/infrun.c')
-rw-r--r--gdb/infrun.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c
index a051ec1..339acf8 100644
--- a/gdb/infrun.c
+++ b/gdb/infrun.c
@@ -3784,6 +3784,9 @@ _initialize_infrun ()
build_infrun ();
+ register_gdbarch_swap (&stop_registers, sizeof (stop_registers), NULL);
+ register_gdbarch_swap (NULL, 0, build_infrun);
+
add_info ("signals", signals_info,
"What debugger does when program gets various signals.\n\
Specify a signal as argument to print info on that signal only.");