Date: Fri, 7 Mar 2008 18:09:07 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/ddb db_examine.c Message-ID: <200803071809.m27I97In075943@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2008-03-07 18:09:07 UTC
FreeBSD src repository
Modified files:
sys/ddb db_examine.c
Log:
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.
MFC after: 3 days
PR: 57976
Submitted by: Dan Strick <strick at covad.net>
Revision Changes Path
1.35 +6 -0 src/sys/ddb/db_examine.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803071809.m27I97In075943>
