aboutsummaryrefslogtreecommitdiff
path: root/gdb/top.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>1996-10-21 21:11:31 +0000
committerMichael Snyder <msnyder@vmware.com>1996-10-21 21:11:31 +0000
commit62dd860e256cbe4e8bb2822fa2d2e9eebcc0dc59 (patch)
treeef3f5e4cc80fcf8c5c46d0f0619a98c252bbb6cf /gdb/top.c
parent9c52f4b2f7188a5a55a9a08d52e94a79790d5edc (diff)
downloadgdb-62dd860e256cbe4e8bb2822fa2d2e9eebcc0dc59.zip
gdb-62dd860e256cbe4e8bb2822fa2d2e9eebcc0dc59.tar.gz
gdb-62dd860e256cbe4e8bb2822fa2d2e9eebcc0dc59.tar.bz2
* top.c: Add new commands "set annotate" and "show annotate".
PR 8511
Diffstat (limited to 'gdb/top.c')
-rw-r--r--gdb/top.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/top.c b/gdb/top.c
index ed196bc..2e1098c 100644
--- a/gdb/top.c
+++ b/gdb/top.c
@@ -3636,4 +3636,11 @@ is displayed.", &setlist),
This value is used to set the time limit for gdb to wait for a response\n\
from he target.", &setlist),
&showlist);
+
+ c = add_set_cmd ("annotate", class_obscure, var_zinteger,
+ (char *)&annotation_level, "Set annotation_level.\n\
+0 == normal; 1 == fullname (for use when running under emacs)\n\
+2 == output annotated suitably for use by programs that control GDB.",
+ &setlist);
+ c = add_show_from_set (c, &showlist);
}