aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/python.c
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
commitae20e79ae852fee8f7d42701a54a95de3b79ecea (patch)
tree616d593dcb7ef8249449028538998a7ff6a180e4 /gdb/python/python.c
parent8d0050ea192c41349c1f2b000866c1bdb761abeb (diff)
downloadbinutils-ae20e79ae852fee8f7d42701a54a95de3b79ecea.zip
binutils-ae20e79ae852fee8f7d42701a54a95de3b79ecea.tar.gz
binutils-ae20e79ae852fee8f7d42701a54a95de3b79ecea.tar.bz2
Python: Use correct ptid in btrace recording
The user would always get the instruction_history and function_call_history objects of the current thread, not the thread for which the gdb.Record object was created. The attached testcase fails without this patch and passes with the patch.
Diffstat (limited to 'gdb/python/python.c')
0 files changed, 0 insertions, 0 deletions