This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH master+7.12 v2 0/3] Emit user selection change notifications on all UIs
- From: Simon Marchi <simon dot marchi at ericsson dot com>
- To: <gdb-patches at sourceware dot org>
- Cc: Simon Marchi <simon dot marchi at ericsson dot com>
- Date: Wed, 14 Sep 2016 13:45:45 -0400
- Subject: [PATCH master+7.12 v2 0/3] Emit user selection change notifications on all UIs
- Authentication-results: sourceware.org; auth=none
- Authentication-results: spf=none (sender IP is ) smtp.mailfrom=simon dot marchi at ericsson dot com;
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
Hi all,
This is version 2 of
https://sourceware.org/ml/gdb-patches/2016-08/msg00311.html
addressing Pedro's comments, for the most part.
The test, now in its separate patch (3/3) has been reworked. It now checks
properly for absence of output (to check that no event were emitted). It also
passes with make check-read1 as well.
Simon
Antoine Tremblay (2):
Emit inferior, thread and frame selection events to all UIs
Add test for user context selection sync
Simon Marchi (1):
Introduce cleanup to restore current_uiout
gdb/NEWS | 4 +
gdb/cli/cli-decode.c | 32 +-
gdb/cli/cli-decode.h | 6 +
gdb/cli/cli-interp.c | 38 +
gdb/command.h | 16 +
gdb/defs.h | 16 +
gdb/doc/gdb.texinfo | 33 +-
gdb/doc/observer.texi | 4 +
gdb/frame.h | 8 +
gdb/gdbthread.h | 4 +
gdb/inferior.c | 40 +-
gdb/inferior.h | 3 +
gdb/infrun.c | 12 +-
gdb/mi/mi-cmds.c | 6 +-
gdb/mi/mi-interp.c | 61 ++
gdb/mi/mi-main.c | 55 +-
gdb/mi/mi-main.h | 2 +
gdb/stack.c | 42 +-
gdb/testsuite/gdb.mi/mi-pthreads.exp | 4 +-
gdb/testsuite/gdb.mi/user-selected-context-sync.c | 64 ++
.../gdb.mi/user-selected-context-sync.exp | 1146 ++++++++++++++++++++
gdb/thread.c | 86 +-
gdb/tui/tui-interp.c | 33 +
gdb/ui-out.c | 18 +
gdb/ui-out.h | 4 +
25 files changed, 1638 insertions(+), 99 deletions(-)
create mode 100644 gdb/testsuite/gdb.mi/user-selected-context-sync.c
create mode 100644 gdb/testsuite/gdb.mi/user-selected-context-sync.exp
--
2.9.3