Python: Move and rename gdb.BtraceInstruction

Remove gdb.BtraceInstruction and replace by gdb.RecordInstruction.
This commit is contained in:
Tim Wiederhake 2017-05-02 11:35:54 +02:00
parent 913aeadd9d
commit 0ed5da759e
7 changed files with 388 additions and 166 deletions

View file

@ -46,4 +46,25 @@ extern PyObject *recpy_bt_begin (PyObject *self, void *closure);
/* Implementation of record.end [instruction]. */
extern PyObject *recpy_bt_end (PyObject *self, void *closure);
/* Implementation of RecordInstruction.number [int]. */
extern PyObject *recpy_bt_insn_number (PyObject *self, void *closure);
/* Implementation of RecordInstruction.sal [gdb.Symtab_and_line]. */
extern PyObject *recpy_bt_insn_sal (PyObject *self, void *closure);
/* Implementation of RecordInstruction.pc [int]. */
extern PyObject *recpy_bt_insn_pc (PyObject *self, void *closure);
/* Implementation of RecordInstruction.data [buffer]. */
extern PyObject *recpy_bt_insn_data (PyObject *self, void *closure);
/* Implementation of RecordInstruction.decoded [str]. */
extern PyObject *recpy_bt_insn_decoded (PyObject *self, void *closure);
/* Implementation of RecordInstruction.size [int]. */
extern PyObject *recpy_bt_insn_size (PyObject *self, void *closure);
/* Implementation of RecordInstruction.is_speculative [bool]. */
extern PyObject *recpy_bt_insn_is_speculative (PyObject *self, void *closure);
#endif /* GDB_PY_RECORD_BTRACE_H */