vivi00791 at gmail dot com
2017-09-27 16:02:07 UTC
https://sourceware.org/bugzilla/show_bug.cgi?id=22223
Bug ID: 22223
Summary: python event.new_thread does not exist but described
in online document
Product: gdb
Version: 8.0.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: python
Assignee: unassigned at sourceware dot org
Reporter: vivi00791 at gmail dot com
Target Milestone: ---
gdb-mi output:
&"source ./Command/new_thread_trigger.py\n"
&"Traceback (most recent call last):\n"
&" File \"./Command/new_thread_trigger.py\", line 9, in <module>\n"
&" gdb.events.new_thread.connect (new_thread_handler)\n"
&"AttributeError: 'module' object has no attribute 'new_thread'\n"
source file(new_thread_trigger.py):
import gdb
def new_thread_handler (event):
print("NEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEW Thread!!!!!")
gdb.events.new_thread.connect (new_thread_handler)
event document:
https://sourceware.org/gdb/current/onlinedocs/gdb/Events-In-Python.html#Events-In-Python
Bug ID: 22223
Summary: python event.new_thread does not exist but described
in online document
Product: gdb
Version: 8.0.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: python
Assignee: unassigned at sourceware dot org
Reporter: vivi00791 at gmail dot com
Target Milestone: ---
gdb-mi output:
&"source ./Command/new_thread_trigger.py\n"
&"Traceback (most recent call last):\n"
&" File \"./Command/new_thread_trigger.py\", line 9, in <module>\n"
&" gdb.events.new_thread.connect (new_thread_handler)\n"
&"AttributeError: 'module' object has no attribute 'new_thread'\n"
source file(new_thread_trigger.py):
import gdb
def new_thread_handler (event):
print("NEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEW Thread!!!!!")
gdb.events.new_thread.connect (new_thread_handler)
event document:
https://sourceware.org/gdb/current/onlinedocs/gdb/Events-In-Python.html#Events-In-Python
--
You are receiving this mail because:
You are on the CC list for the bug.
You are receiving this mail because:
You are on the CC list for the bug.