aboutsummaryrefslogtreecommitdiff
path: root/gdb/cli/cli-cmds.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/cli/cli-cmds.h')
-rw-r--r--gdb/cli/cli-cmds.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/cli/cli-cmds.h b/gdb/cli/cli-cmds.h
index 1a8b9a0..94ae814 100644
--- a/gdb/cli/cli-cmds.h
+++ b/gdb/cli/cli-cmds.h
@@ -101,6 +101,10 @@ extern struct cmd_list_element *setchecklist;
extern struct cmd_list_element *showchecklist;
+/* Limit the call depth of user-defined commands */
+
+extern unsigned int max_user_call_depth;
+
/* Exported to gdb/top.c */
void init_cmd_lists (void);