Date: Mon, 16 Dec 2013 18:09:00 -0800 From: Peter Grehan <grehan@freebsd.org> To: Neel Natu <neelnatu@gmail.com> Cc: "freebsd-virtualization@freebsd.org" <freebsd-virtualization@freebsd.org> Subject: Re: break to debugger in bhyve Message-ID: <52AFB23C.9000802@freebsd.org> In-Reply-To: <CAFgRE9G6eofjPhx-2tNcabj9H83uO7A57bF7zoKiXH6igYJ1qQ@mail.gmail.com> References: <CED388F2.1AA90%michael.berman@tidalscale.com> <52AE52DD.6020500@freebsd.org> <03322001-03C7-491F-B97D-64EA2E89BF6C@tidalscale.com> <CAFgRE9G6eofjPhx-2tNcabj9H83uO7A57bF7zoKiXH6igYJ1qQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> Works fine for me once I compile with the ALT_BREAK_TO_DEBUGGER config option. Also works without that, but the sysctl (or tunable) has to be set: root@bhyve-b1:~ # sysctl debug.kdb.alt_break_to_debugger=1 debug.kdb.alt_break_to_debugger: 0 -> 1 (issued the 3-char sequence CR ~ ctl-b) root@bhyve-b1:~ # KDB: enter: Break to debugger [ thread pid 11 tid 100003 ] Stopped at kdb_alt_break_internal+0x17f: movq $0,kdb_why db> later, Peter.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52AFB23C.9000802>