Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
71 user(s) are online (58 user(s) are browsing Forums)

Members: 0
Guests: 71

more...

Support us!

Headlines




« 1 ... 6 7 8 (9)


Re: GDB
Home away from home
Joined:
2006/11/26 21:45
From a dying planet
Posts: 4191
@sTix

Absolutely second...if i had my XE still, i'd donate in an instant...

edit:
i'd also donate for the cause...

_________________
People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
   Report Go to top

Re: GDB
Just can't stay away
Joined:
2009/5/1 18:57
From Czech Republic
Posts: 1308
@sTix

Quote:
Are you saying that you don't have any OS4 hardware? If so, it shouldn't be like that. Someone should fix it.

I wonder if Trevor's loan hardware program is still on? At any rate, the OS4 platform needs to have a way to provide a replacement system for key developers should they experience a hardware failure. We're already losing user base because of the perceived lack of progress and the quagmire we got into with the lawsuits. Losing developers would be a sure nail in the coffin.

_________________
The Rear Window blog

AmigaOne X5000 @ 2GHz / 4GB RAM / Radeon RX 560 / ESI Juli@ / AmigaOS 4.1 Final Edition
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition
   Report Go to top

Re: GDB
Just popping in
Joined:
2011/7/20 20:01
From In the sticks
Posts: 178
@alfkil

Quote:

There is an issue on timing related to the setting and clearing of breakpoints. What kasie and billyfish is trying to do is to clear the instruction cache and is hoping, that this will establish a safety point to rely uppon, when execution of the sub-process is re-initiated. Only problem is : We have not established this. Unless we know how to rely and/or not rely on a function like IMMU->CacheClearE(), we have no grounds for assuming, that it works in one way or another.

In my initial work with db101 (and Qt as well), I needed to constantly check the minutest details about how the different functions of the system expressed their reliability-matrices. This resulted in a rather large battery of test-apps - all written in c - that might still reside on some harddrive somewhere. This is of course not an attempt to elicit some kind of awe-inflicting "historical value"-argument on my old harddrives. It is rather to say, that if you guys want to make progress, you need to isolate problems, and you need to go small - very small. I'd say, unless you can create a test-application in less than 5 lines for the main() function, and unless you can make that test app absolutely certainty-locked-hammered-and-closure-proven show, that your case is clear as a polished winter morning in your favorite fairytale fantasy - then you still have work to do.

Keep going, I know you can fix this.




Thanks Alfkil, this is really useful. Yup, I've got a very basic helloworld program that I'm using as my test case .


As regards SimpleDebug, yup I'm using it big time and working on getting it into C so that I understand what magic your code is doing :) and then try and see what to do with that then. It's really useful for working out these GDB issues as it gives me a working example of debugging code that works correctly by stopping at a breakpoint.


As for the latest with GDB, I've got my test case where I'm setting a breakpoint at a given line in both SimpleDebug and GDB. I've added code to print out the memory 32 bytes either side of where they are both inserting the breakpoint instruction so I can compare where they are putting it. I can see that GDB is putting at a different place which would explain it not working, so I'm thinking that I've got the relocation set up wrong. I'd copied the code from SimpleDebug where it relocates the .stabs and .stabstr sections into GDB but it looks like I need to do more. Hopefully I'm now on the right path with this

And yes, getting you a working OS4 machine would be awesome!








   Report Go to top

Re: GDB
Just popping in
Joined:
2006/11/30 11:59
From Lund, Sweden
Posts: 161
@trixie
@Raziel

I wouldn't mind donating HW, but I really think it should be handled by a company or some other entity not made out of flesh and blood. Private donations can be a bit, I don't know how to put it, sensitive I guess. I think it's important that it's a no strings attached thing, no implicit expectations, otherwise I think people will be reluctant to accept it.

   Report Go to top

Re: GDB
Home away from home
Joined:
2006/11/26 21:45
From a dying planet
Posts: 4191
@sTix

I hear you.
We've all been there unfortunately.

I remember at least two instances that were funded privately and ended in nothing more than either a few pictures or nothing at all...needless to say, those individuals were soon to never be seen again...

_________________
People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
   Report Go to top

Re: GDB
Just can't stay away
Joined:
2009/5/1 18:57
From Czech Republic
Posts: 1308
@sTix, Raziel

Exactly. That's why I mentioned Trevor's loaner program. I once made use of it myself. It got me covered for a year when I couldn't use my own Sam.

_________________
The Rear Window blog

AmigaOne X5000 @ 2GHz / 4GB RAM / Radeon RX 560 / ESI Juli@ / AmigaOS 4.1 Final Edition
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition
   Report Go to top

Re: GDB
Home away from home
Joined:
2006/11/26 21:45
From a dying planet
Posts: 4191
@trixie

The problem with a time limited loan i see here is, that the loaner could feel rushed to finish whatever it is in the time frame and probably give up early due to time constraints or other commitments.

But of course, it would be a start

_________________
People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
   Report Go to top

Re: GDB
Just can't stay away
Joined:
2009/10/7 1:11
From Copenhagen
Posts: 1210
@trixie, Raziel & sTix

No worries. I have located a machine, that is both working, for sale and inside my price range. I hope to have it handy and set up before too long, and I expect there will be some cheering on behalf of the giver as well ( ;) ). Thanks though for taking considerations and valuable inputs up in the thread - it is of course ot, but I guess not so much, if I end up contributing the pieces of the puzzle, that makes the beast (gdb) run.

   Report Go to top

Re: GDB
Just can't stay away
Joined:
2009/10/7 1:11
From Copenhagen
Posts: 1210
@billyfish

See... That's the complication, when one is not building own code but working on some codebase. You have no clue, what's going on. My suggestion is to spend time with the construction specifics of (in this case) gdb and get to know it well - well enough, so you can draw diagrams, hierachies and division in modules (or layers). These drawings can be very detailed and are best done - on paper - when you have a clear inner picture, after having studied the code by reading and notetaking for an extended period. When you have a feeling, that you know the tip-toes and tiniest details of what is in fact the construction of the software - then you should proceed to your own modification. If you do so before, you are not working in the correct way and end up flooding your brain with not so useful material.

...but on the other hand it's good fun to do so, so if you enjoy it, just knock yourself out ;).

   Report Go to top

Re: GDB
Home away from home
Joined:
2006/11/26 21:45
From a dying planet
Posts: 4191
@alfkil

Awesome, happy to have you back soon(ish)

_________________
People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
   Report Go to top

Re: GDB
Home away from home
Joined:
2007/9/11 12:31
From Russia
Posts: 7040
@billyfish

Lately, ExecSG guys release some beta version of the kernel with a fix for x5000, so debugging interrupts working again, and I can run old GDB on x5000, and breakpoint works.

Wasn't you lucky to deal with our breakpoint crap in the newer GDB we tried to make?:)


@alfkil

Btw, with new beta of kernel issues with SpotLess are fixed too, it kind of works now (again).

_________________
Join us to improve dopus5!
zerohero's mirror of os4/os3 crosscompiler suites
   Report Go to top

Re: GDB
Just popping in
Joined:
2006/11/30 11:59
From Lund, Sweden
Posts: 161
@kas1e

Great news!

   Report Go to top

Re: GDB
Just can't stay away
Joined:
2009/10/7 1:11
From Copenhagen
Posts: 1210
@kas1e

Quote:
Btw, with new beta of kernel issues with SpotLess are fixed too, it kind of works now (again).


What are the "kind of" not working spots?

   Report Go to top


« 1 ... 6 7 8 (9)



[Advanced Search]



Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project