Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Feb 1996 00:19:29 +1100
From:      Bruce Evans <bde@zeta.org.au>
To:        Mattias.Gronlund@sa.erisoft.se, joerg_wunsch@uriah.heep.sax.de
Cc:        freebsd-hackers@freefall.freebsd.org
Subject:   Re: Whither ddb
Message-ID:  <199602241319.AAA04558@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>The handbook says:
>  The DDB commands roughly resemble some gdb commands. The first you 
>  probably need is to set a breakpoint: 
> 
>       b function-name
>       b address

>But if I try to use the b function-name I always get the response that
>there is no symbol with that name (I have tried different function names).
>My kernel has the OPTION DDB and is configured with -d and it is not 
>stripped.

Perhaps you have a very old boot loader that doesn't load symbol tables.

You can tell if you have symbols by looking at the disassembly of the
current instruction.  For entry via Ctrl-PrintScreen it should look
something like:

	Stopped at      _Debugger+0x2b: movb    $0,_in_Debugger.100
	db>

ddb doesn't understand names with `.' in them like the one above.

Bruce



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