Python: Remove ptid from gdb.Record interface

As discussed here: https://sourceware.org/ml/gdb-patches/2017-04/msg00166.html
This commit is contained in:
Tim Wiederhake 2017-05-02 11:35:54 +02:00
parent ae20e79ae8
commit a3be24ad59
6 changed files with 13 additions and 19 deletions

View file

@ -29,16 +29,6 @@ static PyTypeObject recpy_record_type = {
PyVarObject_HEAD_INIT (NULL, 0)
};
/* Implementation of record.ptid. */
static PyObject *
recpy_ptid (PyObject *self, void* closure)
{
const recpy_record_object * const obj = (recpy_record_object *) self;
return gdbpy_create_ptid_object (obj->ptid);
}
/* Implementation of record.method. */
static PyObject *
@ -161,7 +151,6 @@ Rewind to given location."},
/* Record member list. */
static gdb_PyGetSetDef recpy_record_getset[] = {
{ "ptid", recpy_ptid, NULL, "Current thread.", NULL },
{ "method", recpy_method, NULL, "Current recording method.", NULL },
{ "format", recpy_format, NULL, "Current recording format.", NULL },
{ "replay_position", recpy_replay_position, NULL, "Current replay position.",