[gnome-builder/wip/gtk4-port: 1117/1774] plugins/debuggerui: include more instructions in disassembly
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/gtk4-port: 1117/1774] plugins/debuggerui: include more instructions in disassembly
- Date: Mon, 11 Jul 2022 22:31:35 +0000 (UTC)
commit 6ec57e4940363c41c04de0358629736cf914eab9
Author: Christian Hergert <chergert redhat com>
Date: Mon May 23 12:09:07 2022 -0700
plugins/debuggerui: include more instructions in disassembly
src/plugins/debuggerui/ide-debugger-workspace-addin.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/plugins/debuggerui/ide-debugger-workspace-addin.c
b/src/plugins/debuggerui/ide-debugger-workspace-addin.c
index 3c141245c..30e1e4329 100644
--- a/src/plugins/debuggerui/ide-debugger-workspace-addin.c
+++ b/src/plugins/debuggerui/ide-debugger-workspace-addin.c
@@ -525,15 +525,15 @@ ide_debugger_workspace_addin_navigate_to_address (IdeDebuggerWorkspaceAddin *sel
if (NULL == (debugger = ide_signal_group_get_target (self->debugger_signals)))
IDE_EXIT;
- if (address < 0x10)
+ if (address < 0x80)
range.from = 0;
else
- range.from = address - 0x10;
+ range.from = address - 0x80;
- if (G_MAXUINT64 - 0x20 < address)
+ if (G_MAXUINT64 - 0x80 < address)
range.to = G_MAXUINT64;
else
- range.to = address + 0x20;
+ range.to = address + 0x80;
ide_debugger_disassemble_async (debugger,
&range,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]