Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH] Fix typo in infptrace.c
@ 2005-02-21 18:10 Thiemo Seufer
  2005-02-21 19:23 ` Andrew Cagney
  0 siblings, 1 reply; 2+ messages in thread
From: Thiemo Seufer @ 2005-02-21 18:10 UTC (permalink / raw)
  To: gdb-patches

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);


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] Fix typo in infptrace.c
  2005-02-21 18:10 [PATCH] Fix typo in infptrace.c Thiemo Seufer
@ 2005-02-21 19:23 ` Andrew Cagney
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Cagney @ 2005-02-21 19:23 UTC (permalink / raw)
  To: Thiemo Seufer; +Cc: gdb-patches

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);
> 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-02-21 17:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-21 18:10 [PATCH] Fix typo in infptrace.c Thiemo Seufer
2005-02-21 19:23 ` Andrew Cagney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox