Assembly/C source ?

Jyothi jyothi.s@ap.sony.com
Wed Oct 29 14:16:00 GMT 2003


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.






More information about the Newlib mailing list