Clean up the dwarf code.

This commit is contained in:
rsc 2004-04-21 02:03:00 +00:00
parent 87a478a361
commit 95f57b01e2
5 changed files with 50 additions and 54 deletions

View file

@ -43,7 +43,7 @@ main(int argc, char **argv)
if(dwarfenum(d, &s) < 0)
sysfatal("dwarfenumall: %r");
while(dwarfnextsym(d, &s, 1) == 1){
while(dwarfnextsym(d, &s) == 1){
switch(s.attrs.tag){
case TagCompileUnit:
print("compileunit %s\n", s.attrs.name);