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.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: GPS - invoking GDB Date: Sat, 13 May 2017 20:17:49 +0100 Organization: A noiseless patient Spider Message-ID: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="f6a685556b7d6bc819630498c7e228c8"; logging-data="31786"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+lhWmmFVagLbq+w2XQ20pz7MqK9SOCcjQ=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (darwin) Cancel-Lock: sha1:YWjUKfQKrGmdI65ZHAg6/RqiYs8= sha1:AJ454BFhiH2G9LbXSHZ7nbE3ZHg= Xref: news.eternal-september.org comp.lang.ada:46770 Date: 2017-05-13T20:17:49+01:00 List-Id: There is still a problem (at any rate on macOS) with using GDB on executables generated with FSF GCC, as in GDB bug #11385 [1]: (gdb) catch exception Your Ada runtime appears to be missing some debugging information. Cannot insert Ada exception catchpoint in this configuration. One workround is to start the session using -readnow: gdb -readnow foo But, how to do this with GPS? there's probably some Python magic?? [1] https://sourceware.org/bugzilla/show_bug.cgi?id=11385