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:
parent
ae20e79ae8
commit
a3be24ad59
6 changed files with 13 additions and 19 deletions
|
@ -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.",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue