cvs commit: src/sys/ddb db_examine.c
Robert Watson
rwatson at FreeBSD.org
Tue Apr 1 04:48:26 PDT 2008
rwatson 2008-04-01 11:48:25 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_7)
sys/ddb db_examine.c
Log:
Merge db_examine.c:1.35 from HEAD to RELENG_7:
Add a /S mode to DDB "ex" command, which interprets and prints the
value at the requested address as a symbol. For example, "ex /S
aio_swake" prints the name of the function currently registered in
via aio_swake hook.
The change as committed differs slightly from the patch in the PR,
as I force the size of the retrieved value (and the automatic
address increment) to be sizeof(void *). This seems to provide
the most useful auto-increment behavior, and defaults using the
default size (4), which is not sizeof(void *) on 64-bit platforms.
PR: 57976
Submitted by: Dan Strick <strick at covad.net>
Revision Changes Path
1.33.2.2 +6 -0 src/sys/ddb/db_examine.c
More information about the cvs-src
mailing list