From 4eaa7be51997deb4f71bb8a79f971aa91be4b9d1 Mon Sep 17 00:00:00 2001 From: Daniel Pettersson Date: Sun, 29 Dec 2024 22:35:18 +0100 Subject: [PATCH] Fix hexl max address --- dape.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dape.el b/dape.el index 810909ff..8eac1ac5 100644 --- a/dape.el +++ b/dape.el @@ -2756,7 +2756,7 @@ Using BUFFER and STR." ((not data) (message "No bytes returned from adapter")) (t (setq dape--memory-address address - hexl-max-address dape-memory-page-size + hexl-max-address (1- dape-memory-page-size) buffer-undo-list nil) (let ((address (dape--memory-address-number)) (temp-buffer (generate-new-buffer " *temp*" t))