diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2025-09-08 20:45:12 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2025-09-08 20:45:12 +0200 |
| commit | 464fdc3ebe5816c281b0cf9e1960cb33386e29e9 (patch) | |
| tree | 9edfde55580db30db5abfcbf92fb4fee81f7b940 /src/os/backtrace.c | |
| parent | 6b9ed18286d9296bf91a98619e84ae1ace6a9ba8 (diff) | |
| download | box64-464fdc3ebe5816c281b0cf9e1960cb33386e29e9.tar.gz box64-464fdc3ebe5816c281b0cf9e1960cb33386e29e9.zip | |
[BOX32] Various small improvments on box32, mostly on memory tracking
Diffstat (limited to 'src/os/backtrace.c')
| -rw-r--r-- | src/os/backtrace.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/os/backtrace.c b/src/os/backtrace.c index f0345cd6..2d1261d9 100644 --- a/src/os/backtrace.c +++ b/src/os/backtrace.c @@ -34,8 +34,10 @@ void ShowNativeBT(int log_minimum) for (int j = 0; j < nptrs; j++) printf_log(log_minimum, "NativeBT: %s\n", strings[j]); free(strings); - } else - printf_log(log_minimum, "NativeBT: none (%d/%s)\n", errno, strerror(errno)); + } else { + for (int j = 0; j < nptrs; j++) + printf_log(log_minimum, "NativeBT: %p\n", buffer[j]); + } // restore modified name memcpy(my_context->box64path, my_context->orig_argv[0], boxpath_lenth); } |