From c64465393f004beedb67a6d5f1fee09a00dd8ddf Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Sat, 26 Apr 2008 17:58:48 +0000 Subject: [PATCH] * mi/mi-interp.c (mi_new_thread): Quote the thread id. --- gdb/ChangeLog | 4 ++++ gdb/mi/mi-interp.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e6107b65d5f..e58d0c27340 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2008-04-26 Vladimir Prus + + * mi/mi-interp.c (mi_new_thread): Quote the thread id. + 2008-04-26 Joel Brobecker * breakpoint.c (condition_command, commands_from_control_command) diff --git a/gdb/mi/mi-interp.c b/gdb/mi/mi-interp.c index 8dfd3ee123c..146d8754084 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); } -- 2.30.2