[RTEMS Project] #3779: arm_switch_reg undeclared when building libdebugger/rtems-debugger-arm

RTEMS trac trac at rtems.org
Tue Aug 6 15:12:47 UTC 2019


#3779: arm_switch_reg undeclared when building libdebugger/rtems-debugger-arm
-----------------------------+-------------------------
  Reporter:  Andrei Chichak  |      Owner:  Chris Johns
      Type:  defect          |     Status:  assigned
  Priority:  normal          |  Milestone:
 Component:  lib/debugger    |    Version:
  Severity:  normal          |   Keywords:
Blocked By:                  |   Blocking:
-----------------------------+-------------------------
 host is MacOS 10.14.6

 target is stm32f4

 configure string is:
 $HOME/quick-start/src/rtems/configure \
    --prefix=$HOME/quick-start/rtems/5 \
    --target=arm-rtems5 \
    --enable-rtemsbsp=stm32f4 \
    --enable-tests \
    --disable-networking \
    --enable-posix

 I am building off of a head pull of the tools and RTOS source as of Monday
 August 5, late evening GMT-7.

 I believe the important error message is:
 /Users/andreichichak/quick-start/src/rtems/c/src/../../cpukit/libdebugger
 /rtems-debugger-arm.c:1308:53: error: 'arm_switch_reg' undeclared (first
 use in this function)
   #define EXCEPTION_ENTRY_EXC()               (void) arm_switch_reg
                                                      ^
 /Users/andreichichak/quick-start/src/rtems/c/src/../../cpukit/libdebugger
 /rtems-debugger-arm.c:1324:3: note: in expansion of macro
 'EXCEPTION_ENTRY_EXC'
    EXCEPTION_ENTRY_EXC();
    ^~~~~~~~~~~~~~~~~~~
 /Users/andreichichak/quick-start/src/rtems/c/src/../../cpukit/libdebugger
 /rtems-debugger-arm.c:1308:53: note: each undeclared identifier is
 reported only once for each function it appears in
   #define EXCEPTION_ENTRY_EXC()               (void) arm_switch_reg
                                                      ^
 /Users/andreichichak/quick-start/src/rtems/c/src/../../cpukit/libdebugger
 /rtems-debugger-arm.c:1324:3: note: in expansion of macro
 'EXCEPTION_ENTRY_EXC'
    EXCEPTION_ENTRY_EXC();
    ^~~~~~~~~~~~~~~~~~~

--
Ticket URL: <http://devel.rtems.org/ticket/3779>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list