This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v2 3/8] Python: Use correct ptid in btrace recording
Tim Wiederhake <tim.wiederhake@intel.com> writes:
> 2017-04-21 Tim Wiederhake <tim.wiederhake@intel.com>
>
> gdb/ChangeLog:
> * btrace.c (btrace_fetch): Set inferior_ptid.
> * python/py-record-btrace.c: Add "py-record.h" include.
> (recpy_bt_format, recpy_bt_replay_position, recpy_bt_begin,
> recpy_bt_end, recpy_bt_instruction_history,
> recpy_bt_function_call_history, recpy_bt_goto): Use ptid stored
> in gdb.Record object instead of current ptid.
> * python/py-record.c: Include new "py-record.h" file.
> (recpy_record_object): Moved to py-record.h.
> * python/py-record.h: New file.
>
> gdb/testsuite/ChangeLog:
> * gdb.python/py-record-btrace-threads.c: New file.
> * gdb.python/py-record-btrace-threads.exp: New file.
LGTM.
--
Yao (齐尧)