Python: Move and rename gdb.BtraceFunction
Remove gdb.BtraceFunctionCall and replace by gdb.FunctionSegment. Additionally, rename prev_segment and next_segment to prev and next.
This commit is contained in:
parent
0ed5da759e
commit
14f819c8c5
9 changed files with 309 additions and 221 deletions
|
@ -56,10 +56,17 @@ typedef struct
|
|||
/* Python RecordInstruction type. */
|
||||
extern PyTypeObject recpy_insn_type;
|
||||
|
||||
/* Python RecordFunctionSegment type. */
|
||||
extern PyTypeObject recpy_func_type;
|
||||
|
||||
/* Create a new gdb.RecordInstruction object. */
|
||||
extern PyObject *recpy_insn_new (ptid_t ptid, enum record_method method,
|
||||
Py_ssize_t number);
|
||||
|
||||
/* Create a new gdb.RecordFunctionSegment object. */
|
||||
extern PyObject *recpy_func_new (ptid_t ptid, enum record_method method,
|
||||
Py_ssize_t number);
|
||||
|
||||
/* Create a new gdb.RecordGap object. */
|
||||
extern PyObject *recpy_gap_new (int reason_code, const char *reason_string,
|
||||
Py_ssize_t number);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue