[comp.lang.perl] Perl-Users Digest #588, "why is this in h2ph"

eichin@athena.mit.edu (Mark W. Eichin) (02/01/91)

: >But it's all jiggery-pokery.  Hopefully we'll get something based on
: >C's debugging stabs that will be a bit more robust.
	I've actually written code to read "stabs" from perl.  It's
fairly complete, in that it parses everything I've seen in stabs
output and prints it out in human readable form. I need to clean it up
a bunch, and have it generate pack/unpack strings directly... as it is
now, it's a useful compiler test/educational tool and not much else.
To use it, you just
 echo "#include <foo.h>" > foo.c; cc -g -c foo.c; perl exec.perl foo.o
(yes, I should eventually write this as a driver entirely written in
perl. That's fluff, not substance.)
	Of course, this system only works on a.out based systems which
use string table entries (.stabs) for dbx style debugging info;
however, that includes all of the Suns, all of the closely BSD related
systems, and apparently none of the COFF systems. Still, I'll post it
when I'm done.
				_Mark_ <eichin@athena.mit.edu>
				MIT Student Information Processing Board
				Watchmaker Computing <eichin@watch.com>