This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
Assembly/C source ?
- From: "Jyothi" <jyothi dot s at ap dot sony dot com>
- To: "J. Johnston" <jjohnstn at redhat dot com>, "Joel Sherrill" <joel dot sherrill at OARcorp dot com>
- Cc: <newlib at sources dot redhat dot com>
- Date: Mon, 27 Oct 2003 11:38:39 +0530
- Subject: Assembly/C source ?
- References: <3F994B99.4090903@redhat.com>
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.