From: Michael Snyder Date: Mon, 21 Oct 1996 21:11:31 +0000 (+0000) Subject: * top.c: Add new commands "set annotate" and "show annotate". X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=62dd860e256cbe4e8bb2822fa2d2e9eebcc0dc59;p=binutils-gdb.git * top.c: Add new commands "set annotate" and "show annotate". PR 8511 --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f0ce5581bd7..2c8c52f27fb 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +Mon Oct 21 14:01:38 1996 Michael Snyder + + * top.c: Add new commands "set annotate" and "show annotate". + Sun Oct 20 04:38:39 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) * corelow.c (core_close): Clear inferior_pid only if there is diff --git a/gdb/top.c b/gdb/top.c index ed196bc2736..2e1098c7f68 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); }