gdbserver:fix bug when use arm-a coredump addr mismatch
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
This commit is contained in:
parent
a1ff878bed
commit
ddf44def10
|
@ -501,7 +501,7 @@ class CoreDumpFile:
|
|||
data = f.read(segment["p_filesz"])
|
||||
self.__memories.append(
|
||||
pack_memory(
|
||||
segment["p_paddr"], segment["p_paddr"] + len(data), data
|
||||
segment["p_vaddr"], segment["p_vaddr"] + len(data), data
|
||||
)
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue