Index: gdb-8.2/gdb/python/py-record.h =================================================================== --- gdb-8.2.orig/gdb/python/py-record.h +++ gdb-8.2/gdb/python/py-record.h @@ -30,7 +30,7 @@ typedef struct PyObject_HEAD /* The thread this object refers to. */ - thread_info *thread; + struct thread_info *thread; /* The current recording method. */ enum record_method method; @@ -44,7 +44,7 @@ typedef struct PyObject_HEAD /* The thread this object refers to. */ - thread_info *thread; + struct thread_info *thread; /* The current recording method. */ enum record_method method; @@ -60,11 +60,11 @@ extern PyTypeObject recpy_insn_type; extern PyTypeObject recpy_func_type; /* Create a new gdb.RecordInstruction object. */ -extern PyObject *recpy_insn_new (thread_info *thread, enum record_method method, +extern PyObject *recpy_insn_new (struct thread_info *thread, enum record_method method, Py_ssize_t number); /* Create a new gdb.RecordFunctionSegment object. */ -extern PyObject *recpy_func_new (thread_info *thread, enum record_method method, +extern PyObject *recpy_func_new (struct thread_info *thread, enum record_method method, Py_ssize_t number); /* Create a new gdb.RecordGap object. */