On Thu, Jul 18, 2002 at 02:00:14PM -0700, Julian Elischer wrote:
> set radix 16
> and then print the trap frame again.. (#12)

#12 0xc02a0ce5 in trap (frame= {tf_fs = 0xc02a0018, tf_es = 0xc0320010,
tf_ds = 0xc0310010, tf_edi = 0xc191d094, tf_esi = 0xc0bc0f00, tf_ebp =
0xc8880c8c, tf_isp = 0xc8880c3c, tf_ebx = 0x405000, tf_edx = 0xc8ebada0,
tf_ecx = 0xc191fb40, tf_eax = 0xc191fb40, tf_trapno = 0xc, tf_err = 0x0,
tf_eip = 0xc02a0050, tf_cs = 0x8, tf_eflags = 0x10246, tf_esp =
0xc01b3da0, tf_ss = 0xb23f48e8}) at /usr/src/sys/i386/i386/trap.c:445

> then try use x/i on the contents of tf_eip to find where the actual fault
> was. Use 'disassemble' on that function to figure out where in the file
> you were.

(kgdb) x/i 0xc02a0050
0xc02a0050 <sw1b+11>:   cmp    0x0(%edx),%ebx

Which is i386/i386/swtch.s:182 I think.

This is where the address space is switched or not. However, this goes
above my head. Hopefully this helps you.

Thanks for the response!


Mark Santcroos                          RIPE Network Coordination Centre
http://www.ripe.net/home/mark/          New Projects Group/TTM

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to