Page 7 of 7
(Closed) Undefined Array Triple Fault
Posted: Thu Jul 20, 2017 5:55 am
by Octacone
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)
That is no longer an issue, it magically went away. Inspecting anything won't be possible in a long run:
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.
Re: (Closed) Undefined Array Triple Fault
Posted: Fri Jul 21, 2017 9:47 am
by dozniak
I'd guess you're not using any version control system like git or hg for your code?
(Closed) Undefined Array Triple Fault
Posted: Fri Jul 21, 2017 10:22 am
by Octacone
dozniak wrote:I'd guess you're not using any version control system like git or hg for your code?
No I am not. I would like to use GitHub but it is not free (private repositories ofc).
This topic is closed, everybody please don't reply to it. Let other people ask questions too.
Re: (Closed) Undefined Array Triple Fault
Posted: Fri Jul 21, 2017 1:05 pm
by dozniak
Octacone wrote:dozniak wrote:I'd guess you're not using any version control system like git or hg for your code?
No I am not. I would like to use GitHub but it is not free (private repositories ofc).
You're mixing up github (a repository hosting service) with git (a repository, probably local on your harddrive).
If you insist on having a 3rd party service for storage, bitbucket.org provides free private repositories hosting.
(Fixed) Array Triple Fault
Posted: Fri Jul 21, 2017 1:48 pm
by Octacone
dozniak wrote:Octacone wrote:dozniak wrote:I'd guess you're not using any version control system like git or hg for your code?
No I am not. I would like to use GitHub but it is not free (private repositories ofc).
You're mixing up github (a repository hosting service) with git (a repository, probably local on your harddrive).
If you insist on having a 3rd party service for storage, bitbucket.org provides free private repositories hosting.
Oh, you are right. I mixed those two up. I don't particularly fancy bitbucket because of its rather non-conventional user interface (I prefer GitHub when it comes to UI friendliness).
Git sounds about right. I could try that, have nothing to loose.