chao an
|
090a52c5fb
|
elf/coredump: alignment stack buffer to 64 to match gdb request
Signed-off-by: chao an <anchao@xiaomi.com>
|
2023-05-30 23:00:23 +08:00 |
|
chao an
|
78006f9824
|
elf/coredump: add sanity checks for stack pointer
stack pointer may be invalid value if in SMP mode, add sanity checks
to avoid invalid access
Signed-off-by: chao an <anchao@xiaomi.com>
|
2023-05-25 11:37:30 +08:00 |
|
chao an
|
24f4216066
|
elf/coredump: add support of dump task stack without memory segments
Signed-off-by: chao an <anchao@xiaomi.com>
|
2023-05-24 22:34:47 +08:00 |
|
chao an
|
064c75aa92
|
elf/coredump: correct register offset after xcp.regs update
The offset should be calculated from pointer xcp.regs
Signed-off-by: chao an <anchao@xiaomi.com>
|
2023-05-18 20:13:05 +08:00 |
|
chao an
|
3a0fdb019d
|
nuttx: replace all ARRAY_SIZE()/ARRAYSIZE() to nitems()
Signed-off-by: chao an <anchao@xiaomi.com>
|
2023-02-09 20:05:44 +08:00 |
|
yinshengkai
|
377bf97613
|
stream: replace the stream function pointer with a macro
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
|
2022-11-25 21:41:51 +08:00 |
|
Xiang Xiao
|
cd516bd09d
|
Fix libelf/libelf_coredump.c:234:7: warning: 'strncpy' output may be truncated copying 16 bytes from a string of length 31
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
|
2022-03-22 08:37:33 +02:00 |
|
Xiang Xiao
|
f903a55102
|
sched/tcbinfo: Fix the compile warning
Update tcbinfo struct
armv8-m/arm_tcbinfo.c:109:3: warning: excess elements in struct initializer
109 | TCB_REG_OFF(REG_S31),
| ^~~~~~~~~~~
armv8-m/arm_tcbinfo.c:109:3: note: (near initialization for 'g_tcbinfo')
armv8-m/arm_tcbinfo.c:110:3: warning: excess elements in struct initializer
110 | 0,
| ^
armv8-m/arm_tcbinfo.c:110:3: note: (near initialization for 'g_tcbinfo')
armv8-m/arm_tcbinfo.c:111:3: warning: excess elements in struct initializer
111 | TCB_REG_OFF(REG_FPSCR),
| ^~~~~~~~~~~
armv8-m/arm_tcbinfo.c:111:3: note: (near initialization for 'g_tcbinfo')
armv8-m/arm_tcbinfo.c:112:3: warning: excess elements in struct initializer
112 | 0,
| ^
armv8-m/arm_tcbinfo.c:112:3: note: (near initialization for 'g_tcbinfo')
armv8-m/arm_tcbinfo.c:37:1: warning: missing braces around initializer [-Wmissing-braces]
37 | {
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Signed-off-by: zhuyanlin <zhuyanlin1@xiaomi.com>
|
2022-01-27 17:36:27 +08:00 |
|
chao.an
|
47f9ec9c45
|
binfmt/coredump: remove the block fragmentation
Hide the segmentation details to backend implementation
Signed-off-by: chao.an <anchao@xiaomi.com>
|
2022-01-14 23:07:05 +08:00 |
|
chao.an
|
7cbb8da692
|
binfmt/elf: add bare metal coredump support
Signed-off-by: chao.an <anchao@xiaomi.com>
|
2021-11-23 20:48:00 -06:00 |
|