[PATCH master+7.12 v2 0/3] Emit user selection change notifications on all UIs

Simon Marchi
2016-09-14T17:46:15Z

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