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: [PATCH] gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp and unsupported catchpoints


(to answer Pedro's questions, the files in question are libgnat.a and
libgnat.so)

> Fedora strips everything to a separate debuginfo file in an automated
> way.  There might be an exception for one library, but last time I asked
> about this, I was told that exceptions are a pain and could we please do
> something else.  Also, the granularity of debuginfo packages is quite
> large.

I can see the reason for this, but it is kind of a pain for Ada.
I believe the makefiles already build the runtime without debugging
info except for the few files that we need (I think it's basically
a-tags.adb and a-except.adb)...

> If you can make it so this can work without debuginfo somehow, that
> would be much better for users.

The problem is that we need to get to the argument of function we are
breaking on in order to determine which exception has been raised.
That's where we really need the debug info. I think I even added
a comment about that in the code...

-- 
Joel


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