about summary refs log tree commit diff stats
path: root/src/main.c
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2021-03-06 10:34:35 +0100
committerptitSeb <sebastien.chev@gmail.com>2021-03-06 10:34:35 +0100
commit8ca2c829de2494a5c453c19cf618a36e63e6eea3 (patch)
treec49e13466f4ab063ff52c4b1bbcafa4737eb2684 /src/main.c
parentc00623929a461a848e9f7889d313922930afbfb8 (diff)
downloadbox64-8ca2c829de2494a5c453c19cf618a36e63e6eea3.tar.gz
box64-8ca2c829de2494a5c453c19cf618a36e63e6eea3.zip
Fixed TRACE on Init with Symbol name
Diffstat (limited to 'src/main.c')
-rwxr-xr-xsrc/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index cf7af7ce..d6da7513 100755
--- a/src/main.c
+++ b/src/main.c
@@ -449,7 +449,7 @@ void setupTraceInit(box64context_t* context)
             if(trace_start || trace_end)
                 SetTraceEmu(trace_start, trace_end);
         } else {
-            if (0/*GetSymbolStartEnd(GetMapSymbol(my_context->maplib), p, &trace_start, &trace_end)*/) {
+            if (GetSymbolStartEnd(GetMapSymbol(my_context->maplib), p, &trace_start, &trace_end)) {
                 SetTraceEmu(trace_start, trace_end);
                 printf_log(LOG_INFO, "TRACE on %s only (%p-%p)\n", p, (void*)trace_start, (void*)trace_end);
             } else {