Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH 0/5 V8] MI notification on trace started/stopped
@ 2014-01-24  9:43 Yao Qi
  2014-01-24  9:43 ` [PATCH 3/5] async remote notification 'Trace' Yao Qi
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Yao Qi @ 2014-01-24  9:43 UTC (permalink / raw)
  To: gdb-patches

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-01-24  9:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-24  9:43 [PATCH 0/5 V8] MI notification on trace started/stopped Yao Qi
2014-01-24  9:43 ` [PATCH 3/5] async remote notification 'Trace' Yao Qi
2014-01-24  9:43 ` [PATCH 4/5] MI notification on trace started/stopped Yao Qi
2014-01-24  9:43 ` [PATCH 5/5] New test case mi-trace-changed.exp Yao Qi
2014-01-24  9:43 ` [PATCH 2/5] Query supported notifications by qSupported Yao Qi
2014-01-24  9:43 ` [PATCH 1/5] Process notifications when reply is got Yao Qi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox