mirror of
https://github.com/apache/nuttx.git
synced 2026-05-21 21:34:07 +08:00
gdbserver.py:add unpack_data log info to debug
Improve debug Signed-off-by: anjiahao <anjiahao@xiaomi.com>
This commit is contained in:
@@ -823,6 +823,9 @@ class GDBStub:
|
||||
|
||||
def parse_thread(self):
|
||||
def unpack_data(addr, fmt, from_elf=False):
|
||||
logger.debug(
|
||||
f"Unpack data from {hex(addr)} with fmt {fmt} from elf {from_elf}"
|
||||
)
|
||||
if from_elf:
|
||||
r = self.get_mem_region(addr, self.elffile.get_memories())
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user