simplify flag interface. no more BVal etc. you just get a pointer.
fixed everything except the tutorial.

R=rsc
DELTA=404  (94 added, 139 deleted, 171 changed)
OCL=22414
CL=22422
diff --git a/test/mallocrep.go b/test/mallocrep.go
index 8373cc0..26537a0 100644
--- a/test/mallocrep.go
+++ b/test/mallocrep.go
@@ -13,14 +13,13 @@
 	"malloc"
 )
 
-var chatty bool;
-var chatty_flag = flag.Bool("v", false, &chatty, "chatty");
+var chatty = flag.Bool("v", false, "chatty");
 
 var oldsys uint64;
 func bigger() {
 	if st := malloc.GetStats(); oldsys < st.sys {
 		oldsys = st.sys;
-		if chatty {
+		if *chatty {
 			println(st.sys, " system bytes for ", st.alloc, " Go bytes");
 		}
 		if st.sys > 1e9 {
@@ -34,7 +33,7 @@
 	malloc.GetStats().alloc = 0;	// ignore stacks
 	for i := 0; i < 1<<8; i++ {
 		for j := 1; j <= 1<<22; j<<=1 {
-			if i == 0 && chatty {
+			if i == 0 && *chatty {
 				println("First alloc:", j);
 			}
 			b := malloc.Alloc(uint64(j));
@@ -45,11 +44,11 @@
 			}
 			bigger();
 		}
-		if i%(1<<10) == 0 && chatty {
+		if i%(1<<10) == 0 && *chatty {
 			println(i);
 		}
 		if i == 0 {
-			if chatty {
+			if *chatty {
 				println("Primed", i);
 			}
 		//	malloc.frozen = true;