a46de84f89
When a page fault cannot be resolved, the GDB monitor can get a hint about which thread faulted by evaluating the thread state object returned by 'Cpu_session::state()'. Unfortunately, with the current implementation, the signal which informs GDB monitor about the page fault is sent before the thread state object of the faulted thread has been updated, so it can happen that the faulted thread cannot be determined immediately after receiving the signal. With this commit, the thread state gets updated before the signal is sent. At least on base-nova it can also happen that the thread state is not accessible yet after receiving the page fault notification. For this reason, GDB monitor needs to retry its query until the state is accessible. Fixes #1206. |
||
---|---|---|
.. | ||
allocator | ||
avl_tree | ||
child | ||
console | ||
cpu | ||
cxx | ||
elf | ||
env | ||
heap | ||
include | ||
ipc | ||
lock | ||
pager | ||
process | ||
server | ||
signal | ||
thread | ||
README |
README
This directory contains the mandatory Genode infrastructure on which all Genode components rely. Each subdirectory corresponds to a library. :Note: Do not mistake the name of this directory with the make variable $(BASE_DIR). The make variable refers to the top-level directory of the whole Genode source tree.