If a panic occurs from a BIOS call (16 bit mode) or VM86 DDB will attempt
authorMatthew Dillon <dillon@dragonflybsd.org>
Fri, 7 Nov 2003 06:00:32 +0000 (06:00 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Fri, 7 Nov 2003 06:00:32 +0000 (06:00 +0000)
commit55a2e6d44b608b07841c11e4bbe413ec058a4001
treea2f459a41547881e4af9f99662a81730575288ea
parent1fb1e4cd2460414b718d23b6f614d6b34eb63397
If a panic occurs from a BIOS call (16 bit mode) or VM86 DDB will attempt
to disassemble the instruction @ eip.  The problem is that eip is not a
valid KVM address since it is relative to a different %cs selector.  This
commit causes DDB to make appropriate conversions when accessing %eip,
%esp, and %ebp.
sys/cpu/i386/include/db_machdep.h
sys/i386/i386/db_interface.c
sys/i386/i386/db_trace.c
sys/i386/include/db_machdep.h
sys/platform/pc32/i386/db_interface.c
sys/platform/pc32/i386/db_trace.c