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=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,cde22e927264fcd4 X-Google-Attributes: gid103376,public From: "David C. Hoos, Sr." Subject: Re: GDB and exceptions Date: 1999/04/13 Message-ID: <7evndp$dmt@hobbes.crc.com>#1/1 X-Deja-AN: 465914948 References: X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Organization: Coleman Research Corporation Newsgroups: comp.lang.ada Date: 1999-04-13T00:00:00+00:00 List-Id: Boulais, Jeffrey M wrote in message ... >I'm trying to set a breakpoint on exceptions. Whenever I try, I get a >'Couldn't open "a-except.adb": no such file or directory' message. Does >anyone have a suggestion? > add a line in your .gdbinit file: directory where is the full pat the gnat's adainclude directory in your environment. For example, on my NT machine, I have this line in .gdbinit: directory c:/GNAT/lib/gcc-lib/pentium-mingw32msv/2.8.1/adainclude/ This directory can usually be obtained by typing "gcc -v" and replacing the "specs" at the end of the line of output with "adainclude"