From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,39771fafaed6ec26,start X-Google-Attributes: gid103376,public From: rowley@harp.camb (Michael Rowley) Subject: Gdb gets confused Date: 1996/06/21 Message-ID: #1/1 X-Deja-AN: 161397371 sender: rowley@harp.camb x-nntp-posting-host: harp.camb.inmet.com organization: Intermetrics, Inc. reply-to: rowley@inmet.com newsgroups: comp.lang.ada Date: 1996-06-21T00:00:00+00:00 List-Id: 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