This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
Fw: Assembly/C source ?
- From: "Jyothi" <jyothi dot s at ap dot sony dot com>
- To: <newlib at sources dot redhat dot com>
- Date: Tue, 28 Oct 2003 11:06:03 +0530
- Subject: Fw: Assembly/C source ?
> Hi,
>
> While deugging my application linked with Newlib-1.1.0 on Linux machine,
I
> am not able to single step through the memcpy () ;
>
> I observed that the implementation is available in
> 1./libc/string/memcpy.c
> 2./libc/machine/i386/memcpy.S
> Makefile says to pick it from the assembly source itself ? i.e., the order
> of linking says to pickup memcpy.S first ?
>
> I did the following to step into assembly source file :
> I compiled memcpy.S alone with --gstabs and replaced the earlier libc.a
for
> memcpy.o
> Then also I am not able to step into the memcpy.S ?
>
>
> I am using the gdb on RedHat Linux 5.1.90 CVS-5
> Any pointers on this would be helpfull.
> Thanking you
> Jyothi.
>
>
>
>