delorie.com/archives/browse.cgi | search |
Message-Id: | <m10X4qU-000S8kC@inti.gov.ar> |
Comments: | Authenticated sender is <salvador AT natacha DOT inti DOT gov DOT ar> |
From: | "Salvador Eduardo Tropea (SET)" <salvador AT inti DOT gov DOT ar> |
Organization: | INTI |
To: | "Rafael Garc a" <rafael AT geninfor DOT com>, djgpp AT delorie DOT com |
Date: | Tue, 13 Apr 1999 12:15:51 +0000 |
MIME-Version: | 1.0 |
Subject: | Re: Phantom lines debugging within RHIDE |
In-reply-to: | <7eutne$r6k$1@lola.ctv.es> |
X-mailer: | Pegasus Mail for Windows (v2.54) |
X-MIME-Autoconverted: | from Quoted-printable to 8bit by delorie.com id LAA12056 |
Reply-To: | djgpp AT delorie DOT com |
X-Mailing-List: | djgpp AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
"Rafael Garcİa" <rafael AT geninfor DOT com> wrote: > I am trying to step through this code and lines 2 and 3 are skipped with a > single hit to F8 > > pos=(int)(p-letras); > activar=(isupper(*s)); > if ( activar) fputs(" ",f); > if (*s=='B') { > > And I cannot watch the value of variable 'activar': "not available" > > Any idea? Yes: turn off optimizations ;-) isupper is just a table look-up so the compiler will optimize it. Also if you insist using -On use -gstabs3 or even -gstabs+ because they add some information about optimized variables, but even with that some variables stored in register can't be debugged and you'll need to move them to static variables SET ------------------------------------ 0 -------------------------------- Visit my home page: http://welcome.to/SetSoft or http://www.geocities.com/SiliconValley/Vista/6552/ Salvador Eduardo Tropea (SET). (Electronics Engineer) Alternative e-mail: set-soft AT usa DOT net set AT computer DOT org ICQ: 2951574 Address: Curapaligue 2124, Caseros, 3 de Febrero Buenos Aires, (1678), ARGENTINA TE: +(5411) 4759 0013
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |