summaryrefslogtreecommitdiff
path: root/sys/gdbscripts
diff options
context:
space:
mode:
authorad <ad@NetBSD.org>2008-02-20 20:36:29 +0000
committerad <ad@NetBSD.org>2008-02-20 20:36:29 +0000
commitfb60c04396abf014f650e27e10e54d7779f8a60b (patch)
treed8a5400b3b53015454f82289d27a475d566adf84 /sys/gdbscripts
parent46125cb32d63a2699395056f91da76046a1033d4 (diff)
This is useless!
Diffstat (limited to 'sys/gdbscripts')
-rw-r--r--sys/gdbscripts/stats21
1 files changed, 0 insertions, 21 deletions
diff --git a/sys/gdbscripts/stats b/sys/gdbscripts/stats
deleted file mode 100644
index 61e75098800..00000000000
--- a/sys/gdbscripts/stats
+++ /dev/null
@@ -1,21 +0,0 @@
-# $NetBSD: stats,v 1.4 2005/12/11 12:24:29 christos Exp $
-
-# @(#)stats 8.1 (Berkeley) 6/10/93
-#
-# disk statistics
-
-define dstat
- set $op=(struct sdop *)&($arg0[$arg2])
- set $i=$arg1
- while ($i)
- printf "$arg3 "
- printf "%d %d 0x%x 0x%x %d", $op->bp, $op->bufsize, $op->blkno, $op->when.tv_sec, $op->when.tv_usec
- if ($op->op & 1)
- printf " READ\n"
- else
- printf " WRITE\n"
- end
- set $op = $op + 1
- set $i = $i - 1
- end
-end