arm: remove old GDB_INFO support
That module is not used anymore: it was introduced pre-Zephyr to add some kind of awareness when debugging ARM Cortex-M3 code with GDB but was never really used by anyone. It has bitrotted, and with the recent move of the tTCS and tNANO data structures to common _kernel and k_thread, it does not even compile anymore. Jira: ZEP-1284, ZEP-951 Change-Id: Ic9afed00f4229324fe5d2aa97dc6f1c935953244 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
1f2a5791bc
commit
5ad2905532
15 changed files with 4 additions and 376 deletions
|
@ -55,8 +55,6 @@ GDATA(_kernel)
|
|||
|
||||
SECTION_FUNC(TEXT, __pendsv)
|
||||
|
||||
_GDB_STUB_EXC_ENTRY
|
||||
|
||||
#ifdef CONFIG_KERNEL_EVENT_LOGGER_CONTEXT_SWITCH
|
||||
/* Register the context switch */
|
||||
push {lr}
|
||||
|
@ -181,8 +179,6 @@ _thread_irq_disabled:
|
|||
|
||||
msr PSP, ip
|
||||
|
||||
_GDB_STUB_EXC_EXIT
|
||||
|
||||
/* exc return */
|
||||
bx lr
|
||||
|
||||
|
@ -199,8 +195,6 @@ _thread_irq_disabled:
|
|||
|
||||
SECTION_FUNC(TEXT, __svc)
|
||||
|
||||
_GDB_STUB_EXC_ENTRY
|
||||
|
||||
#if CONFIG_IRQ_OFFLOAD
|
||||
tst lr, #0x4 /* did we come from thread mode ? */
|
||||
ite eq /* if zero (equal), came from handler mode */
|
||||
|
@ -222,7 +216,7 @@ SECTION_FUNC(TEXT, __svc)
|
|||
blx _irq_do_offload /* call C routine which executes the offload */
|
||||
pop {lr}
|
||||
|
||||
/* exception return is done in _IntExit(), including _GDB_STUB_EXC_EXIT */
|
||||
/* exception return is done in _IntExit() */
|
||||
b _IntExit
|
||||
|
||||
_context_switch:
|
||||
|
@ -241,8 +235,6 @@ _context_switch:
|
|||
ldr r2, =_SCS_ICSR_PENDSV
|
||||
str r2, [r1, #0]
|
||||
|
||||
_GDB_STUB_EXC_EXIT
|
||||
|
||||
/* handler mode exit, to PendSV */
|
||||
bx lr
|
||||
#endif /* !CONFIG_CPU_CORTEX_M0_M0PLUS */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue