diff options
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/status.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/status.c b/src/gui/status.c index f466193..de80049 100644 --- a/src/gui/status.c +++ b/src/gui/status.c @@ -25,6 +25,7 @@ #include "status.h" +#include <assert.h> #include <ctype.h> #include <string.h> @@ -303,7 +304,8 @@ static void focus_address_in_status_info(GStatusInfo *info, GLoadedBinary *binar proc = g_loaded_binary_get_processor(binary); - instr = g_arch_processor_find_instr_by_address(proc, addr); + instr = _g_arch_processor_find_instr_by_address(proc, addr, true); + assert(instr != NULL); item = G_EDITOR_ITEM(info); gtk_status_stack_update_current_instruction(GTK_STATUS_STACK(item->widget), binary, instr); |