improved thread id reporting

Tom Tromey tromey@redhat.com
Mon Apr 6 22:15:00 GMT 2009


>>>>> "Eli" == Eli Zaretskii <eliz@gnu.org> 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.

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

Only if the translator knows to do that.

Tom



More information about the Gdb mailing list