summaryrefslogtreecommitdiffstats
path: root/cpukit/libdebugger/rtems-debugger-threads.h
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2019-04-08 13:17:08 +1000
committerChris Johns <chrisj@rtems.org>2019-04-09 15:02:24 +1000
commit2c09b71faf4c476cf76476dc5926f0095eb6fdcd (patch)
tree00e4102eb5282055c568e2a8e0a96f4d7c170065 /cpukit/libdebugger/rtems-debugger-threads.h
parentdoxygen: Update _Objects_Build_name() (diff)
downloadrtems-2c09b71faf4c476cf76476dc5926f0095eb6fdcd.tar.bz2
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.
Diffstat (limited to 'cpukit/libdebugger/rtems-debugger-threads.h')
-rw-r--r--cpukit/libdebugger/rtems-debugger-threads.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libdebugger/rtems-debugger-threads.h b/cpukit/libdebugger/rtems-debugger-threads.h
index 8beac1a429..200dbbe1c7 100644
--- a/cpukit/libdebugger/rtems-debugger-threads.h
+++ b/cpukit/libdebugger/rtems-debugger-threads.h
@@ -90,7 +90,7 @@ typedef struct rtems_debugger_thread
Thread_Control* tcb;
rtems_id id;
int cpu;
- DB_UINT* registers;
+ uint8_t* registers;
int signal;
void* frame;
} rtems_debugger_thread;
@@ -234,7 +234,7 @@ rtems_debugger_thread_current(rtems_debugger_threads* threads)
/**
* Get the registers.
*/
-static inline DB_UINT*
+static inline uint8_t*
rtems_debugger_thread_registers(rtems_debugger_threads* threads)
{
return threads->registers.block;