summaryrefslogtreecommitdiff
path: root/src/format
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2009-06-08 12:46:23 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2009-06-08 12:46:23 (GMT)
commitfc8324b66dee0abf0a5e5e3cc570e1aed96b80c8 (patch)
tree04b9220e34b8bdc3449cd73e54a32c5037be5f0c /src/format
parentdd75712aac8f70d18f07787d5d484d426600edeb (diff)
Refreshed the panel dealing with found symbols.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@72 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/format')
-rw-r--r--src/format/exe_format.c20
1 files changed, 1 insertions, 19 deletions
diff --git a/src/format/exe_format.c b/src/format/exe_format.c
index 2924847..ffd9fde 100644
--- a/src/format/exe_format.c
+++ b/src/format/exe_format.c
@@ -360,25 +360,7 @@ const uint8_t *get_exe_content(const exe_format *format, off_t *length)
FormatTargetMachine get_exe_target_machine(const exe_format *format)
{
- FormatTargetMachine result; /* Type à retourner */
-
- result = format->get_target_machine(format);
-
- switch (result)
- {
- case FTM_JVM:
- log_simple_message(LMT_INFO, _("Detected architecture: Java Virtual Machine"));
- break;
- case FTM_MIPS:
- log_simple_message(LMT_INFO, _("Detected architecture: Microprocessor without Interlocked Pipeline Stages"));
- break;
- case FTM_386:
- log_simple_message(LMT_INFO, _("Detected architecture: i386"));
- break;
-
- }
-
- return result;
+ return format->get_target_machine(format);
}