coredump.c: Delete the judgment of continue
Signed-off-by: wangmingrong1 <wangmingrong1@xiaomi.com>
This commit is contained in:
parent
2beef702cc
commit
533c11eee2
|
@ -326,11 +326,7 @@ static void elf_emit_tcb_note(FAR struct elf_dumpinfo_s *cinfo,
|
|||
{
|
||||
for (i = 0; i < nitems(status.pr_regs); i++)
|
||||
{
|
||||
if (g_tcbinfo.reg_off.p[i] == UINT16_MAX)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
else
|
||||
if (g_tcbinfo.reg_off.p[i] != UINT16_MAX)
|
||||
{
|
||||
status.pr_regs[i] =
|
||||
*(uintptr_t *)((uint8_t *)regs + g_tcbinfo.reg_off.p[i]);
|
||||
|
|
Loading…
Reference in New Issue