[gnome-builder/wip/chergert/bug1] gdb: log gdb errors passing through
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/chergert/bug1] gdb: log gdb errors passing through
- Date: Thu, 31 Aug 2017 04:20:30 +0000 (UTC)
commit 9c6555dda6fa53b0bda0866d58744856a4681978
Author: Christian Hergert <chergert redhat com>
Date: Wed Aug 30 21:20:20 2017 -0700
gdb: log gdb errors passing through
This way we can always seem them with -vvv.
plugins/gdb/gbp-gdb-debugger.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/plugins/gdb/gbp-gdb-debugger.c b/plugins/gdb/gbp-gdb-debugger.c
index 3b99488..1cfe655 100644
--- a/plugins/gdb/gbp-gdb-debugger.c
+++ b/plugins/gdb/gbp-gdb-debugger.c
@@ -103,6 +103,8 @@ gbp_gdb_debugger_unwrap (const struct gdbwire_mi_output *output,
output->variant.result_record->result->kind == GDBWIRE_MI_CSTRING)
msg = output->variant.result_record->result->variant.cstring;
+ g_debug ("%s", msg);
+
g_set_error_literal (error,
G_IO_ERROR,
G_IO_ERROR_FAILED,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]