Yanfeng Liu
77f3225140
tools/minidump: support 64-bit stack dump
...
This is to follow up commit 1890b58e67
in patch #12316 .
Signed-off-by: Yanfeng Liu <yfliu2008@qq.com>
2024-05-17 19:05:19 +08:00
Yanfeng Liu
c3f30d70cb
tools/minidumpserver: support multiple ELF files
...
This adds support for multiple ELF files so that to help Kernel build
dump analysis with both nuttx and app ELF files.
Signed-off-by: Yanfeng Liu <yfliu2008@qq.com>
2024-03-28 09:33:33 +08:00
Yanfeng Liu
836715a2d6
tools/minidumpserver.py: support quit with gdb
...
This patch supports quiting of minidumpserver along with gdb so that
to reduce usage efforts.
Signed-off-by: Yanfeng Liu <yfliu2008@qq.com>
2024-03-11 20:59:07 +08:00
Yanfeng Liu
2f4e90b1e9
tools/minidumpserver.py: add support for rv64
...
This patch adds rv64 targets support and checked with gdb-multiarch
on Ubuntu. It also marks `-arch` parameter optional as it often can
be learnt from ELF file.
Signed-off-by: Yanfeng Liu <yfliu2008@qq.com>
2024-03-10 21:25:00 +08:00
xinbingnan
a104fdc3a5
tools/minudumpserver: support auto start GDB and execute some commands
...
VELAPLATFO-16485
like
```bash
./nuttx/tools/minidumpserver.py -l log.log -e vela_ap.elf -a arm --gdb prebuilts/gcc/linux/arm/bin/arm-none-eabi-gdb -i
```
Signed-off-by: xinbingnan <xinbingnan@xiaomi.com>
2023-09-23 15:19:20 +08:00
xinbingnan
524cb33729
tools/minudumpserver: support auto parse log file feature
...
VELAPLATFO-16476
1. support to extract log and list all possible dumps from a full log file
Signed-off-by: xinbingnan <xinbingnan@xiaomi.com>
2023-09-22 08:47:47 +08:00
xinbingnan
4c75318778
tools/minidumpserver: refactor codes
...
VELAPLATFO-16411
1. refactor code style and simplify parse method
2. change mem find algorythm to bi-search
Signed-off-by: xinbingnan <xinbingnan@xiaomi.com>
2023-09-21 00:38:41 +08:00
xinbingnan
75e591ae4f
tools/minidumpserver: don't stop while gdb client is stopping
...
VELAPLATFO-16411
Signed-off-by: xinbingnan <xinbingnan@xiaomi.com>
2023-09-20 00:40:14 +08:00
anjiahao
9241e4a2ca
minidumpserver.py:support xtensa and esp32s3 arch
...
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2023-08-21 18:27:05 +08:00
anjiahao
ffb391f6aa
minidumpserver.py:Print the line number of logfile when the format is wrong
...
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2023-08-21 18:27:05 +08:00
wangbowen6
8c56354dc8
minidumpserver: add arm-a thumb arch support
...
The frame pointer and r11 register is different in thumb mode and
arm mode.
Signed-off-by: wangbowen6 <wangbowen6@xiaomi.com>
2023-08-21 18:27:05 +08:00
renweibo
f3208c1def
tools: add type information
...
Additional information here:
- no code logic change, just add type hint
- make the code easy to work with
- minor python3 requirement without any complex type feature
Signed-off-by: renweibo <renweibo@xiaomi.com>
2023-08-21 18:27:05 +08:00
anjiahao
ed89d7252b
minidumpserver: add arm-a support
...
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2023-01-28 09:00:59 +02:00
ligd
8bd0d441ae
minidumpserver: replace stackdump to stack_dump
...
Signed-off-by: ligd <liguiding1@xiaomi.com>
2023-01-17 11:01:11 +08:00
zhangyuan21
45394eb6dc
arch: save user context in assert common code
...
This is the work continue with #7875
Signed-off-by: zhangyuan21 <zhangyuan21@xiaomi.com>
2022-12-24 13:02:56 +08:00
wangbowen6
eb884c00e8
minidumpserver: sync the stackdump search string after #7875
...
Signed-off-by: wangbowen6 <wangbowen6@xiaomi.com>
2022-12-21 01:39:43 +08:00
Nathan Hartman
849f760b77
Fix various typos
2022-07-08 02:15:54 +08:00
anjiahao
2b938ed8f8
tools:minidumpserver.py support xtensa
...
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2022-04-28 13:29:25 +08:00
anjiahao
e597f3812d
tools:use dump log creat a gdbsever to debug
...
this is a tool,when crash help you to debug.
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2022-03-25 17:55:12 +08:00