This is the mail archive of the newlib@sources.redhat.com mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]