Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Jul 97 19:43:59 +0500
From:      "Igor" <igor@blik.samara.su>
To:        hackers@freebsd.org
Subject:   kernel debugging
Message-ID:  <AAlYXrpK_6@blik.samara.su>

next in thread | raw e-mail | index | archive | help
I starting DDB and set breakpoint to rt_xaddrs
$ b rt_xaddrs
$ c
then I do
# route delete xxx.xxx.xxx.
then DDB say's: Breakpoint at rt_addrs
I do
$ trace
and receive
_rt_xaddrs(...) at _rt_xaddrs
_route_output(...) at _route_output
_raw_usrreq(...) at _raw_usrreq
.....
_syscall(...) at _syscall
Bad user frame pointer: 0xXXXXXX
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  1. Why I receive this ?

Then I want make kernel core dump and I do (in DDB)
$ panic

  2. What another way making kernel dump ?

Then I do (after restart my PC)
# gdb -k -s /kernel.gdb -e ... -c ...
gdb> bt
...
rt_xaddr(...)
raw_usrreq(...)
...
gdb>

  3. Why I can't see route_output in steck ?
--- 
  igor@blik.samara.su (Igor) 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AAlYXrpK_6>