summaryrefslogtreecommitdiffstats
path: root/cpukit/libdebugger/rtems-debugger-threads.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* cpukit/libdebugger: Add pure swbreak capabilityKinsey Moore2022-02-231-1/+3
| | | | | | | | Add a capability that allows for implementations that operate purely using software breaks. Due to this implementation method, software breaks must not be restored until just before returning control to the thread itself and will be handled by the implementation through thread switch and interrupt hooks.
* cpukit/libdebugger: Use uintptr_t for pointersKinsey Moore2021-11-011-3/+3
| | | | | Use uintptr_t instead of DB_UINT when the variable in question describes a pointer.
* rtems-debugger-threads.c: Fix Unchecked return value error (CID #1468688)Ryan Long2021-02-261-1/+3
| | | | | | CID 1468688: Unchecked return value in snapshot_thread(). Closes #4262
* rtems-debugger-threads.c: Fix three Dereference before null check errorsRyan Long2021-02-121-3/+11
| | | | | | | | CID 1468681: Dereference before null check in rtems_debugger_thread_continue(). CID 1468690: Dereference before null check in rtems_debugger_thread_system_resume(). CID 1468694: Dereference before null check in rtems_debugger_thread_find_index(). Closes #4241.
* libdebugger: ARM fixes for Cortex-A8 and ARM mode.Chris Johns2019-07-311-4/+7
| | | | | | | | | - 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.
* score: Add and use _Thread_Get_unmapped_priority().Sebastian Huber2019-06-281-3/+2
| | | | Add and use _Thread_Get_unmapped_real_priority().
* libdebugger: Unmap thread prioritiesSebastian Huber2019-06-261-2/+3
|
* libdebugger: Use an offset table to format GDB `g` packets.Chris Johns2019-04-091-7/+8
| | | | | | | Adding support for a register offset table lets FPU registers be supported if added to the backend. Closes #3733.
* libdebugger: Fixes to debugging, ARM support, locking, and gcc-7.1 warnings.Chris Johns2017-08-151-24/+37
| | | | | | | | | | | | | | - 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.
* Add and use rtems_assoc_thread_states_to_string()Sebastian Huber2017-01-121-50/+3
|
* libdebugger: Fix const qualifierSebastian Huber2017-01-121-1/+1
|
* score: Replace STATES_DELAYINGSebastian Huber2017-01-121-1/+0
| | | | | | | | Replace STATES_DELAYING with STATES_WAITING_FOR_TIME. There is no need for separate timeout thread states. The Thread_Control::Timer::header and Watchdog_Control::cpu members can be used to figure out the kind of timeout.
* score: Add STATES_THREAD_QUEUE_WITH_IDENTIFIERSebastian Huber2017-01-111-5/+3
| | | | | Add thread state bit to identify thread queues that are embedded in an object with identifier.
* score: Delete STATES_WAITING_FOR_BUFFERSebastian Huber2017-01-111-1/+0
|
* cpukit: Add libdebugger, a remote debugger agent for GDB.Chris Johns2016-11-291-0/+577