Commit Graph

12 Commits

Author SHA1 Message Date
Chris Johns
18b1a59184 cpukit/libdebugger: Fix stepping on ARM architectures
Closes #4744
2022-10-31 08:04:00 +11:00
Sebastian Huber
be5eee575b libdebugger: Fix for Armv8-R
This architecture variant has no MMU.

Update #4202.
2020-12-22 13:02:39 +01:00
Chris Johns
32c9b83109 libdebugger/arm: Clean up the building on arm variants. 2019-10-19 15:54:40 +11:00
Chris Johns
df25650502 libdebugger/arm: Support ROM tables.
- Parse the ROM taables if present to find the component base for
  the debug hardware. This lets the RPi2 run dl09.exe.
2019-08-12 08:56:37 +10:00
Chris Johns
cb1e8497df libdebugger: ARM fixes for Cortex-A8 and ARM mode.
- Fix destorying the target and thread parts.
- Fix the ARM backend to support Cortex-A8 and ARM mode code.
- Use the DBGDSCR interrupt mask when single stepping.
- Use the DBGDSCR method of entry to debug mode to filter the
  execptions.
- Add support for BSPs to control the ARM backend.
2019-07-31 08:33:05 +10:00
Chris Johns
581cce2626 libdebugger: Fix for ARMv7-M with -O0 optimization 2019-04-09 17:52:39 +10:00
Chris Johns
2c09b71faf libdebugger: Use an offset table to format GDB g packets.
Adding support for a register offset table lets FPU registers
be supported if added to the backend.

Closes #3733.
2019-04-09 15:02:24 +10:00
Sebastian Huber
6ad3f47143 libdebugger: Avoid use of <bsp/linker-symbols.h>
Update #3254.
2017-12-13 09:04:25 +01:00
Chris Johns
b2353ed924 libdebugger: Fixes to debugging, ARM support, locking, and gcc-7.1 warnings.
- Add `printk` support to aid multi-core debugging.
- Add lock trace to aid lock debugging.
- Fixes to gcc-7.1 warnings.
- Fixes from ticket #2879.
- Add verbose command controls.
- Change using the RTEMS sys/lock.h API to manage exception threads.
- ARM hardware breakpoint fixes. Support for SMP stepping
  is not implemented, this requires use of the context id
  register.

Closes #2879.
2017-08-15 11:39:22 +10:00
Chris Johns
b53ad4615a 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.
2017-04-15 08:18:25 +10:00
Chris Johns
e629076003 libdebugger: Build for ARM's without a CP15. 2016-12-02 15:39:56 +11:00
Chris Johns
a0d4e9933c cpukit: Add libdebugger, a remote debugger agent for GDB. 2016-11-29 08:50:40 +11:00