Re: trap and frame address

Beesdeckar <[email protected]>
Newsgroups gmane.os.netbsd.devel.kernel
Organization Soft in Engines
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.