Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

support for new thread group creation message: fixing bug

  • Loading branch information...
commit 33521c8f1fd0add20c0bacc90089da424ff007f5 1 parent 24175c1
@cesspit cesspit authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  debugger/src/dbm_gdb.c
View
2  debugger/src/dbm_gdb.c
@@ -446,7 +446,7 @@ static gboolean on_read_from_gdb(GIOChannel * src, GIOCondition cond, gpointer d
else if (!target_pid && g_str_has_prefix(line, "=thread-group-started"))
{
*(strrchr(line, '\"')) = '\0';
- target_pid = atoi(strrchr(line, '\"') + 2);
+ target_pid = atoi(strrchr(line, '\"') + 1);
}
else if (g_str_has_prefix(line, "=thread-created"))
{
Please sign in to comment.
Something went wrong with that request. Please try again.