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

Maciej W. Rozycki
2012-03-09T00:42:23Z

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