OSDev.org

The Place to Start for Operating System Developers
It is currently Tue Mar 19, 2024 2:38 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 95 posts ]  Go to page Previous  1 ... 3, 4, 5, 6, 7
Author Message
 Post subject: (Closed) Undefined Array Triple Fault
PostPosted: Thu Jul 20, 2017 5:55 am 
Offline
Member
Member
User avatar

Joined: Fri Aug 07, 2015 6:13 am
Posts: 1134
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


Top
 Profile  
 
 Post subject: Re: (Closed) Undefined Array Triple Fault
PostPosted: Fri Jul 21, 2017 9:47 am 
Offline
Member
Member
User avatar

Joined: Thu Jul 12, 2012 7:29 am
Posts: 723
Location: Tallinn, Estonia
I'd guess you're not using any version control system like git or hg for your code?

_________________
Learn to read.


Top
 Profile  
 
 Post subject: (Closed) Undefined Array Triple Fault
PostPosted: Fri Jul 21, 2017 10:22 am 
Offline
Member
Member
User avatar

Joined: Fri Aug 07, 2015 6:13 am
Posts: 1134
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


Top
 Profile  
 
 Post subject: Re: (Closed) Undefined Array Triple Fault
PostPosted: Fri Jul 21, 2017 1:05 pm 
Offline
Member
Member
User avatar

Joined: Thu Jul 12, 2012 7:29 am
Posts: 723
Location: Tallinn, Estonia
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.


Top
 Profile  
 
 Post subject: (Fixed) Array Triple Fault
PostPosted: Fri Jul 21, 2017 1:48 pm 
Offline
Member
Member
User avatar

Joined: Fri Aug 07, 2015 6:13 am
Posts: 1134
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 95 posts ]  Go to page Previous  1 ... 3, 4, 5, 6, 7

All times are UTC - 6 hours


Who is online

Users browsing this forum: Bing [Bot] and 18 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group