Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
NetBSD master CVS tree commits
gwr
Mon Feb 10 16:01:16 PST 1997
Update of /cvsroot/src/sys/arch/sun3/sun3
In directory netbsd1:/var/slash-tmp/cvs-serv5500
Modified Files:
trap.c
Log Message:
Change most occurrences of "struct frame" (union of all frames formats)
to "struct trapframe" (the minimal frame) because in most cases, all we
care about is the minimal, invariant part. Further, if the declaration
says we have an arg of type "frame" (big union), then KGDB will try to
print the whole bloody thing out whether you want to see it or not.
Also add the function trap_kdebug() which takes care of calling one of:
kgdb_trap (for KGDB), or kdb_trap, (for DDB) or the Sun PROM monitor.
This logic used to be in locore, but it is better as C code.
gwr
Mon Feb 10 16:05:02 PST 1997
Update of /cvsroot/src/sys/arch/sun3/sun3
In directory netbsd1:/var/slash-tmp/cvs-serv6111
Modified Files:
locore.s
Log Message:
Move the logic about entering the kernel debugger (whichever one) to
trap.c:trap_kdebug() so it can be C code instead of assembly.
Make sure the initial frame pointer is zero so KGDB will know when to
stop trying to follow frame pointers during backtrace.
Home |
Main Index |
Thread Index |
Old Index