Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH 0/7] Python bindings for btrace recordings
@ 2016-10-27  6:29 Tim Wiederhake
  2016-10-27  6:29 ` [PATCH 7/7] Add documentation for new instruction record Python bindings Tim Wiederhake
                   ` (6 more replies)
  0 siblings, 7 replies; 18+ messages in thread
From: Tim Wiederhake @ 2016-10-27  6:29 UTC (permalink / raw)
  To: gdb-patches; +Cc: palves, markus.t.metzger

This patch series adds Python bindings for btrace recordings.

The first three patches are preparation, the major work is in patch four
and five.  The documentation in the last patch includes two examples how
the Python bindings can be utilised.

Tim Wiederhake (7):
  btrace: Count gaps as one instruction explicitly.
  btrace: Export btrace_decode_error function.
  btrace: Use binary search to find instruction.
  python: Create Python bindings for record history.
  python: Implement btrace Python bindings for record history.
  python: Add tests for record Python bindings
  Add documentation for new instruction record Python bindings.

 gdb/Makefile.in                        |  12 +
 gdb/NEWS                               |   4 +
 gdb/btrace.c                           | 163 ++++--
 gdb/btrace.h                           |  21 +-
 gdb/doc/python.texi                    | 239 ++++++++
 gdb/python/py-btrace.c                 | 996 +++++++++++++++++++++++++++++++++
 gdb/python/py-btrace.h                 |  32 ++
 gdb/python/py-record.c                 | 291 ++++++++++
 gdb/python/py-record.h                 |  57 ++
 gdb/python/python-internal.h           |   7 +
 gdb/python/python.c                    |  13 +
 gdb/record-btrace.c                    | 131 ++---
 gdb/record-full.c                      |  20 +
 gdb/target-debug.h                     |   2 +
 gdb/target-delegates.c                 |  33 ++
 gdb/target.c                           |   7 +
 gdb/target.h                           |  10 +
 gdb/testsuite/gdb.python/py-record.c   |  48 ++
 gdb/testsuite/gdb.python/py-record.exp | 160 ++++++
 19 files changed, 2108 insertions(+), 138 deletions(-)
 create mode 100644 gdb/python/py-btrace.c
 create mode 100644 gdb/python/py-btrace.h
 create mode 100644 gdb/python/py-record.c
 create mode 100644 gdb/python/py-record.h
 create mode 100644 gdb/testsuite/gdb.python/py-record.c
 create mode 100644 gdb/testsuite/gdb.python/py-record.exp

-- 
2.7.4


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

end of thread, other threads:[~2016-11-02 11:24 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-27  6:29 [PATCH 0/7] Python bindings for btrace recordings Tim Wiederhake
2016-10-27  6:29 ` [PATCH 7/7] Add documentation for new instruction record Python bindings Tim Wiederhake
2016-10-27 15:02   ` Eli Zaretskii
2016-10-27 16:10   ` Simon Marchi
2016-10-27  6:29 ` [PATCH 5/7] python: Implement btrace Python bindings for record history Tim Wiederhake
2016-10-27  6:29 ` [PATCH 2/7] btrace: Export btrace_decode_error function Tim Wiederhake
2016-10-27  6:29 ` [PATCH 4/7] python: Create Python bindings for record history Tim Wiederhake
2016-10-27 15:53   ` Simon Marchi
2016-10-28 14:12     ` Wiederhake, Tim
2016-10-27  6:29 ` [PATCH 1/7] btrace: Count gaps as one instruction explicitly Tim Wiederhake
2016-10-27  6:29 ` [PATCH 3/7] btrace: Use binary search to find instruction Tim Wiederhake
2016-10-27 14:28   ` Simon Marchi
2016-11-02 10:01     ` Wiederhake, Tim
2016-11-02 11:24       ` Simon Marchi
2016-10-27  6:29 ` [PATCH 6/7] python: Add tests for record Python bindings Tim Wiederhake
2016-10-27 15:59   ` Simon Marchi
2016-10-28 13:49     ` Wiederhake, Tim
2016-10-28 17:47       ` Simon Marchi

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