diff options
author | Andrew Cagney <cagney@redhat.com> | 2005-02-18 18:58:56 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2005-02-18 18:58:56 +0000 |
commit | 85c078043bd43ef5cb76191a6d3e2159da0c302e (patch) | |
tree | aef38e888b43e7d9b0213072ba24fed730662da7 /gdb/gdb-events.c | |
parent | 904c75ac4f1f245639601fa4f62fe95579ad6b59 (diff) | |
download | gdb-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/gdb-events.c')
-rw-r--r-- | gdb/gdb-events.c | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/gdb/gdb-events.c b/gdb/gdb-events.c index 5bd5255..a321122 100644 --- a/gdb/gdb-events.c +++ b/gdb/gdb-events.c @@ -1,6 +1,7 @@ /* User Interface Events. - Copyright 1999, 2001, 2002, 2004 Free Software Foundation, Inc. + Copyright 1999, 2001, 2002, 2004, 2005 Free Software Foundation, + Inc. Contributed by Cygnus Solutions. @@ -331,11 +332,12 @@ _initialize_gdb_events (void) queue_event_hooks.tracepoint_modify = queue_tracepoint_modify; queue_event_hooks.architecture_changed = queue_architecture_changed; - deprecated_add_show_from_set (add_set_cmd ("event", - class_maintenance, - var_zinteger, - (char *) (&gdb_events_debug), - "Set event debugging.\n\ -When non-zero, event/notify debugging is enabled.", &setdebuglist), - &showdebuglist); + add_setshow_zinteger_cmd ("event", class_maintenance, + &gdb_events_debug, _("\ +Set event debugging."), _("\ +Show event debugging."), _("\ +When non-zero, event/notify debugging is enabled."), + NULL, + NULL, /* FIXME: i18n: */ + &setdebuglist, &showdebuglist); } |