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: [RFA] (Ada) Add gdb-mi support for stopping at start of exception handler.


Hi Simon,

Thanks for the review!

> I would like to try running the test, but I am not able to catch
> handlers with my setup, I get the "Your Ada runtime appears to be
> missing some debugging information" message.  I am on Ubuntu 16.04, do
> you know how to set up the environment on that distro to get it
> working, is it just a matter of installing the right package?  Right
> now I have the gnat-5 package installed, from the xenial-updates
> official repository.

I think you need to add one of the "debug" packages. I know that
some GNU/Linux distribution providers have a policy of providing
everything stripped by default, with the option of installing
debug packages when needed. I recommend the debug package be installed
when debugging Ada, as GDB needs the debugging information on a small
fraction of them in order to implement some of the functionality.
Exception handling is one of them.

Users of GNAT built from sources do not suffer from this issue
(of the stripped runtime), because the default mode for building
ensures that the few units we need are indeed built with debug info.

-- 
Joel


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