Mail Archives: djgpp/1999/03/19/07:33:51
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 -