www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/03/19/07:33:51

Message-Id: <m10NyPd-000S7GC@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: Nate Eldredge <nate AT cartsys DOT com>, djgpp AT delorie DOT com
Date: Fri, 19 Mar 1999 09:41:53 +0000
MIME-Version: 1.0
Subject: Re: RHIDE on Linux problem !!!!!
In-reply-to: <36F1ABBD.21587EBC@cartsys.com>
X-mailer: Pegasus Mail for Windows (v2.54)
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

Nate Eldredge <nate AT cartsys DOT com> wrote:

> Salvador Eduardo Tropea (SET) wrote:
> > 
> > Pollini Andrea <nelson AT numerica DOT it> wrote:
> > 
> > > I am running RHIDE for Linux and i have a strange problem.
> > > When i try to debug my program ( pressing F7 ) , RHIDE tell me he can't
> > > find strncmp.c or something else .
> > > Why ?????
> > 
> > Are you using strncmp? is when you step over a line that contains an strncmp
> > call? If yes then that's because you have debug information in your libc,
> > perhaps you installed a development version of the library with debug
> > information and you are linking your program with it. But it sounds very
> > strange, in distributions like Debian libraries with debug information have
> > special names, for example libXXX_g.a instead of libXXX.so (note: they are
> > usually static versions).
> 
> Functions loaded from the shared libraries are handled by a process that
> IIRC involves strncmp.  I suspect the way to handle it is to use `next'
> whenever possible.

So then he *is* using a libc with debug information, or at least the dynamic 
loader library. I debugged inside the dynamic loader library, but using the 
Disassembler Window of RHIDE (was needed to find a bug in gcc 2.7.2.3 that 
made the dynamic Turbo Vision for Linux crash).
Additionally: at least in my system the dynamic loader doesn't call libc at 
all so then is using some inline version of strncmp or was just removed in 
glibc (wich I use).

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019