diff options
author | Andrew Cagney <cagney@redhat.com> | 2005-02-11 18:13:55 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2005-02-11 18:13:55 +0000 |
commit | 176a609774ffd6785f28563d281c86ead62825de (patch) | |
tree | 333abe4f4377b5e9e856d4ed897d0869a67a299f /gdb/remote.c | |
parent | 6238dc8f6eb2eadb669472532511443263c62a4e (diff) | |
download | gdb-176a609774ffd6785f28563d281c86ead62825de.tar.gz |
2005-02-11 Andrew Cagney <cagney@gnu.org>
Mark up error_no_arg, query, perror_with_name, complaint, and
internal_error.
* breakpoint.c, cp-abi.c, cp-namespace.c, cp-support.c: Update.
* cris-tdep.c, dbxread.c, dictionary.c, dsrec.c: Update.
* dummy-frame.c, dve3900-rom.c, dwarf2-frame.c, dwarf2expr.c: Update.
* dwarf2read.c, dwarfread.c, elfread.c, event-loop.c: Update.
* exceptions.c, exec.c, f-lang.c, findvar.c, fork-child.c: Update.
* frame-unwind.c, frame.c, frv-linux-tdep.c, frv-tdep.c: Update.
* gdb_assert.h, gdbarch.c, gdbtypes.c, gnu-nat.c: Update.
* go32-nat.c, hppa-tdep.c, hppabsd-nat.c, hpread.c: Update.
* i386-linux-nat.c, i386-nat.c, i386-tdep.c, i386bsd-nat.c: Update.
* i386fbsd-nat.c, inf-ptrace.c, inf-ttrace.c, infcall.c: Update.
* infcmd.c, inflow.c, infptrace.c, infrun.c, inftarg.c: Update.
* interps.c, language.c, linespec.c, linux-nat.c: Update.
* m32r-linux-nat.c, m68k-tdep.c, m68kbsd-nat.c: Update.
* m68klinux-nat.c, m88kbsd-nat.c, macroexp.c, macroscope.c: Update.
* macrotab.c, maint.c, mdebugread.c, memattr.c: Update.
* mips-linux-tdep.c, mips-tdep.c, mips64obsd-nat.c: Update.
* mipsnbsd-nat.c, mn10300-tdep.c, monitor.c, nto-procfs.c: Update.
* objc-lang.c, objfiles.c, objfiles.h, ocd.c, osabi.c: Update.
* parse.c, ppc-bdm.c, ppc-linux-nat.c, ppc-sysv-tdep.c: Update.
* ppcnbsd-nat.c, ppcobsd-nat.c, printcmd.c, procfs.c: Update.
* regcache.c, reggroups.c, remote-e7000.c, remote-mips.c: Update.
* remote-rdp.c, remote-sds.c, remote-sim.c, remote-st.c: Update.
* remote-utils.c, remote.c, rs6000-nat.c, rs6000-tdep.c: Update.
* s390-nat.c, s390-tdep.c, sentinel-frame.c, serial.c: Update.
* sh-tdep.c, sh3-rom.c, sh64-tdep.c, shnbsd-nat.c: Update.
* solib-aix5.c, solib-svr4.c, solib.c, source.c: Update.
* sparc-nat.c, stabsread.c, stack.c, symfile.c, symtab.c: Update.
* symtab.h, target.c, tracepoint.c, ui-file.c, ui-out.c: Update.
* utils.c, valops.c, valprint.c, vax-nat.c, vaxbsd-nat.c: Update.
* win32-nat.c, xcoffread.c, xstormy16-tdep.c: Update.
* cli/cli-cmds.c, cli/cli-logging.c, cli/cli-script.c: Update.
* cli/cli-setshow.c, mi/mi-cmd-break.c, mi/mi-cmds.c: Update.
* mi/mi-console.c, mi/mi-getopt.c, mi/mi-out.c: Update.
* tui/tui-file.c, tui/tui-interp.c: Update.
Diffstat (limited to 'gdb/remote.c')
-rw-r--r-- | gdb/remote.c | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/gdb/remote.c b/gdb/remote.c index f5099ade0c7..e127c4c61d3 100644 --- a/gdb/remote.c +++ b/gdb/remote.c @@ -477,8 +477,8 @@ set_memory_packet_size (char *args, struct memory_packet_config *config) /* Extra checks? */ if (fixed_p && !config->fixed_p) { - if (! query ("The target may not be able to correctly handle a %s\n" - "of %ld bytes. Change the packet size? ", + if (! query (_("The target may not be able to correctly handle a %s\n" + "of %ld bytes. Change the packet size? "), config->name, size)) error (_("Packet size not changed.")); } @@ -693,7 +693,7 @@ packet_ok (const char *buf, struct packet_config *config) break; case PACKET_DISABLE: internal_error (__FILE__, __LINE__, - "packet_ok: attempt to use a disabled packet"); + _("packet_ok: attempt to use a disabled packet")); break; case PACKET_ENABLE: break; @@ -1847,7 +1847,7 @@ remote_threads_extra_info (struct thread_info *tp) if (remote_desc == 0) /* paranoia */ internal_error (__FILE__, __LINE__, - "remote_threads_extra_info"); + _("remote_threads_extra_info")); if (use_threadextra_query) { @@ -3262,8 +3262,8 @@ remote_fetch_registers (int regnum) gdb_assert (reg != NULL); if (!reg->in_g_packet) internal_error (__FILE__, __LINE__, - "Attempt to fetch a non G-packet register when this " - "remote.c does not support the p-packet."); + _("Attempt to fetch a non G-packet register when this " + "remote.c does not support the p-packet.")); } switch (remote_protocol_p.support) { @@ -3664,9 +3664,9 @@ remote_write_bytes (CORE_ADDR memaddr, char *myaddr, int len) break; case PACKET_SUPPORT_UNKNOWN: internal_error (__FILE__, __LINE__, - "remote_write_bytes: bad internal state"); + _("remote_write_bytes: bad internal state")); default: - internal_error (__FILE__, __LINE__, "bad switch"); + internal_error (__FILE__, __LINE__, _("bad switch")); } /* Append "<memaddr>". */ @@ -3731,9 +3731,9 @@ remote_write_bytes (CORE_ADDR memaddr, char *myaddr, int len) break; case PACKET_SUPPORT_UNKNOWN: internal_error (__FILE__, __LINE__, - "remote_write_bytes: bad internal state"); + _("remote_write_bytes: bad internal state")); default: - internal_error (__FILE__, __LINE__, "bad switch"); + internal_error (__FILE__, __LINE__, _("bad switch")); } putpkt_binary (buf, (int) (p - buf)); @@ -3893,7 +3893,7 @@ readchar (int timeout) error (_("Remote connection closed")); /* no return */ case SERIAL_ERROR: - perror_with_name ("Remote communication error"); + perror_with_name (_("Remote communication error")); /* no return */ case SERIAL_TIMEOUT: break; @@ -3982,7 +3982,7 @@ putpkt_binary (char *buf, int cnt) gdb_flush (gdb_stdlog); } if (serial_write (remote_desc, buf2, p - buf2)) - perror_with_name ("putpkt: write failed"); + perror_with_name (_("putpkt: write failed")); /* Read until either a timeout occurs (-2) or '+' is read. */ while (1) @@ -4576,7 +4576,7 @@ watchpoint_to_Z_packet (int type) break; default: internal_error (__FILE__, __LINE__, - "hw_bp_to_z: bad watchpoint type %d", type); + _("hw_bp_to_z: bad watchpoint type %d"), type); } } @@ -4611,7 +4611,7 @@ remote_insert_watchpoint (CORE_ADDR addr, int len, int type) return 0; } internal_error (__FILE__, __LINE__, - "remote_insert_watchpoint: reached end of function"); + _("remote_insert_watchpoint: reached end of function")); } @@ -4645,7 +4645,7 @@ remote_remove_watchpoint (CORE_ADDR addr, int len, int type) return 0; } internal_error (__FILE__, __LINE__, - "remote_remove_watchpoint: reached end of function"); + _("remote_remove_watchpoint: reached end of function")); } @@ -4739,7 +4739,7 @@ remote_insert_hw_breakpoint (CORE_ADDR addr, char *shadow) return 0; } internal_error (__FILE__, __LINE__, - "remote_insert_hw_breakpoint: reached end of function"); + _("remote_insert_hw_breakpoint: reached end of function")); } @@ -4781,7 +4781,7 @@ remote_remove_hw_breakpoint (CORE_ADDR addr, char *shadow) return 0; } internal_error (__FILE__, __LINE__, - "remote_remove_hw_breakpoint: reached end of function"); + _("remote_remove_hw_breakpoint: reached end of function")); } /* Some targets are only capable of doing downloads, and afterwards @@ -5398,7 +5398,7 @@ remote_async (void (*callback) (enum inferior_event_type event_type, { if (current_target.to_async_mask_value == 0) internal_error (__FILE__, __LINE__, - "Calling remote_async when async is masked"); + _("Calling remote_async when async is masked")); if (callback != NULL) { |