Welcome, Guest. Please login or register.

Author Topic: Screenshots demonstrating AmigaOS4 debugging capabilities  (Read 4960 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Rodney

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 1386
    • Show all replies
    • http://donthaveone.com/
Re: Screenshots demonstrating AmigaOS4 debugging capabilitie
« on: August 18, 2003, 05:50:54 AM »
Im a little bit worried about the debugging... Great feature, but the thing with gdb is a little weird. I know that, when you compile unix apps under gcc, you have to compile with a special flag if you want to be able to debug with gdb... The extra flag does something to the code, puts in sometype of debug table? i dont know... it does something, and this adds to the overall executible, does it not?

Its also known that adding debuging features into a program can slow it down and make more resource hungry...

Is this the case for AmigaOS4 binaries? I would think that most users (and i admit AmigaOS users arnt most users :)) wouldnt want the gdb features, if it was going to comprimise performance in any way... I would think the gdb features would only be for beta testers/debuggers/developers of AmigaOS4 or their specific applications??


I just want to know, will adding gdb support to applications add any extra code or sometype of information to the executible so that gdb can track each execution of a statement in a program?

If something is added, is this considerable enough to slowdown the applications, either at load or run time?

Does it make it more memory hungry? <-- i guess that would be true even if only several killobyte of something was added to the application to provide this functionality...

Im pretty sure all of the above happens, and i wouldnt mind whilst i was debugging an application that i made. I just would want the above to be true for end user AmigaOS binaries, such as the TCP/IP stack or the kernel :} - although, i think i've just understood that maybe the article was just demonstrating what can be done whilst developer your own applications?
We are not Humans having a spirital experiance
We are Spirits having a Human experiance.
 

Offline Rodney

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 1386
    • Show all replies
    • http://donthaveone.com/
Re: Screenshots demonstrating AmigaOS4 debugging capabilitie
« Reply #1 on: August 18, 2003, 05:54:21 AM »
Quote

No screenshot of a Guru Meditation!


Quote

The Grim Reaper is the replacement of the old-style Guru requester (or the WarpOS crash window under WarpUp).


same thing?
We are not Humans having a spirital experiance
We are Spirits having a Human experiance.
 

Offline Rodney

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 1386
    • Show all replies
    • http://donthaveone.com/
Re: Screenshots demonstrating AmigaOS4 debugging capabilitie
« Reply #2 on: August 18, 2003, 01:54:24 PM »
I initialy posted that assuming that all amigaos4 binaries were going to be debuggable useing gdb for the end user... Such as, if Roadshow crashed you could attach jdb to it, or if another OS4 feature crashed you could debug it with gdb...

However, now i assume that will not be possible since i assume that the end user binaries in the OS4 distribution wont be compiled with any debuging flags... correct? I was hoping not because of the reasons you and i outlined... :}
We are not Humans having a spirital experiance
We are Spirits having a Human experiance.