summaryrefslogtreecommitdiffstats
path: root/cpukit/libdebugger/rtems-debugger-threads.c
diff options
context:
space:
mode:
authorKinsey Moore <kinsey.moore@oarcorp.com>2021-10-15 19:18:02 -0500
committerJoel Sherrill <joel@rtems.org>2021-11-01 08:38:59 -0500
commit102261043a5bd91bf2a588d22380796d071fd35e (patch)
tree5823c26694be03e04900878971d2fcbf1661c241 /cpukit/libdebugger/rtems-debugger-threads.c
parentcpukit: Compare the function result (diff)
downloadrtems-102261043a5bd91bf2a588d22380796d071fd35e.tar.bz2
cpukit/libdebugger: Use uintptr_t for pointers
Use uintptr_t instead of DB_UINT when the variable in question describes a pointer.
Diffstat (limited to 'cpukit/libdebugger/rtems-debugger-threads.c')
-rw-r--r--cpukit/libdebugger/rtems-debugger-threads.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/libdebugger/rtems-debugger-threads.c b/cpukit/libdebugger/rtems-debugger-threads.c
index e6ffe4a080..c628c0250e 100644
--- a/cpukit/libdebugger/rtems-debugger-threads.c
+++ b/cpukit/libdebugger/rtems-debugger-threads.c
@@ -469,8 +469,8 @@ rtems_debugger_thread_step(rtems_debugger_thread* thread)
int
rtems_debugger_thread_stepping(rtems_debugger_thread* thread,
- DB_UINT start,
- DB_UINT end)
+ uintptr_t start,
+ uintptr_t end)
{
/* add lock */
rtems_debugger_threads* threads = rtems_debugger->threads;
@@ -496,7 +496,7 @@ rtems_debugger_thread_stepping(rtems_debugger_thread* thread,
}
const rtems_debugger_thread_stepper*
-rtems_debugger_thread_is_stepping(rtems_id id, DB_UINT pc)
+rtems_debugger_thread_is_stepping(rtems_id id, uintptr_t pc)
{
/* add lock */
rtems_debugger_threads* threads = rtems_debugger->threads;