diff options
author | Andrew Cagney <cagney@redhat.com> | 2005-02-15 15:49:28 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2005-02-15 15:49:28 +0000 |
commit | 1bedd215175652ad3e82d2fb731f1d62dd44acf8 (patch) | |
tree | 09ea0800a74e846c01f195cc7de13c5df107c697 /gdb/infrun.c | |
parent | 724f452bdd25d4fd3eb3e361043276dcbde6d85c (diff) | |
download | gdb-1bedd215175652ad3e82d2fb731f1d62dd44acf8.zip gdb-1bedd215175652ad3e82d2fb731f1d62dd44acf8.tar.gz gdb-1bedd215175652ad3e82d2fb731f1d62dd44acf8.tar.bz2 |
2005-02-15 Andrew Cagney <cagney@gnu.org>
Mark up add_com, add_info and add_prefix_cmd.
* breakpoint.c, cp-support.c, dcache.c, dwarf2read.c: Update.
* exec.c, f-valprint.c, frame.c, gcore.c, gnu-nat.c: Update.
* go32-nat.c, infcmd.c, inflow.c, infptrace.c, infrun.c: Update.
* kod.c, language.c, linux-nat.c, m32r-rom.c, macrocmd.c: Update.
* maint.c, memattr.c, mips-tdep.c, nto-procfs.c, objc-lang.c: Update.
* ocd.c, pa64solib.c, printcmd.c, procfs.c, regcache.c: Update.
* remote-e7000.c, remote-m32r-sdi.c, remote-mips.c: Update.
* remote-sds.c, remote-sim.c, remote-st.c, remote-utils.c: Update.
* remote.c, rs6000-tdep.c, ser-go32.c, serial.c: Update.
* sh-tdep.c, solib.c, somsolib.c, source.c, stack.c: Update.
* symfile.c, symtab.c, target.c, thread.c, top.c: Update.
* tracepoint.c, typeprint.c, utils.c, valprint.c: Update.
* win32-nat.c, xcoffsolib.c, cli/cli-cmds.c, cli/cli-dump.c: Update.
* cli/cli-logging.c, tui/tui-layout.c, tui/tui-regs.c: Update.
* tui/tui-stack.c, tui/tui-win.c: Update.
Diffstat (limited to 'gdb/infrun.c')
-rw-r--r-- | gdb/infrun.c | 30 |
1 files changed, 16 insertions, 14 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c index 5e05327..7f3eeab 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -3790,45 +3790,47 @@ _initialize_infrun (void) DEPRECATED_REGISTER_GDBARCH_SWAP (stop_registers); deprecated_register_gdbarch_swap (NULL, 0, build_infrun); - add_info ("signals", signals_info, - "What debugger does when program gets various signals.\n\ -Specify a signal as argument to print info on that signal only."); + add_info ("signals", signals_info, _("\ +What debugger does when program gets various signals.\n\ +Specify a signal as argument to print info on that signal only.")); add_info_alias ("handle", "signals", 0); - add_com ("handle", class_run, handle_command, - concat ("Specify how to handle a signal.\n\ + add_com ("handle", class_run, handle_command, _("\ +Specify how to handle a signal.\n\ Args are signals and actions to apply to those signals.\n\ Symbolic signals (e.g. SIGSEGV) are recommended but numeric signals\n\ from 1-15 are allowed for compatibility with old versions of GDB.\n\ Numeric ranges may be specified with the form LOW-HIGH (e.g. 1-5).\n\ The special arg \"all\" is recognized to mean all signals except those\n\ -used by the debugger, typically SIGTRAP and SIGINT.\n", "Recognized actions include \"stop\", \"nostop\", \"print\", \"noprint\",\n\ +used by the debugger, typically SIGTRAP and SIGINT.\n\ +Recognized actions include \"stop\", \"nostop\", \"print\", \"noprint\",\n\ \"pass\", \"nopass\", \"ignore\", or \"noignore\".\n\ Stop means reenter debugger if this signal happens (implies print).\n\ Print means print a message if this signal happens.\n\ Pass means let program see this signal; otherwise program doesn't know.\n\ Ignore is a synonym for nopass and noignore is a synonym for pass.\n\ -Pass and Stop may be combined.", NULL)); +Pass and Stop may be combined.")); if (xdb_commands) { - add_com ("lz", class_info, signals_info, - "What debugger does when program gets various signals.\n\ -Specify a signal as argument to print info on that signal only."); - add_com ("z", class_run, xdb_handle_command, - concat ("Specify how to handle a signal.\n\ + add_com ("lz", class_info, signals_info, _("\ +What debugger does when program gets various signals.\n\ +Specify a signal as argument to print info on that signal only.")); + add_com ("z", class_run, xdb_handle_command, _("\ +Specify how to handle a signal.\n\ Args are signals and actions to apply to those signals.\n\ Symbolic signals (e.g. SIGSEGV) are recommended but numeric signals\n\ from 1-15 are allowed for compatibility with old versions of GDB.\n\ Numeric ranges may be specified with the form LOW-HIGH (e.g. 1-5).\n\ The special arg \"all\" is recognized to mean all signals except those\n\ -used by the debugger, typically SIGTRAP and SIGINT.\n", "Recognized actions include \"s\" (toggles between stop and nostop), \n\ +used by the debugger, typically SIGTRAP and SIGINT.\n\ +Recognized actions include \"s\" (toggles between stop and nostop), \n\ \"r\" (toggles between print and noprint), \"i\" (toggles between pass and \ nopass), \"Q\" (noprint)\n\ Stop means reenter debugger if this signal happens (implies print).\n\ Print means print a message if this signal happens.\n\ Pass means let program see this signal; otherwise program doesn't know.\n\ Ignore is a synonym for nopass and noignore is a synonym for pass.\n\ -Pass and Stop may be combined.", NULL)); +Pass and Stop may be combined.")); } if (!dbx_commands) |