FreeCalypso > hg > freecalypso-reveng
comparison ticoff/main.c @ 79:8f4996bff904
tiobjd: profile operation implemented
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Wed, 26 Mar 2014 02:00:44 +0000 |
parents | 590396e27e96 |
children | 192da19c7506 |
comparison
equal
deleted
inserted
replaced
78:c2445afce514 | 79:8f4996bff904 |
---|---|
8 #include <string.h> | 8 #include <string.h> |
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_profile(); | |
13 extern int cmd_sechdr(); | 14 extern int cmd_sechdr(); |
14 extern int cmd_symtab(); | 15 extern int cmd_symtab(); |
15 extern int dump_filehdr_info(); | 16 extern int dump_filehdr_info(); |
16 | 17 |
17 static struct cmdtab { | 18 static struct cmdtab { |
19 int (*func)(); | 20 int (*func)(); |
20 } cmdtab[] = { | 21 } cmdtab[] = { |
21 {"basics", cmd_basics}, | 22 {"basics", cmd_basics}, |
22 {"dumpsym", cmd_symtab}, /* backward compat */ | 23 {"dumpsym", cmd_symtab}, /* backward compat */ |
23 {"hdr", dump_filehdr_info}, | 24 {"hdr", dump_filehdr_info}, |
25 {"profile", cmd_profile}, | |
24 {"sechdr", cmd_sechdr}, | 26 {"sechdr", cmd_sechdr}, |
25 {"symtab", cmd_symtab}, | 27 {"symtab", cmd_symtab}, |
26 {0, 0} | 28 {0, 0} |
27 }; | 29 }; |
28 | 30 |