This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/15176] New: provide convenience variable holding exceptionobject


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

             Bug #: 15176
           Summary: provide convenience variable holding exception object
           Product: gdb
           Version: unknown
            Status: NEW
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned@sourceware.org
        ReportedBy: tromey@redhat.com
    Classification: Unclassified


For conditional "catch catch" and "catch throw"s, it would
be nice to have a convenience variable that holds the current
exception object.  Something like:

catch throw if $_exception == 57

This is maybe related to PR 13588 -- if we go the probe
point route, the probe should expose this information as well.

The ideal thing would be to use the typeinfo to construct
an object of the right type in gdb.

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]