comp.lang.ada
 help / color / mirror / Atom feed
From: rowley@harp.camb (Michael Rowley)
Subject: Gdb gets confused
Date: 1996/06/21
Date: 1996-06-21T00:00:00+00:00	[thread overview]
Message-ID: <eaafxxkx4w.fsf@harp.camb> (raw)



I hope someone knows of a work-around to a nasty problem in GDB when
using it with Gnat.

We have been using the Ada aware version of GDB (version
4.15.1.gnat.1.10) which usually works great, except that sometimes
when it hits a break it gets confused about what function it is in.
It correctly identifies the line number and file of the break, but it
thinks that it is in a different function from the same file.  When it
does this it is a pain.  We can't see the local variables or
arguments, and it can't even step correctly.  

We suspect it has something to do with the order of the function
definitions in the spec and/or the body, and seems to be more common
in packages with a lot of dispatching functions.  Does anyone know how
to get around this problem?  Thanks in advance.

Michael Rowley
rowley@inment.com




             reply	other threads:[~1996-06-21  0:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-06-21  0:00 Michael Rowley [this message]
1996-06-22  0:00 ` Gdb gets confused Robert Dewar
1996-06-26  0:00   ` GNAT tracking #s Peter Hermann
1996-06-28  0:00     ` Robert Dewar
1996-06-22  0:00 ` Gdb gets confused Robert Dewar
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox