comp.lang.ada
 help / color / mirror / Atom feed
* Gdb gets confused
@ 1996-06-21  0:00 Michael Rowley
  1996-06-22  0:00 ` Robert Dewar
  1996-06-22  0:00 ` Gdb gets confused Robert Dewar
  0 siblings, 2 replies; 5+ messages in thread
From: Michael Rowley @ 1996-06-21  0:00 UTC (permalink / 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




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1996-06-28  0:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-06-21  0:00 Gdb gets confused Michael Rowley
1996-06-22  0:00 ` 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

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