[geany/geany-plugins] 24175c: support for new thread group creation message
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 12:41:52
Commit: 24175c12372917df58915f0b6a83f77443e0367d
https://github.com/geany/geany-plugins/commit/24175c12372917df58915f0b6a83f77443e0367d
Log Message:
-----------
support for new thread group creation message
Modified Paths:
--------------
debugger/src/dbm_gdb.c
Modified: debugger/src/dbm_gdb.c
5 files changed, 5 insertions(+), 0 deletions(-)
===================================================================
@@ -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;
@@ 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