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


On Wednesday 07 December 2011 10:01:01, Joel Brobecker wrote:
> > (gdb) catch exception
> > Cannot insert catchpoints in this configuration.
> 
> We're going to have to talk to the guys who decided to build the Ada
> runtime without debugging info. The normal way to build the runtime
> is no debug info *except* for a few files. This is really doing a
> disservice to the users!

This is plain gcc/gnat as shipped on Ubuntu 11.04.  It may be
that the idea is that since this is not necessary for backtracing,
it's not crucial, and then one is expected to install some -dev
or -dbg package to be able to fully debug Ada?  But then again,
I've installed all gnat related -dev and -dbg packagets I could
find now, and I still get catchpoints unsupported.  What library
is supposed to have these symbols?

> Grumble, grumble, grumble. Sorry.

That's fine.  :-)

> > gdb/testsuite/
> > 2011-12-06  Pedro Alves  <pedro@codesourcery.com>
> > 
> > 	* gdb.ada/catch_ex.exp: Skip as unsupported if "catch exception"
> > 	throws "Cannot insert catchpoints in this configuration".
> > 	* gdb.ada/mi_catch_ex.exp: Likewise.
> 
> ... I think that this is a good stop-gap measure. It helps you, so
> it's OK to go in. I'll cleanup afterwards anyways.  Thanks for doing
> that.

Alright, I've checked it in now.  Thanks!

-- 
Pedro Alves


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