dje at google dot com
2015-08-18 22:09:44 UTC
https://sourceware.org/bugzilla/show_bug.cgi?id=18852
Bug ID: 18852
Summary: Raising gdb.GdbError in parameter "set" handlers
shouldn't print as a python exception
Product: gdb
Version: unknown
Status: NEW
Severity: normal
Priority: P2
Component: python
Assignee: unassigned at sourceware dot org
Reporter: dje at google dot com
Target Milestone: ---
gdb.GdbError exists to flag a gdb error without mentioning python.
The canonical use is in gdb commands to flag a user-error (bad option or some
such).
It's also useful in "set" handlers of gdb.Parameter where one wants to flag the
set value as invalid.
In this case however the error is printed as a python exception, which is what
gdb.GdbError exists to avoid.
Bug ID: 18852
Summary: Raising gdb.GdbError in parameter "set" handlers
shouldn't print as a python exception
Product: gdb
Version: unknown
Status: NEW
Severity: normal
Priority: P2
Component: python
Assignee: unassigned at sourceware dot org
Reporter: dje at google dot com
Target Milestone: ---
gdb.GdbError exists to flag a gdb error without mentioning python.
The canonical use is in gdb commands to flag a user-error (bad option or some
such).
It's also useful in "set" handlers of gdb.Parameter where one wants to flag the
set value as invalid.
In this case however the error is printed as a python exception, which is what
gdb.GdbError exists to avoid.
--
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.