mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-23 01:08:55 +00:00
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:
committed by
Christian Helmuth
parent
30e57d4581
commit
2cde1d36c1
@ -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_ */
|
||||
|
Reference in New Issue
Block a user