[PATCH] winedbg: Fix disassemble with end addresses exceeding 32-bit.
Bernhard Übelacker
bernhardu at mailbox.org
Sat Dec 18 13:07:54 CST 2021
Signed-off-by: Bernhard Übelacker <bernhardu at mailbox.org>
---
Otherwise winedbg continues disassembling and
does not stop at the desired address.
---
programs/winedbg/memory.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/programs/winedbg/memory.c b/programs/winedbg/memory.c
index 5e01bef5607..0c8e1ee0d19 100644
--- a/programs/winedbg/memory.c
+++ b/programs/winedbg/memory.c
@@ -769,7 +769,7 @@ void memory_disassemble(const struct dbg_lvalue* xstart,
const struct dbg_lvalue* xend, int instruction_count)
{
static ADDRESS64 last = {0,0,0};
- int stop = 0;
+ dbg_lgint_t stop = 0;
int i;
if (!xstart && !xend)
--
2.34.1
More information about the wine-devel
mailing list