Ignore:
Timestamp:
Apr 14, 2017, 7:12:44 AM (3 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
master
Children:
18f63c0
Parents:
50b1269
git-author:
Chris Johns <chrisj@…> (04/14/17 07:12:44)
git-committer:
Chris Johns <chrisj@…> (04/14/17 22:18:25)
Message:

libdebugger: Work around assert when using _Thread_Executing.

Using _Thread_Executing with RTEMS_DEBUG results in an assert if
the server accesses invalid memory.

Updates #2993.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libdebugger/rtems-debugger-arm.c

    r50b1269 rb53ad46  
    718718    "str  r3, [r2]\n"                 /* clear the FPU frame pointer */ \
    719719    EXCEPTION_ENTRY_FPU(frame_fpu_size)                                 \
    720     "msr  cpsr, r1\n"                        /* restore the irq mask */ \
     720    "bic  r1, r1, %[psr_i]\n"        /* clear irq mask, debug checks */ \
     721    "msr  cpsr, r1\n"       /* restore the state with irq mask clear */ \
    721722    ASM_THUMB_MODE                                                      \
    722723    : ARM_SWITCH_REG_ASM,                                               \
Note: See TracChangeset for help on using the changeset viewer.