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/gdbarch.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/gdbarch.c')
-rw-r--r-- | gdb/gdbarch.c | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/gdb/gdbarch.c b/gdb/gdbarch.c index 5b2f9a2..480077f 100644 --- a/gdb/gdbarch.c +++ b/gdb/gdbarch.c @@ -3965,7 +3965,7 @@ gdbarch_register (enum bfd_architecture bfd_architecture, if (bfd_arch_info == NULL) { internal_error (__FILE__, __LINE__, - "gdbarch: Attempt to register unknown architecture (%d)", + _("gdbarch: Attempt to register unknown architecture (%d)"), bfd_architecture); } /* Check that we haven't seen this architecture before */ @@ -3975,7 +3975,7 @@ gdbarch_register (enum bfd_architecture bfd_architecture, { if (bfd_architecture == (*curr)->bfd_architecture) internal_error (__FILE__, __LINE__, - "gdbarch: Duplicate registraration of architecture (%s)", + _("gdbarch: Duplicate registraration of architecture (%s)"), bfd_arch_info->printable_name); } /* log it */ @@ -4199,12 +4199,11 @@ _initialize_gdbarch (void) { struct cmd_list_element *c; - deprecated_add_show_from_set - (add_set_cmd ("arch", - class_maintenance, - var_zinteger, - (char *)&gdbarch_debug, - "Set architecture debugging.\n\ -When non-zero, architecture debugging is enabled.", &setdebuglist), - &showdebuglist); + add_setshow_zinteger_cmd ("arch", class_maintenance, &gdbarch_debug, _("\ +Set architecture debugging."), _("\ +Show architecture debugging."), _("\ +When non-zero, architecture debugging is enabled."), + NULL, + NULL, /* FIXME: i18n: */ + &setdebuglist, &showdebuglist); } |