Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-4] src/sys/arch



Module Name:    src
Committed By:   liamjfoy
Date:           Mon Jun 11 12:24:53 UTC 2007

Modified Files:
        src/sys/arch/mips/conf [netbsd-4]: Makefile.mips
        src/sys/arch/mips/mips [netbsd-4]: trap.c
        src/sys/arch/sbmips/conf [netbsd-4]: GENERIC

Log Message:
Pull up following revision(s) (requested by tsutsui in ticket #715):
        sys/arch/mips/mips/trap.c: revision 1.212
        sys/arch/sbmips/conf/GENERIC: revision 1.60
        sys/arch/mips/conf/Makefile.mips: revision 1.46
Preserve local symbols on linking a kernel so that
we can get more useful trace on ddb(4).
Bump SYMTAB_SPACE so that it fits again.
Use the kernel symbol table to see the beginning of the current
subroutine to get more proper backtrace on ddb(4).
In the previous code it scans backwards from the current PC
for the end of the previous subroutine and checks "jr ra" or
"jr k0" instructions, but it often fails because gcc is
so aggressive nowadays as to reorder instruction blocks
to create efficient code path by branch predict etc. and
"jr ra" is not always located at the end of subroutines.
No objection on port-mips.


To generate a diff of this commit:
cvs rdiff -r1.44 -r1.44.6.1 src/sys/arch/mips/conf/Makefile.mips
cvs rdiff -r1.206 -r1.206.6.1 src/sys/arch/mips/mips/trap.c
cvs rdiff -r1.59.2.1 -r1.59.2.2 src/sys/arch/sbmips/conf/GENERIC

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index