[gnome-builder/wip/chergert/debugger: 82/134] mi2: cleanup debug code
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/chergert/debugger: 82/134] mi2: cleanup debug code
- Date: Fri, 31 Mar 2017 18:00:51 +0000 (UTC)
commit 3d93fa6a1de60e4c2e8af715f13f82a37fbb5d15
Author: Christian Hergert <chergert redhat com>
Date: Fri Mar 24 00:50:11 2017 -0700
mi2: cleanup debug code
contrib/mi2/mi2-client.c | 4 +++-
contrib/mi2/test-client.c | 1 -
2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/contrib/mi2/mi2-client.c b/contrib/mi2/mi2-client.c
index 4d31025..adad16a 100644
--- a/contrib/mi2/mi2-client.c
+++ b/contrib/mi2/mi2-client.c
@@ -411,7 +411,9 @@ mi2_client_dispatch (Mi2Client *self,
}
}
else
- g_print ("Got message of type %s\n", G_OBJECT_TYPE_NAME (message));
+ {
+ g_warning ("Got message of type %s\n", G_OBJECT_TYPE_NAME (message));
+ }
}
static void
diff --git a/contrib/mi2/test-client.c b/contrib/mi2/test-client.c
index 5247a03..21a8493 100644
--- a/contrib/mi2/test-client.c
+++ b/contrib/mi2/test-client.c
@@ -176,7 +176,6 @@ on_stopped (Mi2Client *client,
g_assert (MI2_IS_MESSAGE (message));
g_print ("stopped %d %s\n", reason, mi2_message_get_param_string (message, "reason"));
- g_print ("%s\n", g_strjoinv (" ", mi2_message_get_params (message)));
if (reason == MI2_STOP_BREAKPOINT_HIT)
mi2_client_continue_async (client, FALSE, NULL, NULL, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]