public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug python/12118] New: add gdb.error base class for exceptions
@ 2010-10-13 19:37 tromey at redhat dot com
  2010-10-22 21:52 ` [Bug python/12118] " tromey at redhat dot com
  2010-11-15 17:07 ` tromey at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: tromey at redhat dot com @ 2010-10-13 19:37 UTC (permalink / raw)
  To: gdb-prs

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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug python/12118] add gdb.error base class for exceptions
  2010-10-13 19:37 [Bug python/12118] New: add gdb.error base class for exceptions tromey at redhat dot com
@ 2010-10-22 21:52 ` tromey at redhat dot com
  2010-11-15 17:07 ` tromey at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: tromey at redhat dot com @ 2010-10-22 21:52 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=12118

Tom Tromey <tromey at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at sourceware    |tromey at redhat dot com
                   |dot org                     |

-- 
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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug python/12118] add gdb.error base class for exceptions
  2010-10-13 19:37 [Bug python/12118] New: add gdb.error base class for exceptions tromey at redhat dot com
  2010-10-22 21:52 ` [Bug python/12118] " tromey at redhat dot com
@ 2010-11-15 17:07 ` tromey at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: tromey at redhat dot com @ 2010-11-15 17:07 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=12118

Tom Tromey <tromey at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #1 from Tom Tromey <tromey at redhat dot com> 2010-11-15 16:54:11 UTC ---
Fix checked in.

-- 
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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-11-15 16:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-13 19:37 [Bug python/12118] New: add gdb.error base class for exceptions tromey at redhat dot com
2010-10-22 21:52 ` [Bug python/12118] " tromey at redhat dot com
2010-11-15 17:07 ` tromey at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).