Date: Mon, 14 Oct 1996 10:00:03 -0700 (PDT) From: J Wunsch <j@uriah.heep.sax.de> To: freebsd-bugs Subject: Re: bin/1785: vgrind didn't work correct! Message-ID: <199610141700.KAA10583@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/1785; it has been noted by GNATS. From: J Wunsch <j@uriah.heep.sax.de> 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. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610141700.KAA10583>