aboutsummaryrefslogtreecommitdiff
path: root/gdb/top.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2005-02-18 18:58:56 +0000
committerAndrew Cagney <cagney@redhat.com>2005-02-18 18:58:56 +0000
commit85c078043bd43ef5cb76191a6d3e2159da0c302e (patch)
treeaef38e888b43e7d9b0213072ba24fed730662da7 /gdb/top.c
parent904c75ac4f1f245639601fa4f62fe95579ad6b59 (diff)
downloadgdb-85c078043bd43ef5cb76191a6d3e2159da0c302e.zip
gdb-85c078043bd43ef5cb76191a6d3e2159da0c302e.tar.gz
gdb-85c078043bd43ef5cb76191a6d3e2159da0c302e.tar.bz2
2005-02-18 Andrew Cagney <cagney@gnu.org>
Use add_setshow_zinteger_cmd through out. Re-sync gdbarch.sh and gdbarch.c. * breakpoint.c, frame.c, gdb-events.sh, gdbarch.sh: Update. * gdbtypes.c, infrun.c, linux-nat.c, maint.c, monitor.c: Update. * pa64solib.c, parse.c, remote-mips.c, ser-go32.c: Update. * serial.c, solib-frv.c, somsolib.c, target.c, top.c: Update. * varobj.c, cli/cli-cmds.c: Update. * gdbarch.c, gdb-events.c: Regenerate.
Diffstat (limited to 'gdb/top.c')
-rw-r--r--gdb/top.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/gdb/top.c b/gdb/top.c
index 13250a1..4ef6b55 100644
--- a/gdb/top.c
+++ b/gdb/top.c
@@ -1425,13 +1425,14 @@ Show whether to confirm potentially dangerous operations."), NULL,
NULL, /* FIXME: i18n: */
&setlist, &showlist);
- c = add_set_cmd ("annotate", class_obscure, var_zinteger,
- (char *) &annotation_level, "Set annotation_level.\n\
+ add_setshow_zinteger_cmd ("annotate", class_obscure, &annotation_level, _("\
+Set annotation_level."), _("\
+Show annotation_level."), _("\
0 == normal; 1 == fullname (for use when running under emacs)\n\
-2 == output annotated suitably for use by programs that control GDB.",
- &setlist);
- deprecated_add_show_from_set (c, &showlist);
- set_cmd_sfunc (c, set_async_annotation_level);
+2 == output annotated suitably for use by programs that control GDB."),
+ set_async_annotation_level,
+ NULL, /* FIXME: i18n: */
+ &setlist, &showlist);
add_setshow_boolean_cmd ("exec-done-display", class_support,
&exec_done_display_p, _("\