aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2005-02-21 17:22:43 +0000
committerAndrew Cagney <cagney@redhat.com>2005-02-21 17:22:43 +0000
commit3470a02f88554c06db89c50d3fb6c40db3b7fe37 (patch)
tree2247d431059c2307d7c64276aef99536abfb4443
parentb66df561bb295f7818ba7793ebc22ebb1705e286 (diff)
downloadgdb-3470a02f88554c06db89c50d3fb6c40db3b7fe37.zip
gdb-3470a02f88554c06db89c50d3fb6c40db3b7fe37.tar.gz
gdb-3470a02f88554c06db89c50d3fb6c40db3b7fe37.tar.bz2
2005-02-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
* infptrace.c (store_register): Fix typo.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/infptrace.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 1fe88db..9663901 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2005-02-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+ Committed by Andrew Cagney.
+ * infptrace.c (store_register): Fix typo.
+
2005-02-21 Andrew Cagney <cagney@gnu.org>
* command.h (deprecated_add_set_cmd): Rename add_set_cmd.
diff --git a/gdb/infptrace.c b/gdb/infptrace.c
index fd4a0b8..a612d13 100644
--- a/gdb/infptrace.c
+++ b/gdb/infptrace.c
@@ -288,8 +288,8 @@ store_register (int regnum)
errno = 0;
ptrace (PT_WRITE_U, tid, (PTRACE_TYPE_ARG3) addr, buf[i]);
if (errno != 0)
- error (_("Couldn't write register %s (#%d): %s.")e, REGISTER_NAME (regnum),
- regnum, safe_strerror (errno));
+ error (_("Couldn't write register %s (#%d): %s."),
+ REGISTER_NAME (regnum), regnum, safe_strerror (errno));
addr += sizeof (PTRACE_TYPE_RET);
}