bblum / landslide-simics

the landslide codebase (old simics version)
11 stars 9 forks source link

stack trace when user thread pagefaults is useless #199

Open bblum opened 8 years ago

bblum commented 8 years ago

to reproduce: f14 g23 thread exit join mutex lock and unlock

bblum commented 8 years ago

to get a "different" stack trace (ie, the first_frame starts right on the page fault handler entry) you can undo this change in landslide.c

-               if (KERNEL_MEMORY(from_eip)) {
+               if (from_cs == SEGSEL_KERNEL_CS) {