(Fixed) Array Triple Fault

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
User avatar
Octacone
Member
Member
Posts: 1138
Joined: Fri Aug 07, 2015 6:13 am

(Closed) Undefined Array Triple Fault

Post 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.
OS: Basic OS
About: 32 Bit Monolithic Kernel Written in C++ and Assembly, Custom FAT 32 Bootloader
User avatar
dozniak
Member
Member
Posts: 723
Joined: Thu Jul 12, 2012 7:29 am
Location: Tallinn, Estonia

Re: (Closed) Undefined Array Triple Fault

Post by dozniak »

I'd guess you're not using any version control system like git or hg for your code?
Learn to read.
User avatar
Octacone
Member
Member
Posts: 1138
Joined: Fri Aug 07, 2015 6:13 am

(Closed) Undefined Array Triple Fault

Post 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.
OS: Basic OS
About: 32 Bit Monolithic Kernel Written in C++ and Assembly, Custom FAT 32 Bootloader
User avatar
dozniak
Member
Member
Posts: 723
Joined: Thu Jul 12, 2012 7:29 am
Location: Tallinn, Estonia

Re: (Closed) Undefined Array Triple Fault

Post 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.
Learn to read.
User avatar
Octacone
Member
Member
Posts: 1138
Joined: Fri Aug 07, 2015 6:13 am

(Fixed) Array Triple Fault

Post 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.
OS: Basic OS
About: 32 Bit Monolithic Kernel Written in C++ and Assembly, Custom FAT 32 Bootloader
Post Reply