-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
What steps will reproduce the problem?
1.use tests/test.py
block in this line: print gdb.version().wait()
2. use tests/test.py
3.
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
GNU gdb Red Hat Linux (6.3.0.0-1.132.EL4rh)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu".
Please provide any additional information below.
(gdb)
2-gdb-version
~"GNU gdb Red Hat Linux (6.3.0.0-1.132.EL4rh)\n"
~"Copyright 2004 Free Software Foundation, Inc.\n"
~"GDB is free software, covered by the GNU General Public License, and you
are\n"
~"welcome to change it and/or distribute copies of it under certain
conditions.\n"
~"Type \"show copying\" to see the conditions.\n"
~"There is absolutely no warranty for GDB. Type \"show warranty\" for
details.\n"
~"This GDB was configured as \"i386-redhat-linux-gnu\".\n"
2^done
(gdb)
in mi.py,
def wait(self):
try:
self.__condition.acquire()
while not self.result: //this block,because result is None
self.__condition.wait()
result: [2] done
{'class_': 'done',
'record_type': 'result',
'result': None,
'token': '2',
'type': 'result'}
Original issue reported on code.google.com by ufwt...@gmail.com on 3 Sep 2008 at 5:39
Reactions are currently unavailable