improved thread id reporting

Eli Zaretskii eliz@gnu.org
Mon Apr 6 20:20:00 GMT 2009


> Cc: gdb@sourceware.org
> From: Tom Tromey <tromey@redhat.com>
> Date: Mon, 06 Apr 2009 14:07:58 -0600
> 
> >>>>> "Doug" == Doug Evans <dje@google.com> writes:
> 
> Doug> +      printf_filtered (_("[Switching from thread #%d, %s\n"),
> Doug> +		       pid_to_thread_id (previous_inferior_ptid),
> Doug> +		       target_pid_to_str (previous_inferior_ptid));
> Doug> +      printf_filtered (_("             to thread #%d, %s]\n"),
> 
> This approach to lining things up is not i18n-friendly.

Sorry, I'm probably too dense today: why not?  If you are thinking
about the number of blanks, then the translated second message can
change their amount as appropriate, no?



More information about the Gdb mailing list