stprint - routines to print the symbol table
char *st_mlang_ascii ;
char *st_mst_ascii ;
char *st_msc_ascii ;
char *st_mbt_ascii ;
char *st_mtq_ascii ;
void st_dump(FILE *fd, long flags);
void st_printfd(FILE *fd, long ifd, long flags);
The stprint routines and arrays provide an easy way to print the MIPS
symbol table. (using st_current pchdr().)
The arrays map constants to their ASCII equivalents. The constants can be
found in symconst.h and represent languages (lang), symbol types (st),
storage classes (sc), basic types (bt), and type qualifiers (tq).
The st_dump routine prints an ASCII version of the symbol. If fd is NULL,
the routine prints file fd and stdout. The flags can be a mask of a
section of symbol table specified by ORing ST_P* constants together from
cmplrs/stsupport.h. This routine modifies the current file.
St_printfd prints the sections associated with the file specified by the
ifd argument. The other arguments are the same as in st_dump. These
arguments modify the current file, as well.
The interface will be added to incrementally as needed.
PPPPaaaaggggeeee 1111 [ Back ]