While the switch code is assembler (see below), the code to be debugged is either C or C++. Are you suggesting I can add some additional directives in this code that will take the debugger with it to the new stack?
Regards, Ron
/******************************************************************************
PROGRAM: JenOSHandler.s
FUNCTION: Assembler code to handle the single stack for PendSV/SVC events.
AUTHOR: Ron Kreymborg
REVISION:
******************************************************************************/
.syntax unified
.thumb
.section .text.JenOSHandlers
.global PendSV_Handler
.type PendSV_Handler, %function
.global SVC_Handler
.type SVC_Handler, %function
.type pendSV_ret, %function
.extern ExecutePendSV, %function
//