* mi/mi-interp.c (mi_new_thread): Quote the thread id.

This commit is contained in:
Vladimir Prus 2008-04-26 17:58:48 +00:00
parent 2f069f6f9e
commit c64465393f
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2008-04-26 Vladimir Prus <vladimir@codesourcery.com>
* mi/mi-interp.c (mi_new_thread): Quote the thread id.
2008-04-26 Joel Brobecker <brobecker@adacore.com>
* breakpoint.c (condition_command, commands_from_control_command)

View File

@ -313,7 +313,7 @@ mi_new_thread (struct thread_info *t)
{
struct mi_interp *mi = top_level_interpreter_data ();
fprintf_unfiltered (mi->event_channel, "thread-created,id=%d", t->num);
fprintf_unfiltered (mi->event_channel, "thread-created,id=\"%d\"", t->num);
gdb_flush (mi->event_channel);
}