public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/9599] catch catch and catch throw restore control of the inferior inside libstd exception handler and  throw code.
       [not found] <bug-9599-4717@http.sourceware.org/bugzilla/>
@ 2013-02-20 21:56 ` tromey at redhat dot com
  2013-02-22 16:05 ` tromey at redhat dot com
  2023-02-17 19:49 ` tromey at sourceware dot org
  2 siblings, 0 replies; 3+ messages in thread
From: tromey at redhat dot com @ 2013-02-20 21:56 UTC (permalink / raw)
  To: gdb-prs

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

Tom Tromey <tromey at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tromey at redhat dot com

--- Comment #1 from Tom Tromey <tromey at redhat dot com> 2013-02-20 21:56:52 UTC ---
I don't think there is a very good way to do this directly,
but it could be faked by installing a frame filter that
notices that the newest frame is __cxa_begin_catch and that
the PC is where "catch catch" placed it.
Then, the filter can simply elide the first frame.

However, this would yield somewhat strange results.
First, it isn't clear whether a frame filter can actually
elide the first frame.
Second, this would yield a situation where "bt" would report
the selected frame as the user's code, but where the
actual selected frame would be in libstdc++; so things
like "info locals" would fail.
I think that fixing this requires the next step of frame filters, namely
integration with frame selection.

-- 
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 c++/9599] catch catch and catch throw restore control of the inferior inside libstd exception handler and  throw code.
       [not found] <bug-9599-4717@http.sourceware.org/bugzilla/>
  2013-02-20 21:56 ` [Bug c++/9599] catch catch and catch throw restore control of the inferior inside libstd exception handler and throw code tromey at redhat dot com
@ 2013-02-22 16:05 ` tromey at redhat dot com
  2023-02-17 19:49 ` tromey at sourceware dot org
  2 siblings, 0 replies; 3+ messages in thread
From: tromey at redhat dot com @ 2013-02-22 16:05 UTC (permalink / raw)
  To: gdb-prs

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

Tom Tromey <tromey at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |archer

-- 
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 c++/9599] catch catch and catch throw restore control of the inferior inside libstd exception handler and  throw code.
       [not found] <bug-9599-4717@http.sourceware.org/bugzilla/>
  2013-02-20 21:56 ` [Bug c++/9599] catch catch and catch throw restore control of the inferior inside libstd exception handler and throw code tromey at redhat dot com
  2013-02-22 16:05 ` tromey at redhat dot com
@ 2023-02-17 19:49 ` tromey at sourceware dot org
  2 siblings, 0 replies; 3+ messages in thread
From: tromey at sourceware dot org @ 2023-02-17 19:49 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=9599

Tom Tromey <tromey at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tromey at sourceware dot org
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #2 from Tom Tromey <tromey at sourceware dot org> ---
I no longer think it makes sense to try to do this.
There's really no good way, and having a frame filter try
to work around this is more likely to just confuse people
than to help.

-- 
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:[~2023-02-17 19:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-9599-4717@http.sourceware.org/bugzilla/>
2013-02-20 21:56 ` [Bug c++/9599] catch catch and catch throw restore control of the inferior inside libstd exception handler and throw code tromey at redhat dot com
2013-02-22 16:05 ` tromey at redhat dot com
2023-02-17 19:49 ` tromey at sourceware dot org

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