gareth at blacksphere dot co.nz
2012-05-05 01:03:29 UTC
http://sourceware.org/bugzilla/show_bug.cgi?id=14062
Bug #: 14062
Summary: Exceptions in callbacks posted by gdb.post_event are
silently ignored.
Product: gdb
Version: 7.4
Status: NEW
Severity: normal
Priority: P2
Component: python
AssignedTo: ***@sourceware.org
ReportedBy: ***@blacksphere.co.nz
Classification: Unclassified
This is the simplest example to reproduce this problem:
(gdb) python invalid()
Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'invalid' is not defined
Error while executing Python code.
(gdb) python gdb.post_event(lambda : invalid())
(gdb)
Note that the exception in the lambda function is never reported.
This is observed on GDB 7.4.1 (target arm-none-eabi) with Python 2.6.6 and
Linux 2.6.35-32 (Ubuntu 10.10).
Bug #: 14062
Summary: Exceptions in callbacks posted by gdb.post_event are
silently ignored.
Product: gdb
Version: 7.4
Status: NEW
Severity: normal
Priority: P2
Component: python
AssignedTo: ***@sourceware.org
ReportedBy: ***@blacksphere.co.nz
Classification: Unclassified
This is the simplest example to reproduce this problem:
(gdb) python invalid()
Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'invalid' is not defined
Error while executing Python code.
(gdb) python gdb.post_event(lambda : invalid())
(gdb)
Note that the exception in the lambda function is never reported.
This is observed on GDB 7.4.1 (target arm-none-eabi) with Python 2.6.6 and
Linux 2.6.35-32 (Ubuntu 10.10).
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.