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!mx02.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: GDB - El Capitan Date: Sat, 17 Oct 2015 21:14:25 +0100 Organization: A noiseless patient Spider Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="20fbd190bb9d0acbcc1326050ba852dd"; logging-data="23637"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+MbzhrnEwSssmNXb9n6WwqsbJz3yZReKk=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (darwin) Cancel-Lock: sha1:HY5h2YpF9Memo3I0e9RAEA4goSU= sha1:JTtYg4h2xfwyxhelvHByQgAJ1mQ= Xref: news.eternal-september.org comp.lang.ada:27993 Date: 2015-10-17T21:14:25+01:00 List-Id: "Jeffrey R. Carter" writes: > On 10/17/2015 12:38 AM, Simon Wright wrote: >> >> I guess that if you're debugging a mixed-language program you could >> then 'set language auto' ... hmm, no. Still, I'm saved from >> Put_Line's all over the place! > > Which would have found your problem sooner: Your fight with GDB or > some well placed Put_Lines? Hard to say; it turned out that I'd arrived at the right answer by the unaided power of thought! and was able to use GDB to confirm. I've got fairly accustomed to using arm-eabi-gdb to deal with low-level hardware interfacing misunderstandings, where it was invaluable (not least because of having nowhere for the Put_Lines to go.)