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 Brobecker (brobecker@adacore.com):

> > I'm curious why it doesn't make a pending breakpoint.
> > This is, in effect, what "catch catch" and "catch throw" do.
> 
> Thanks for the tip. We've never looked at this mostly because no one
> has ever asked for it.  I will keep that in mind, though.

There could be a problem for configurations where exception
propagation is not supported. In such a case, the Ada run-time lib
does not contain __gnat_debug_raise_exception. So here having a error
message would be better than silently accepting the command and adding
a pending breakpoint that would never be resolved.


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