improved thread id reporting

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


>>>>> "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.  You might be
able to use wrap_here, but I'm not sure that is any friendlier, as it
means you must break up the message.

Tom



More information about the Gdb mailing list