Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH v2 0/2] thread, btrace: allow "record btrace" for running threads
@ 2017-01-20 14:39 Markus Metzger
  2017-01-20 14:39 ` [PATCH v2 2/2] btrace: allow recording to be started " Markus Metzger
  2017-01-20 14:39 ` [PATCH v2 1/2] thread: add can_access_registers_ptid Markus Metzger
  0 siblings, 2 replies; 9+ messages in thread
From: Markus Metzger @ 2017-01-20 14:39 UTC (permalink / raw)
  To: gdb-patches; +Cc: palves

This refers to:  https://sourceware.org/ml/gdb-patches/2016-11/msg00994.html.

The first version tried to detect the error in gdbserver, propagate it back, and
handle it in btrace.

This version checks whether registers can be accessed before making the request
to gdbserver based on feedback from Pedro.

Markus Metzger (2):
  thread: add can_access_registers_ptid
  btrace: allow recording to be started for running threads

 gdb/btrace.c                                | 44 ++++++++++++++++--
 gdb/gdbthread.h                             |  4 ++
 gdb/testsuite/gdb.btrace/enable-running.c   | 47 +++++++++++++++++++
 gdb/testsuite/gdb.btrace/enable-running.exp | 72 +++++++++++++++++++++++++++++
 gdb/thread.c                                | 20 ++++++++
 5 files changed, 183 insertions(+), 4 deletions(-)
 create mode 100644 gdb/testsuite/gdb.btrace/enable-running.c
 create mode 100644 gdb/testsuite/gdb.btrace/enable-running.exp

-- 
1.8.3.1


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

end of thread, other threads:[~2017-01-26 14:54 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-20 14:39 [PATCH v2 0/2] thread, btrace: allow "record btrace" for running threads Markus Metzger
2017-01-20 14:39 ` [PATCH v2 2/2] btrace: allow recording to be started " Markus Metzger
2017-01-25 14:32   ` Pedro Alves
2017-01-25 14:36     ` Pedro Alves
2017-01-25 15:53     ` Metzger, Markus T
2017-01-25 16:13       ` Pedro Alves
2017-01-26 14:54         ` Metzger, Markus T
2017-01-20 14:39 ` [PATCH v2 1/2] thread: add can_access_registers_ptid Markus Metzger
2017-01-25 14:33   ` Pedro Alves

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