RFA: Add debug information to MN10300 machine functions

Jeff Johnston jjohnstn@redhat.com
Thu Nov 22 00:55:00 GMT 2007


Done.

-- Jeff J.

Nick Clifton wrote:
> 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.
> 
> 



More information about the Newlib mailing list