What is the default break-to-debugger key sequence on ARM?

Warner Losh imp at bsdimp.com
Fri Apr 6 16:45:51 UTC 2018


On Fri, Apr 6, 2018 at 10:28 AM, Ian Lepore <ian at freebsd.org> wrote:

> On Fri, 2018-04-06 at 09:23 -0700, bob prohaska wrote:
> > On Fri, Apr 06, 2018 at 07:20:14PM +0300, Daniel Braniss wrote:
> > >
> > >
> > >
> > > >
> > > > On 6 Apr 2018, at 18:33, bob prohaska <fbsd at www.zefox.net> wrote:
> > > >
> > > > What is the present default keysequence to get into the debugger
> > > > on
> > > > armv7 and arm64? I think it used to be esc-ctrl-b on the serial
> > > > console,
> > > > but that has no effect.
> > > >
> > > try ~^B
> > >
> > >
> > Thank you, that worked.
> >
> > bob prohaska
>
> Actually the full sequence is carriage-return, then ~, then ^B.
>
> If you do something like start to type, then backspace so the line is
> empty, then do the ~^B it won't work, because CR wasn't the keystroke
> immediately preceeding the ~.
>

This is documented in ddb man page now :) It wasn't for a long time.

Warner


More information about the freebsd-arm mailing list