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

@ -22,10 +22,11 @@ namespace Genode { struct Thread_state_base; }
struct Genode::Thread_state_base : Cpu_state
{
bool unresolved_page_fault;
bool unresolved_page_fault = false;
bool exception = false;
Thread_state_base() : unresolved_page_fault(false) { };
Thread_state_base(Cpu_state &c) : Cpu_state(c), unresolved_page_fault(false) { };
Thread_state_base() { };
Thread_state_base(Cpu_state &c) : Cpu_state(c) { };
};
#endif /* _INCLUDE__BASE__THREAD_STATE_BASE_H_ */