diff options
author | 2025-08-02 14:43:19 +0100 | |
---|---|---|
committer | 2025-08-02 14:43:19 +0100 | |
commit | 0d905d7998a031c2d7a1cdc5d0d1148b55b610a2 (patch) | |
tree | ea73c7cadd583a8c95b4a7ba6edaa10e99067098 /src/dbg.c | |
parent | f2f9f18a893527ee80260a2d57bca3023f8fd44f (diff) | |
download | sst-0d905d7998a031c2d7a1cdc5d0d1148b55b610a2.tar.gz sst-0d905d7998a031c2d7a1cdc5d0d1148b55b610a2.zip |
Make additional use of untyped command callbacks
Diffstat (limited to 'src/dbg.c')
-rw-r--r-- | src/dbg.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -93,9 +93,9 @@ DEF_CCMD_HERE(sst_dbg_getcmdcb, "Get the address of a command callback", 0) { } #ifdef _WIN32 con_msg("addr: %p\nghidra: %p\n", (void *)thecmd->cb_insns, - (void *)dbg_toghidra((void *)thecmd->cb_insns)); // ugh + (void *)dbg_toghidra(thecmd->cb_insns)); // ugh #else - con_msg("addr: %p\n", (void *)thecmd->cb); + con_msg("addr: %p\n", (void *)thecmd->cb_insns); #endif } |