This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [commit/Ada] wrong "catch exception" error message when finding trampoline msym.


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]