This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] Fix typo in infptrace.c
- From: Thiemo Seufer <ica2_ts at csv dot ica dot uni-stuttgart dot de>
- To: gdb-patches at sources dot redhat dot com
- Date: Mon, 21 Feb 2005 15:38:00 +0100
- Subject: [PATCH] Fix typo in infptrace.c
Hello All,
this patch fixes a build failure (on mips-linux) caused by a simple
typo.
Thiemo
2005-02-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
* infptrace.c (store_register): Fix typo.
Index: gdb/infptrace.c
===================================================================
RCS file: /cvs/src/src/gdb/infptrace.c,v
retrieving revision 1.53
diff -u -p -r1.53 infptrace.c
--- gdb/infptrace.c 15 Feb 2005 15:49:11 -0000 1.53
+++ gdb/infptrace.c 21 Feb 2005 14:17:27 -0000
@@ -288,7 +288,7 @@ 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),
+ error (_("Couldn't write register %s (#%d): %s."), REGISTER_NAME (regnum),
regnum, safe_strerror (errno));
addr += sizeof (PTRACE_TYPE_RET);