This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH v3 0/8] Python bindings for GDB record
- From: Tim Wiederhake <tim dot wiederhake at intel dot com>
- To: gdb-patches at sourceware dot org
- Cc: markus dot t dot metzger at intel dot com, brobecker at adacore dot com, qiyaoltc at gmail dot com
- Date: Mon, 24 Apr 2017 10:35:32 +0200
- Subject: [PATCH v3 0/8] Python bindings for GDB record
- Authentication-results: sourceware.org; auth=none
Hi all,
This patch series addresses the design issues with the Python bindings for
GDB record, as discussed here:
https://sourceware.org/ml/gdb-patches/2017-04/msg00171.html
V1 of this series can be found here:
https://sourceware.org/ml/gdb-patches/2017-04/msg00424.html
V2 of this series can be found here:
https://sourceware.org/ml/gdb-patches/2017-04/msg00594.html
Changes since V2:
* Rebased to current master.
* Some minor changes in documentation as requested by Eli.
* Reordered the patches.
Documentation was OK'd by Eli.
Patches (except one) were OK'd by Yao.
The patch that is not OK'd yet is "Fix exception handling in
py-record-btrace.c". As this patch is kind of unrelated to the rest, I propose
pushing the other patches to master and 8.0 branch tomorrow if there are no
other comments.
Regards,
Tim
Tim Wiederhake (8):
Python: Fix indentation in py-record-btrace.c
Python: Use correct ptid in btrace recording
Python: Remove ptid from gdb.Record interface
Python: Introduce gdb.RecordGap class
Python: Move and rename gdb.BtraceInstruction
Python: Move and rename gdb.BtraceFunction
Python: Introduce gdb.Instruction class
Python: Fix exception handling in py-record-btrace.c
gdb/Makefile.in | 2 +
gdb/btrace.c | 8 +-
gdb/doc/python.texi | 108 ++--
gdb/python/py-instruction.c | 67 +++
gdb/python/py-instruction.h | 30 +
gdb/python/py-record-btrace.c | 618 ++++++++-------------
gdb/python/py-record-btrace.h | 42 ++
gdb/python/py-record.c | 424 +++++++++++++-
gdb/python/py-record.h | 74 +++
gdb/python/python-internal.h | 2 +
gdb/python/python.c | 1 +
.../gdb.python/py-record-btrace-threads.c | 58 ++
.../gdb.python/py-record-btrace-threads.exp | 81 +++
gdb/testsuite/gdb.python/py-record-btrace.exp | 6 +-
14 files changed, 1058 insertions(+), 463 deletions(-)
create mode 100644 gdb/python/py-instruction.c
create mode 100644 gdb/python/py-instruction.h
create mode 100644 gdb/python/py-record.h
create mode 100644 gdb/testsuite/gdb.python/py-record-btrace-threads.c
create mode 100644 gdb/testsuite/gdb.python/py-record-btrace-threads.exp
--
2.7.4