aboutsummaryrefslogtreecommitdiff
path: root/gdb/python
diff options
context:
space:
mode:
authorTim Wiederhake <tim.wiederhake@intel.com>2017-05-02 11:35:54 +0200
committerTim Wiederhake <tim.wiederhake@intel.com>2017-05-02 11:35:54 +0200
commita3be24ad59d683d1b08df28e093739743a7cf256 (patch)
treead341e4e8cd5f1183d9bc696262130280e7d8894 /gdb/python
parentae20e79ae852fee8f7d42701a54a95de3b79ecea (diff)
downloadgdb-a3be24ad59d683d1b08df28e093739743a7cf256.zip
gdb-a3be24ad59d683d1b08df28e093739743a7cf256.tar.gz
gdb-a3be24ad59d683d1b08df28e093739743a7cf256.tar.bz2
Python: Remove ptid from gdb.Record interface
As discussed here: https://sourceware.org/ml/gdb-patches/2017-04/msg00166.html
Diffstat (limited to 'gdb/python')
-rw-r--r--gdb/python/py-record.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/gdb/python/py-record.c b/gdb/python/py-record.c
index 63cd293..05f028c 100644
--- a/gdb/python/py-record.c
+++ b/gdb/python/py-record.c
@@ -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.",