This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [commit] Fix ARI violations in mips-linux-nat.c and mips-tdep.c


On Fri, 2 Mar 2012, Joel Brobecker wrote:

> diff --git a/gdb/mips-linux-nat.c b/gdb/mips-linux-nat.c
> index af472df..b63be2e 100644
> --- a/gdb/mips-linux-nat.c
> +++ b/gdb/mips-linux-nat.c
> @@ -447,7 +447,7 @@ mips_linux_read_description (struct target_ops *ops)
>  	  have_dsp = 0;
>  	  break;
>  	default:
> -	  perror_with_name ("ptrace");
> +	  perror_with_name (_("ptrace"));
>  	  break;
>  	}
>      }

 Hmm, I'm not sure if "ptrace" can be translated to anything as it's a 
proper name; however if you're in a picky mood, then watch out for 
numerous cases like this:

gdb/event-loop.c:	perror_with_name (("poll"));

including a zillion in gdb/inf-ttrace.c.

  Maciej


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]