Skip to content
Browse files

support for new thread group creation message

  • Loading branch information...
1 parent 254eca2 commit 24175c12372917df58915f0b6a83f77443e0367d @cesspit committed Jul 1, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 debugger/src/dbm_gdb.c
View
5 debugger/src/dbm_gdb.c
@@ -443,6 +443,11 @@ static gboolean on_read_from_gdb(GIOChannel * src, GIOCondition cond, gpointer d
*(strrchr(line, '\"')) = '\0';
target_pid = atoi(line + strlen("=thread-group-created,id=\""));
}
+ else if (!target_pid && g_str_has_prefix(line, "=thread-group-started"))
+ {
+ *(strrchr(line, '\"')) = '\0';
+ target_pid = atoi(strrchr(line, '\"') + 2);
+ }
else if (g_str_has_prefix(line, "=thread-created"))
{
int thread_id;

0 comments on commit 24175c1

Please sign in to comment.
Something went wrong with that request. Please try again.