FreeCalypso > hg > freecalypso-reveng
comparison leo-obj/tool/main.c @ 143:fbdb7686a9e9
tiobjd: raw dump of line number records implemented
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Mon, 28 Apr 2014 05:55:40 +0000 |
parents | 87b82398a08b |
children | 25d3ead621f8 |
comparison
equal
deleted
inserted
replaced
142:ed533d469838 | 143:fbdb7686a9e9 |
---|---|
9 #include <strings.h> | 9 #include <strings.h> |
10 #include "globals.h" | 10 #include "globals.h" |
11 | 11 |
12 extern int cmd_basics(); | 12 extern int cmd_basics(); |
13 extern int cmd_disasm(); | 13 extern int cmd_disasm(); |
14 extern int cmd_ln(); | |
14 extern int cmd_nm(); | 15 extern int cmd_nm(); |
15 extern int cmd_profile(); | 16 extern int cmd_profile(); |
16 extern int cmd_rawrel(); | 17 extern int cmd_rawrel(); |
17 extern int cmd_reloc(); | 18 extern int cmd_reloc(); |
18 extern int cmd_sechdr(); | 19 extern int cmd_sechdr(); |
25 } cmdtab[] = { | 26 } cmdtab[] = { |
26 {"basics", cmd_basics}, | 27 {"basics", cmd_basics}, |
27 {"disasm", cmd_disasm}, | 28 {"disasm", cmd_disasm}, |
28 {"dumpsym", cmd_symtab}, /* backward compat */ | 29 {"dumpsym", cmd_symtab}, /* backward compat */ |
29 {"hdr", dump_filehdr_info}, | 30 {"hdr", dump_filehdr_info}, |
31 {"ln", cmd_ln}, | |
30 {"nm", cmd_nm}, | 32 {"nm", cmd_nm}, |
31 {"profile", cmd_profile}, | 33 {"profile", cmd_profile}, |
32 {"rawrel", cmd_rawrel}, | 34 {"rawrel", cmd_rawrel}, |
33 {"reloc", cmd_reloc}, | 35 {"reloc", cmd_reloc}, |
34 {"sechdr", cmd_sechdr}, | 36 {"sechdr", cmd_sechdr}, |