citrun

watch C/C++ source code execute
Log | Files | Refs | LICENSE

commit 86c72ec9d09be57ecca5ea99d3cc12bd3df8ad98
parent 1109648f6c772dee9fe09b3f98943743a3c2b5bc
Author: Kyle Milz <kyle@getaddrinfo.net>
Date:   Sun, 10 Apr 2016 13:07:55 -0600

man: tighten wrap example

Diffstat:
Mbin/citrun_wrap.1 | 14++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/bin/citrun_wrap.1 b/bin/citrun_wrap.1 @@ -40,19 +40,21 @@ Is prepended with so that binaries in that directory have the highest precedence. .El .Sh EXAMPLES -The following -.Qq Makefile -is for a simple target application that we want to see run: +The following Makefile builds a simple target application named +.Qq program . .Bd -literal -offset indent PROG = program SRCS = main.c -include <bsd.prog.mk> +\&.include <bsd.prog.mk> .Ed .Pp -Then +To see +.Qq program +run, prepend .Nm -is used to setup the environment correctly for instrumentation: +to the native build command. In this case that build command is +.Qq make : .Pp .Dl $ citrun_wrap make .Sh SEE ALSO