]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Python: Introduce gdb.RecordGap class
authorTim Wiederhake <tim.wiederhake@intel.com>
Thu, 4 May 2017 07:05:00 +0000 (09:05 +0200)
committerTim Wiederhake <tim.wiederhake@intel.com>
Thu, 4 May 2017 07:05:00 +0000 (09:05 +0200)
commit7dce57d1b5d8b26efd658069c7047eba57733eb4
tree32be32b2e7e6e03688e06df4ebe77bb8236711c5
parent26597c93accd6121c7aba550dfc6b1f78dfbfe6f
Python: Introduce gdb.RecordGap class

As discussed here: https://sourceware.org/ml/gdb-patches/2017-04/msg00157.html

A gap is not an instruction and it should not pretend to be one.
gdb.Record.instruction_history is now a list of gdb.RecordInstruction and
gdb.RecordGap objects.  This allows the user to deal with Gaps in the record
in a more sane way.
gdb/ChangeLog
gdb/doc/ChangeLog
gdb/doc/python.texi
gdb/python/py-record-btrace.c
gdb/python/py-record.c
gdb/python/py-record.h
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.python/py-record-btrace.exp