[geany/geany-plugins] 33521c: support for new thread group creation message: fixing bug

Alexander Petukhov git-noreply at xxxxx
Sun Aug 26 22:58:18 UTC 2012


Branch:      refs/heads/master
Author:      Alexander Petukhov <devel at apetukhov.ru>
Committer:   Alexander Petukhov <devel at apetukhov.ru>
Date:        Sun, 01 Jul 2012 16:02:15
Commit:      33521c8f1fd0add20c0bacc90089da424ff007f5
             https://github.com/geany/geany-plugins/commit/33521c8f1fd0add20c0bacc90089da424ff007f5

Log Message:
-----------
support for new thread group creation message: fixing bug


Modified Paths:
--------------
    debugger/src/dbm_gdb.c

Modified: debugger/src/dbm_gdb.c
2 files changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -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"))
 	{


@@ Diff output truncated at 100000 characters. @@


--------------
This E-Mail was brought to you by github_commit_mail.py (Source: TBD).



More information about the Plugins-Commits mailing list