RFA: Add debug information to MN10300 machine functions
Nick Clifton
nickc@redhat.com
Mon Nov 19 13:12:00 GMT 2007
Hi Jeff,
Please can apply the attached patch ? It adds DWARF2 debug
information to the hand coded MN10300 functions in
libc/machine/mn10300. The gas switch --gdwarf-2 is used to add some
of the information, and the call frame info is just created by hand.
Tested by building an mn10300-elf toolchain and running the GDB
testsuite. It reduced the unexpected failures by about 30.
Cheers
Nick
newlib/ChangeLog
2007-11-19 Nick Clifton <nickc@redhat.com>
* libc/machine/mn10300/Makefile.am (CCASFLAGS): Add -Wa,--gdwarf-2.
* libc/machine/mn10300/Makefile.in: Regenerate.
* libc/machine/mn10300/memchar.S: Remove redundant labels. Add
.debug_frame section.
* libc/machine/mn10300/memcmp.S: Likewise.
* libc/machine/mn10300/memcpy.S: Likewise.
* libc/machine/mn10300/memset.S: Likewise.
* libc/machine/mn10300/strchr.S: Likewise.
* libc/machine/mn10300/strcmp.S: Likewise.
* libc/machine/mn10300/strcpy.S: Likewise.
* libc/machine/mn10300/strlen.S: Likewise.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mn10300.machine.patch
Type: text/x-patch
Size: 21249 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20071119/8584ae1a/attachment.bin>
More information about the Newlib
mailing list