public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug d/24105] Cannot catch D exception
       [not found] <bug-24105-4717@http.sourceware.org/bugzilla/>
@ 2022-12-06 16:36 ` tromey at sourceware dot org
  0 siblings, 0 replies; only message in thread
From: tromey at sourceware dot org @ 2022-12-06 16:36 UTC (permalink / raw)
  To: gdb-prs

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

Tom Tromey <tromey at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tromey at sourceware dot org

--- Comment #2 from Tom Tromey <tromey at sourceware dot org> ---
"catch throw" works by hooking into the low-level unwinder.
This is also how the "next-over-throw" feature works.

For this to work for D, someone would have to know how the
D exception mechanism works, and implement that in gdb.
This isn't extremely difficult, but it does require some
ABI coordination and knowledge.

Unfortunately right now nobody is actively maintaining the D
code in gdb.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-12-06 16:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-24105-4717@http.sourceware.org/bugzilla/>
2022-12-06 16:36 ` [Bug d/24105] Cannot catch D exception 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).