Date: Wed, 9 Apr 2008 16:34:13 +0300 From: "Mr Y" <yonyossef.lists@gmail.com> To: freebsd-questions@freebsd.org Subject: working with kdb/ddb Message-ID: <20def4870804090634k45eaf750s4b6e69e7ed841e26@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hi,
i'm trying to extract some memory values of my variables, but the debugger
doesn't know any of my variables, saying "unknown symbol" or something like
that.
i get the function names in the 'trace' though, so the symbols are there.
does anybody know how to read the variables after the crash?
e.g.
Fatal trap 12: page fault while in kernel mode
fault virtual address = 0x1
fault code = supervisor read data, page not present
instruction pointer = 0x8:0xffffffff806b0b17
stack pointer = 0x10:0xffffffffbc17eae0
frame pointer = 0x10:0xffffffffbc17eb20
code segment = base 0x0, limit 0xfffff, type 0x1b
= DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags = interrupt enabled, resume, IOPL = 0
current process = 1269 (mtnic0 taskq)
[thread pid 1269 tid 100087 ]
Stopped at _bus_dmamap_unload+0x17: movq (%rsi),%rax
db> trace
Tracing pid 1269 tid 100087 td 0xffffff00beaf3be0
_bus_dmamap_unload() at _bus_dmamap_unload+0x17
mtnic_free_pages() at mtnic_free_pages+0x5c
mtnic_init_nic() at mtnic_init_nic+0xa5
mtnic_restart_nic() at mtnic_restart_nic+0xa3
taskqueue_run() at taskqueue_run+0xd7
taskqueue_thread_loop() at taskqueue_thread_loop+0x85
fork_exit() at fork_exit+0x86
fork_trampoline() at fork_trampoline+0xe
--- trap 0, rip = 0, rsp = 0xffffffffbc17ed00, rbp = 0 ---
db>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20def4870804090634k45eaf750s4b6e69e7ed841e26>
