nuttx icon indicating copy to clipboard operation
nuttx copied to clipboard

gdbstub:fix get thread rsp command crash

Open anjiahao1 opened this issue 1 year ago • 3 comments

gdb/thread.c:1309: internal-error: void switch_to_thread(thread_info*): Assertion `thr != NULL' failed.

Summary

fix gdbustub send thread command crash

Impact

gdbstub

Testing

stm32f429zi with gdbstub

anjiahao1 avatar May 30 '24 04:05 anjiahao1

look like ci build break image

anjiahao1 avatar May 30 '24 07:05 anjiahao1

@acassis please take a look.

xiaoxiang781216 avatar May 30 '24 10:05 xiaoxiang781216

@xiaoxiang781216 I think the issue is because on esp32s3 the _start is called __esp32s3_start ?

@tmedicci may I rename __esp32s3_start to _start?

acassis avatar May 30 '24 13:05 acassis