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.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,c689b55786a9f2bd X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!newsfeed.straub-nv.de!eternal-september.org!.POSTED!not-for-mail From: Warren Newsgroups: comp.lang.ada Subject: Re: Ada & gdb (was: for S'Image use Func??) Date: Mon, 10 May 2010 19:52:10 +0000 (UTC) Organization: A noiseless patient Spider Message-ID: References: Injection-Date: Mon, 10 May 2010 19:52:10 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="9f8M0iN5t54V+4DF/iqO8g"; logging-data="6454"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+1JU+PIEqYSJeBXr+QR8fLdMWc+ad0t9I=" User-Agent: Xnews/5.04.25 X-Face: &6@]C2>ZS=NM|HE-^zWuryN#Z/2_.s9E|G&~DRi|sav9{E}XQJb*\_>=a5"q]\%A;5}LKP][1mA{gZ,Q!j Cancel-Lock: sha1:LISiZByvwmApZrvk90EQXPFX+lY= Xref: g2news2.google.com comp.lang.ada:11465 Date: 2010-05-10T19:52:10+00:00 List-Id: John B. Matthews expounded in news:nospam-813426.14024410052010 @news.aioe.org: > In article , > Warren wrote: > >> GDB: >> >> One thing that I really miss in gdb, is the ability to >> set breakpoints. Often what I need to step through is >> buried deep inside the interpreter at a particular method, >> or "procedure". While gdb seems to know about Ada (mostly), >> I cannot seem to set qualified breakpoints where I need them. >> >> Is there some secret gdb voodoo for that? It's "help" >> doesn't seem to hint at this. It works for simple names, >> but if I need to qualify the "name" in any way, it rejects >> the request. I'm using cygwin's gdb: >> >> $ gdb --version >> GNU gdb 6.8.0.20080328-cvs (cygwin-special) > > (gdb) help break > Set breakpoint at specified line or function. > ... Heh heh, I know about that one. But I think I've located the problem-- libtool seems to be doing a link as -O2 and no debug symbols. Harumph... That explains why I was able to debug up to a point in this project. After I switched over to the "autocrap", this gdb hasn't been working right. Don't bother saying it... (about autocrap) ;-) Warren