comparison leo-obj/tool/richsym.c @ 148:13cc7e19ecec

tiobjd disasm -g: support -b as well
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Tue, 29 Apr 2014 06:45:45 +0000
parents 70631c246df0
children fdf3137c703a
comparison
equal deleted inserted replaced
147:1e1815a6d701 148:13cc7e19ecec
267 } 267 }
268 last_ptr = 0; 268 last_ptr = 0;
269 } 269 }
270 printf("%s%s %s;", prefix, base_type, s1); 270 printf("%s%s %s;", prefix, base_type, s1);
271 free(s1); 271 free(s1);
272 if (richsym_print_bitsize) 272 if (richsym_print_bitsize && (sym->type & 0x30) != 0x20)
273 printf("\t/* %u bits */", get_u32(sym->aux + 4)); 273 printf("\t/* %u bits */", get_u32(sym->aux + 4));
274 putchar('\n'); 274 putchar('\n');
275 } 275 }
276 276
277 cmd_ctypes(argc, argv) 277 cmd_ctypes(argc, argv)