From ae8c464495fad61cae8eaec774badab22bd85638 Mon Sep 17 00:00:00 2001 From: Christian Prochaska Date: Fri, 19 Oct 2012 16:00:22 +0200 Subject: [PATCH] GDB monitor: move thread iterator declarations This patch moves the thread iterator function declarations in GDB monitor's 'Cpu_session_component' above the 'CPU session interface' comment, because these functions are not part of the CPU session interface anymore. Fixes #10. --- ports/src/app/gdb_monitor/cpu_session_component.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ports/src/app/gdb_monitor/cpu_session_component.h b/ports/src/app/gdb_monitor/cpu_session_component.h index f37ca61252..8e60826d95 100644 --- a/ports/src/app/gdb_monitor/cpu_session_component.h +++ b/ports/src/app/gdb_monitor/cpu_session_component.h @@ -49,6 +49,8 @@ class Cpu_session_component : public Rpc_object unsigned long lwpid(Thread_capability thread_cap); Thread_capability thread_cap(unsigned long lwpid); + Thread_capability first(); + Thread_capability next(Thread_capability); /*************************** ** CPU session interface ** @@ -57,8 +59,6 @@ class Cpu_session_component : public Rpc_object Thread_capability create_thread(Name const &, addr_t); Ram_dataspace_capability utcb(Thread_capability thread); void kill_thread(Thread_capability); - Thread_capability first(); - Thread_capability next(Thread_capability); int set_pager(Thread_capability, Pager_capability); int start(Thread_capability, addr_t, addr_t); void pause(Thread_capability thread_cap);