c++/2494: catch catch and catch throw restore control of the inferior inside libstd exception handler and throw code.
pmuldoon@redhat.com
pmuldoon@redhat.com
Tue Aug 5 16:28:00 GMT 2008
>Number: 2494
>Category: c++
>Synopsis: catch catch and catch throw restore control of the inferior inside libstd exception handler and throw code.
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Tue Aug 05 16:28:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: pmuldoon@redhat.com
>Release: unknown-1.0
>Organization:
>Environment:
>Description:
catch catch - when the inferior enters an exception handler (in C++) "catch catch" returns control inside the __cxa_begin_catch code in libstdc++ library.
catch throw - when the inferior throws an exception (in C++) "catch throw" returns control inside the __cxa_throw code in libstdc++ library.
Both of these occur as the "catch catch" and "catch throw" operate by placing a breakpoint in __cxa_begin_catch and __cxa_throw libstdc++ functions respectively. While this is technically within "the code", it would be a better user experience to return control of the inferior at the line of the catch or throw, before it has executed the catch of throw.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the Gdb-prs
mailing list