This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: catchpoints
- From: Paul Dubuc <pdubuc at cas dot org>
- To: Daniel Berlin <dberlin at dberlin dot org>
- Cc: Daniel Jacobowitz <drow at mvista dot com>, gdb at sources dot redhat dot com
- Date: Thu, 18 Jul 2002 16:17:27 -0400
- Subject: Re: catchpoints
- Organization: Chemical Abstracts Service (CAS)
- References: <Pine.LNX.4.44.0207181607240.17424-100000@dberlin.org>
Daniel Berlin wrote:
>
> On Thu, 18 Jul 2002, Daniel Jacobowitz wrote:
>
> > On Thu, Jul 18, 2002 at 04:00:43PM -0400, Paul Dubuc wrote:
> > > I'm using gdb 5.2 on Solaris 8 to debug code compiled with g++ 2.95.3.
> > > When I try to enter 'catch throw' or 'catch catch' commands I get a
> > > message that says
> > >
> > > no runtime support for this
> > >
> > > Does this mean I need to rebuild gdb to support these commands or is it
> > > just that they aren't supported for this OS or compiler?
> > >
> > > I can't find any info in the manual about this.
> >
> > I believe they're only supported on HP/UX (and none of the HP/UX
> > support works quite right any more...). I don't think anyone has tried
> > to implement them on GCC code yet.
>
> Actually, I did, and had it working just fine.
> It's actually not that difficult, but it is ABI specific.
Which version of GCC does it work for? If it doesn't work for 2.95.3,
does it work for 3.1?
--
Paul M. Dubuc