#9773: Add exception breakpoint support -------------------------------------+---------------------------- Reporter: bonefish | Owner: anevilyak Type: enhancement | Status: in-progress Priority: normal | Milestone: Unscheduled Component: Applications/Debugger | Version: R1/Development Resolution: | Keywords: Blocked By: 9713 | Blocking: Has a Patch: 0 | Platform: All -------------------------------------+---------------------------- Comment (by anevilyak): From some initial tests, trapping these functions does indeed work as expected as far as stopping the program when the exception is initially thrown. However, on gcc4.x this leads us to a problem due to some missing pieces in our x86 architecture support. Specifically, {{{__cxa_throw}}} appears to get built as a frameless function, as a consequence of which we don't actually wind up correctly unwinding to the location where the exception was actually thrown. I can work around this by breaking at {{{__cxa_allocate_exception}}} instead, but ideally it'd be nice to have proper frameless support anyways, especially as this will also be needed for x86-64 in general, since the ABI default there is omit-frame-pointer. Can you shed any light as to what it would take to resolve http://haiku.it.su.se:8180/source/xref/src/apps/debugger/arch/x86/ArchitectureX86.cpp#309 ? I must admit at the moment my knowledge of that area is woefully inadequate. -- Ticket URL: <http://dev.haiku-os.org/ticket/9773#comment:8> Haiku <http://dev.haiku-os.org> Haiku - the operating system.