This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug python/12118] New: add gdb.error base class for exceptions
- From: "tromey at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Wed, 13 Oct 2010 19:37:05 +0000
- Subject: [Bug python/12118] New: add gdb.error base class for exceptions
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=12118
Summary: add gdb.error base class for exceptions
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: python
AssignedTo: unassigned@sourceware.org
ReportedBy: tromey@redhat.com
Right now all gdb exceptions are turned into RuntimeException instances.
We should have a gdb-specific exception class instead.
It should be derived from RuntimeException, so that existing code
does not break.
Mark F. suggested "gdb.error" as the name, by analogy with "os.error"
and others from the python core.
We could add further subclasses to distinguish the different kinds of
gdb exception.
--
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.