aboutsummaryrefslogtreecommitdiff
path: root/gdb/mi
diff options
context:
space:
mode:
authorVladimir Prus <vladimir@codesourcery.com>2008-04-26 17:58:48 +0000
committerVladimir Prus <vladimir@codesourcery.com>2008-04-26 17:58:48 +0000
commitc64465393f004beedb67a6d5f1fee09a00dd8ddf (patch)
treed861b823833d2c4a9cd6da9d3d5c64972b87231a /gdb/mi
parent2f069f6f9e32135dae340745ea4fe57687cfd39b (diff)
downloadgdb-c64465393f004beedb67a6d5f1fee09a00dd8ddf.zip
gdb-c64465393f004beedb67a6d5f1fee09a00dd8ddf.tar.gz
gdb-c64465393f004beedb67a6d5f1fee09a00dd8ddf.tar.bz2
* mi/mi-interp.c (mi_new_thread): Quote the thread id.
Diffstat (limited to 'gdb/mi')
-rw-r--r--gdb/mi/mi-interp.c2
1 files changed, 1 insertions, 1 deletions
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);
}