From c64465393f004beedb67a6d5f1fee09a00dd8ddf Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Sat, 26 Apr 2008 17:58:48 +0000 Subject: * mi/mi-interp.c (mi_new_thread): Quote the thread id. --- gdb/mi/mi-interp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/mi') diff --git a/gdb/mi/mi-interp.c b/gdb/mi/mi-interp.c index 8dfd3ee..146d875 100644 --- a/gdb/mi/mi-interp.c +++ b/gdb/mi/mi-interp.c @@ -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); } -- cgit v1.1