This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 0/5 V8] MI notification on trace started/stopped


Hello,
This is the V8 of the patch series for "MI notification on trace
started and stopped".  In V8, the changes are:

 - Treat notification as a feature in qSupported, to get to know
   a certain notification is supported or not.  It saves much
   code.
 - Call observer_notify_trace_changed only when GDB gets async
   remote notification Trace, so that the notification order is
   consistent in two sides (GDB side and GDBserver side).
 - Consume some notification events on some points in all stop
   mode.  See patch 1/5.

Patch 2/5 is about querying supported notifications.  Patch 3/5
is to add new async remote notification trace.  Patch 4/5 is to
add new MI notification on trace started and stopped.  Patch 5/5
is to add the test cases.

They are tested on x86_64-linux with
{unix, native-gdbserver} x {sync, async}.  Is it OK?

V7 can be found https://sourceware.org/ml/gdb-patches/2013-12/msg00495.html

*** BLURB HERE ***

Yao Qi (5):
  Process notifications when reply is got
  Query supported notifications by qSupported
  async remote notification 'Trace'.
  MI notification on trace started/stopped
  New test case mi-trace-changed.exp

 gdb/Makefile.in                              |    5 +-
 gdb/NEWS                                     |    5 +
 gdb/doc/gdb.texinfo                          |   26 +++++
 gdb/doc/observer.texi                        |    6 +
 gdb/gdbserver/notif.c                        |   44 ++++++++
 gdb/gdbserver/notif.h                        |    6 +
 gdb/gdbserver/server.c                       |   15 +++-
 gdb/gdbserver/tracepoint.c                   |   35 ++++++
 gdb/mi/mi-cmds.c                             |    6 +-
 gdb/mi/mi-interp.c                           |   22 ++++
 gdb/mi/mi-main.h                             |    2 +
 gdb/remote-notif-trace.c                     |   79 ++++++++++++++
 gdb/remote-notif.c                           |   57 +++++++++-
 gdb/remote-notif.h                           |   14 +++-
 gdb/remote.c                                 |   47 +++++++-
 gdb/testsuite/gdb.trace/mi-trace-changed.exp |  149 ++++++++++++++++++++++++++
 16 files changed, 504 insertions(+), 14 deletions(-)
 create mode 100644 gdb/remote-notif-trace.c
 create mode 100644 gdb/testsuite/gdb.trace/mi-trace-changed.exp

-- 
1.7.7.6


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]