That is no longer an issue, it magically went away. Inspecting anything won't be possible in a long run:simeonz wrote:I see no reason why GDB shouldn't be able to work even with -O2. It may behave strangely, like jump across lines, or not display variables, but it should at least allow you to trace instructions with si and ni, as well as set breakpoints at the function entry points. Also, try to set access point somewhere in your page tables prior to their initialization (; assuming access points work).
Edit: I meant access breakpoint; It is called watchpoint in gdb (the "watch" command)
I accidentally destroyed my code. Instead of pressing F5 (build and run, sublime, my custom script) I pressed F9 (sort and mix by something). Total disaster, like it is meant to fail.
My paging code now looks totally destroyed, everything is randomly mixed. Really stupid, that is all.
Let close this topic so other people can post their problems. Don't want to suck up all the bandwidth.
Edit: Everything is fully recovered.