From owner-freebsd-bugs Mon Oct 14 10:00:05 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA10616 for bugs-outgoing; Mon, 14 Oct 1996 10:00:05 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA10583; Mon, 14 Oct 1996 10:00:03 -0700 (PDT) Date: Mon, 14 Oct 1996 10:00:03 -0700 (PDT) Message-Id: <199610141700.KAA10583@freefall.freebsd.org> To: freebsd-bugs Cc: From: J Wunsch Subject: Re: bin/1785: vgrind didn't work correct! Reply-To: J Wunsch Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR bin/1785; it has been noted by GNATS. From: J Wunsch To: lkoeller@odie.physik2.uni-rostock.de Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: bin/1785: vgrind didn't work correct! Date: Mon, 14 Oct 1996 18:44:13 +0200 (MET DST) As Lars Koeller wrote: > Vgrind didn't work as described in the manpage: > > 1) There are no "and the name of the current function is listed down > the margin of each page as it is encountered" (cite out of manpage) I have seen them, though it's not clear to me either when vgrind decides to print them and when not. Maybe they are printed for functions spanning multiple pages only. > 2) No index file is produced. If I understand the manpage right, the > creation of index (touch ./index) in the current directory > should produce a index file of the functions, which could be > printed with 'vgrind -x index' but the file index is always empty. > j@ida 697% touch index j@ida 698% vgrind -lc++ -p groff kabel.cc > kabel.PS j@ida 699% cat index dump_kabel kabel.cc 3 get_kabel kabel.cc 2 list_all_kabel kabel.cc 3 (Note that the -p option is new in 2.2.) So it works for me. If it doesn't work for you, i think it's basically the same problem as with the function labelling in 1). (Without a suggested fix, it's unlikely that any person other than Bill Joy will ever dig into this code again. It looks basically ``write-only''. ;-) -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)