summaryrefslogtreecommitdiffstats
path: root/cpukit/libdebugger
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2019-06-28 08:30:11 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2019-06-28 08:30:11 +0200
commit5803f3738f8f97c2188bd36274e60602af515e7f (patch)
treec1af13d31586640d1e239396216f315adda42ad0 /cpukit/libdebugger
parentarm: Return the current handler from arm_cp15_set_exception_handler (diff)
downloadrtems-5803f3738f8f97c2188bd36274e60602af515e7f.tar.bz2
score: Add and use _Thread_Get_unmapped_priority().
Add and use _Thread_Get_unmapped_real_priority().
Diffstat (limited to 'cpukit/libdebugger')
-rw-r--r--cpukit/libdebugger/rtems-debugger-threads.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/cpukit/libdebugger/rtems-debugger-threads.c b/cpukit/libdebugger/rtems-debugger-threads.c
index 430ca4a7cf..5ff249dc07 100644
--- a/cpukit/libdebugger/rtems-debugger-threads.c
+++ b/cpukit/libdebugger/rtems-debugger-threads.c
@@ -31,7 +31,6 @@
#include <rtems.h>
#include <rtems/assoc.h>
-#include <rtems/score/schedulerimpl.h>
#include <rtems/score/threadimpl.h>
#include <rtems/debugger/rtems-debugger-server.h>
@@ -504,13 +503,13 @@ rtems_debugger_thread_is_stepping(rtems_id id, DB_UINT pc)
int
rtems_debugger_thread_current_priority(rtems_debugger_thread* thread)
{
- return SCHEDULER_PRIORITY_UNMAP(_Thread_Get_priority(thread->tcb));
+ return _Thread_Get_unmapped_priority(thread->tcb);
}
int
rtems_debugger_thread_real_priority(rtems_debugger_thread* thread)
{
- return SCHEDULER_PRIORITY_UNMAP(thread->tcb->Real_priority.priority);
+ return _Thread_Get_unmapped_real_priority(thread->tcb);
}
int