17 June 2018, 20:01 | #1 |
bye
Join Date: Jun 2016
Location: Some / Where
Posts: 680
|
m68k-amigaos-gdb
Feel free to read more at https://franke.ms/amiga/gdb8.wiki
and give it a shot! I updated my web page and added
|
17 June 2018, 20:02 | #2 |
AmigaDev.com
Join Date: Mar 2016
Location: Stockholm, Sweden
Age: 35
Posts: 625
|
Woohoo!
|
18 June 2018, 22:37 | #3 |
Registered User
Join Date: Jun 2014
Location: milan / italy
Posts: 174
|
Great!
|
19 June 2018, 23:49 | #4 |
Registered User
Join Date: Feb 2013
Location: Olathe, Kansas
Posts: 214
|
been using it today with stepping. it seems to work well !
for those using WinUAE just remember to enable bsdsocket.library otherwise you will HALT (obvious i know but took me ages to figure out why my debug server wouldn't start |
20 June 2018, 02:34 | #5 |
Registered User
Join Date: Mar 2017
Location: Vancouver, BC, Canada
Posts: 30
|
Awesome!! Stefan I just sent you a (small, sorry) PayPal donation for your work on gdb. Hopefully you can buy yourself a nice beer or something.
Cheers! Greg |
20 June 2018, 13:13 | #6 |
bye
Join Date: Jun 2016
Location: Some / Where
Posts: 680
|
|
20 June 2018, 14:27 | #7 |
Registered User
Join Date: Aug 2007
Location: berlin/germany
Posts: 1,054
|
bgdbinit seems to be working under aros 68k, perhaps it can be useful. im just not sure how to approach m68k-amigaos-gdb.
lets assume ill build it within my vm linux environment im building software with, i will not be able to access winuae with it. on the other hand to use it under windows one would have a windows or at least cygwin version. is there a solution for that? perhaps i might try to access fs-uae, im running within linux vm while initially testing, not sure what port. |
21 June 2018, 13:36 | #8 |
Zone Friend
Join Date: May 2006
Location: France
Posts: 1,802
|
Great!
|
01 July 2018, 14:25 | #9 |
bye
Join Date: Jun 2016
Location: Some / Where
Posts: 680
|
A small step for me, a giant leap for Amiga fellows:
Today it worked for the first time to remotely debug an Amiga application from Eclipse. See attached screenshot. Last edited by bebbo; 26 October 2023 at 13:18. |
02 July 2018, 17:41 | #10 |
Registered User
Join Date: Dec 2010
Location: Athens/Greece
Age: 53
Posts: 719
|
Nice work. Works from terminal for me. I am trying to make Clion work with it. Stepping works (F8), it can't understand the variables though. (No variables in context)
|
02 July 2018, 18:25 | #11 |
bye
Join Date: Jun 2016
Location: Some / Where
Posts: 680
|
|
02 July 2018, 23:49 | #12 |
Registered User
Join Date: Dec 2010
Location: Athens/Greece
Age: 53
Posts: 719
|
Everything works from terminal. I can see variables and all.
It must be some idiosyncrasy of Clion. (Btw, I was using bgdbserver 0.1, switched to 0.2 still the same issue on clion. ) |
04 July 2018, 03:59 | #13 | |
Registered User
Join Date: Mar 2017
Location: Vancouver, BC, Canada
Posts: 30
|
Quote:
And the angels sang with joy... Very exciting! How anybody can develop in C without a decent debugger is unbelievable. |
|
04 July 2018, 05:19 | #14 | |
Registered User
Join Date: Feb 2017
Location: fastmem
Posts: 53
|
Quote:
Me: "Boss, can we not just *buy* a debugger vs writing our own dev tools for each new platform?" Boss: "Sure, if you buy it with your own money and use it in your own time. I don't pay you to write bugs." back-on-topic: awesome work bebbo :) |
|
11 August 2018, 16:58 | #15 |
Registered User
Join Date: Jul 2008
Location: Poland
Posts: 662
|
How about gprof?
Aprof is good but doesn't work with bigger applications. |
15 August 2018, 02:55 | #16 | |
Registered User
Join Date: Sep 2007
Location: Melbourne/Australia
Posts: 4,400
|
Quote:
I always had to debug my code with print statements....it was so painful A memory bug in ScummVM took me weeks to track down! Last edited by NovaCoder; 15 August 2018 at 07:03. |
|
15 August 2018, 09:44 | #17 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,247
|
more generally great work creating a cross compiler suite which doesn't require this crap cygwin.
|
13 September 2018, 23:46 | #18 |
AmigaMan
Join Date: Oct 2012
Location: Castro Urdiales/Spain
Posts: 761
|
Hello!!
Im using GCC from Bebbo and works really good but I have problems with GDB in windows 10. Each time I try it I have the next error : ‘The application was unable to start correctly (0xc000007b)' Im using a compiled version from https://github.com/SteveMoody73/amiga-gcc/releases Any idea? Im really happy with Bebbo's work anyway! |
17 September 2018, 10:41 | #19 | |
bye
Join Date: Jun 2016
Location: Some / Where
Posts: 680
|
Quote:
|
|
17 September 2018, 13:31 | #20 |
AmigaMan
Join Date: Oct 2012
Location: Castro Urdiales/Spain
Posts: 761
|
will try this night. And thanks so much for this good work mate!!
Last edited by tolkien; 17 September 2018 at 19:17. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Csound 3.481 on m68k | squidbass | Amiga scene | 5 | 21 July 2013 21:29 |
Rewriting m68k code | RobSis | Coders. Tutorials | 1 | 26 January 2013 16:15 |
Remote GDB debugging | copse | support.WinUAE | 6 | 31 August 2011 01:05 |
m68k-amigaos-ld.exe bug ? | FrenchShark | Coders. General | 2 | 30 November 2009 09:54 |
Shorten ported to AmigaOS m68k and WarpOS | Paul | News | 0 | 20 August 2006 12:05 |
|
|