From 7879fba359f185d674d4e981af4f23a066bfe644 Mon Sep 17 00:00:00 2001 From: Andrew Burgess Date: Wed, 18 Jan 2023 12:09:05 +0000 Subject: gdb: rename unwindonsignal to unwind-on-signal We now have unwind-on-timeout and unwind-on-terminating-exception, and then the odd one out unwindonsignal. I'm not a great fan of these squashed together command names, so in this commit I propose renaming this to unwind-on-signal. Obviously I've added the hidden alias unwindonsignal so any existing GDB scripts will keep working. There's one test that I've extended to test the alias works, but in most of the other test scripts I've changed over to use the new name. The docs are updated to reference the new name. Reviewed-By: Eli Zaretskii Tested-By: Luis Machado Tested-By: Keith Seitz --- gdb/NEWS | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'gdb/NEWS') diff --git a/gdb/NEWS b/gdb/NEWS index 72ec979..feb3a37 100644 --- a/gdb/NEWS +++ b/gdb/NEWS @@ -32,6 +32,10 @@ maintenance info line-table if the line is considered the start of the epilgoue, and thus a point at which the frame can be considered destroyed. +set unwindonsignal on|off +show unwindonsignal + These commands are now aliases for the new set/show unwind-on-signal. + * New commands info missing-debug-handler @@ -81,6 +85,11 @@ show unwind-on-timeout dummy frame that was added for the inferior call, and restoring the inferior state to how it was before the inferior call started. +set unwind-on-signal on|off +show unwind-on-signal + These new commands replaces the existing set/show unwindonsignal. The + old command is maintained as an alias. + * New features in the GDB remote stub, GDBserver ** The --remote-debug and --event-loop-debug command line options -- cgit v1.1