This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [commit/Ada] wrong "catch exception" error message when finding trampoline msym.
- From: Tom Tromey <tromey at redhat dot com>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 01 Oct 2013 09:41:58 -0600
- Subject: Re: [commit/Ada] wrong "catch exception" error message when finding trampoline msym.
- Authentication-results: sourceware.org; auth=none
- References: <1380618880-28301-1-git-send-email-brobecker at adacore dot com>
>>>>> "Joel" == Joel Brobecker <brobecker@adacore.com> writes:
Joel> When building the program with the shared GNAT runtime, the debugger
Joel> is unable to insert Ada exception catchpoints until that runtime
Joel> has been mapped to memory. In other words, we expect the user to start
Joel> the program first, before attempting to insert that catchpoint.
I'm curious why it doesn't make a pending breakpoint.
This is, in effect, what "catch catch" and "catch throw" do.
It's done manually there, by supplying a re_set method.
See break-catch-throw.c:re_set_exception_catchpoint.
Tom