tech-kern archive

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

Re: trap and frame address



Update:

When I use address from gdb bt output:
...
#4  0xffffffff8023c185 in trap (frame=0xffffb80384d5ae90) at /usr/src/
sys/arch/amd64/amd64/trap.c:326
...

and display content of memory then I can find error 2 and trap number 6 in down of output below. In accordance with struct trapframe for amd64 stored rbp register should be: 0xffffdb8384d5afd0, but when I try:
(gdb) frame address 0xffffdb8384d5afd0
No frame at address 0xffffdb8384d5afd0.

What am I doing wrong ?




(gdb) x/50x 0xffffdb8384d5ae90
0xffffdb8384d5ae90: 0x0000001a 0x00000000 0x84d30000 0xffffdb83 0xffffdb8384d5aea0: 0x00000008 0x00000000 0x00000000 0x00000000 0xffffdb8384d5aeb0: 0x00000008 0x00000000 0x88d90034 0xffffbbe4 0xffffdb8384d5aec0: 0x880cc388 0xffffbbe4 0x00000001 0x00000000 0xffffdb8384d5aed0: 0x84d5afd0 0xffffdb83 0x00000100 0x00000000 0xffffdb8384d5aee0: 0x879b52c0 0xffffbbe4 0x00000000 0x00000000 0xffffdb8384d5aef0: 0x8a315770 0xffffbbe4 0x8a315770 0xffffbbe4 0xffffdb8384d5af00: 0x8a315770 0xffffbbe4 0x19c48000 0xffffdb80 0xffffdb8384d5af10: 0x84d5afd0 0xffffdb83 0x00000100 0x00000000 0xffffdb8384d5af20: 0x00000000 0x00000000 0x00000008 0xffffffff 0xffffdb8384d5af30: 0x84d5af90 0xffffdb83 0x84d5af40 0xffffdb83 0xffffdb8384d5af40: 0x0000000e 0x00000000 0x00000006 0x00000000
0xffffdb8384d5af50:     0x00000002      0x00000000



Home | Main Index | Thread Index | Old Index