aboutsummaryrefslogtreecommitdiff
path: root/gdb/NEWS
diff options
context:
space:
mode:
authorAndrew Burgess <aburgess@redhat.com>2023-01-18 10:17:57 +0000
committerAndrew Burgess <aburgess@redhat.com>2024-03-25 17:25:07 +0000
commitfe67b24240d7a679904c5bef3a7e911a09ea7739 (patch)
tree7301f3990b22237c0e1672e714d4b3e4f037a241 /gdb/NEWS
parent29f7ef927ad1ead740c7f4e3ae1375bff7e9a7e4 (diff)
downloadgdb-fe67b24240d7a679904c5bef3a7e911a09ea7739.zip
gdb-fe67b24240d7a679904c5bef3a7e911a09ea7739.tar.gz
gdb-fe67b24240d7a679904c5bef3a7e911a09ea7739.tar.bz2
gdb: introduce unwind-on-timeout setting
Now that inferior function calls can timeout (see the recent introduction of direct-call-timeout and indirect-call-timeout), this commit adds a new setting unwind-on-timeout. This new setting is just like the existing unwindonsignal and unwind-on-terminating-exception, but the new setting will cause GDB to unwind the stack if an inferior function call times out. The existing inferior function call timeout tests have been updated to cover the new setting. Reviewed-By: Eli Zaretskii <eliz@gnu.org> Tested-By: Luis Machado <luis.machado@arm.com> Tested-By: Keith Seitz <keiths@redhat.com>
Diffstat (limited to 'gdb/NEWS')
-rw-r--r--gdb/NEWS9
1 files changed, 9 insertions, 0 deletions
diff --git a/gdb/NEWS b/gdb/NEWS
index a41a72b..72ec979 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -72,6 +72,15 @@ show indirect-call-timeout
ignored, GDB will wait indefinitely for an inferior function to
complete, unless interrupted by the user using Ctrl-C.
+set unwind-on-timeout on|off
+show unwind-on-timeout
+ These commands control whether GDB should unwind the stack when a
+ timeout occurs during an inferior function call. The default is
+ off, in which case the inferior will remain in the frame where the
+ timeout occurred. When on, GDB will unwind the stack removing the
+ dummy frame that was added for the inferior call, and restoring the
+ inferior state to how it was before the inferior call started.
+
* New features in the GDB remote stub, GDBserver
** The --remote-debug and --event-loop-debug command line options