gdbserver:fix bug when use arm-a coredump addr mismatch

Signed-off-by: anjiahao <anjiahao@xiaomi.com>
This commit is contained in:
anjiahao 2024-08-27 21:08:35 +08:00 committed by Xiang Xiao
parent a1ff878bed
commit ddf44def10
1 changed files with 1 additions and 1 deletions

View File

@ -501,7 +501,7 @@ class CoreDumpFile:
data = f.read(segment["p_filesz"]) data = f.read(segment["p_filesz"])
self.__memories.append( self.__memories.append(
pack_memory( pack_memory(
segment["p_paddr"], segment["p_paddr"] + len(data), data segment["p_vaddr"], segment["p_vaddr"] + len(data), data
) )
) )