base: changes for GDB monitor

- add a new function 'binary_ready_hook_for_gdb()' in ldso. GDB can set a
  breakpoint at this function to know when ldso has loaded the binary
  into memory.
- get the thread state from the NOVA kernel immediately on 'pause()'

Fixes #1968
This commit is contained in:
Christian Prochaska
2016-05-17 16:13:56 +02:00
committed by Christian Helmuth
parent 30e57d4581
commit 2cde1d36c1
24 changed files with 371 additions and 408 deletions

View File

@ -25,11 +25,9 @@ struct Genode::Thread_state : Thread_state_base
{
bool vcpu;
addr_t sel_exc_base;
bool global_thread;
Thread_state() : vcpu(false), sel_exc_base(~0UL) { }
Thread_state(bool vcpu, addr_t sel_exc_base)
: vcpu(vcpu), sel_exc_base(sel_exc_base) { }
Thread_state() : vcpu(false), sel_exc_base(~0UL), global_thread(true) { }
};
#endif /* _INCLUDE__BASE__THREAD_STATE_H_ */