[PATCH] Fix typo in infptrace.c
Andrew Cagney
cagney@gnu.org
Mon Feb 21 19:23:00 GMT 2005
Thiemo Seufer wrote:
> Hello All,
>
> this patch fixes a build failure (on mips-linux) caused by a simple
> typo.
I've checked this in, thanks!
Andrew
> 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);
>
More information about the Gdb-patches
mailing list