summaryrefslogtreecommitdiff
path: root/gdb/NEWS
diff options
context:
space:
mode:
authorDon Howard <dhoward@redhat.com>2002-04-12 22:31:23 +0000
committerDon Howard <dhoward@redhat.com>2002-04-12 22:31:23 +0000
commit707c1559747c271c1f1d67c5192b5efc3a402ae4 (patch)
tree278f81cb73bdd7107ae81bd45bb77b213bc867ca /gdb/NEWS
parent75135ba3b2e3f37858c7be844855ef809e7d3b90 (diff)
downloadgdb-707c1559747c271c1f1d67c5192b5efc3a402ae4.tar.gz
2002-04-12 Don Howard <dhoward@redhat.com>
* cli/cli-cmds.c (init_cli_cmds): Add new user settable value: max_user_call_depth. (init_cmd_lists): Initialize the new value; * cli/cli-script.c (execute_user_command): Limit the call depth of user defined commands. This avoids a core-dump when user commands are infinitly recursive.
Diffstat (limited to 'gdb/NEWS')
-rw-r--r--gdb/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/NEWS b/gdb/NEWS
index 23777175fef..65621ff6fa4 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -3,6 +3,11 @@
*** Changes since GDB 5.2:
+* New command "set max-user-call-depth <nnn>"
+
+This command allows the user to limit the call depth of user-defined
+commands. The default is 1024.
+
* Changes in FreeBSD/i386 native debugging.
Support for the "generate-core-file" has been added.