![]() |
![]() |
#1 |
bye
Join Date: Jun 2016
Location: Some / Where
Posts: 681
|
![]()
Feel free to read more at https://franke.ms/amiga/gdb8.wiki
and give it a shot! I updated my web page and added
![]() |
![]() |
![]() |
#2 |
AmigaDev.com
Join Date: Mar 2016
Location: Stockholm, Sweden
Age: 35
Posts: 625
|
Woohoo!
![]() |
![]() |
![]() |
#3 |
Registered User
Join Date: Jun 2014
Location: milan / italy
Posts: 174
|
Great!
|
![]() |
![]() |
#4 |
MVG
Join Date: Feb 2013
Location: Olathe, Kansas
Posts: 215
|
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 ![]() |
![]() |
![]() |
#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 |
![]() |
![]() |
#6 |
bye
Join Date: Jun 2016
Location: Some / Where
Posts: 681
|
|
![]() |
![]() |
#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. |
![]() |
![]() |
#8 |
Zone Friend
Join Date: May 2006
Location: France
Posts: 1,835
|
Great!
|
![]() |
![]() |
#9 |
bye
Join Date: Jun 2016
Location: Some / Where
Posts: 681
|
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. |
![]() |
![]() |
#10 |
Registered User
Join Date: Dec 2010
Location: Athens/Greece
Age: 53
Posts: 722
|
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)
|
![]() |
![]() |
#11 |
bye
Join Date: Jun 2016
Location: Some / Where
Posts: 681
|
|
![]() |
![]() |
#12 |
Registered User
Join Date: Dec 2010
Location: Athens/Greece
Age: 53
Posts: 722
|
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. ) |
![]() |
![]() |
#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. |
|
![]() |
![]() |
#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 :) |
|
![]() |
![]() |
#15 |
Registered User
Join Date: Jul 2008
Location: Poland
Posts: 665
|
How about gprof?
Aprof is good but doesn't work with bigger applications. |
![]() |
![]() |
#16 | |
Registered User
Join Date: Sep 2007
Location: Melbourne/Australia
Posts: 4,415
|
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. |
|
![]() |
![]() |
#17 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,368
|
more generally great work creating a cross compiler suite which doesn't require this crap cygwin.
|
![]() |
![]() |
#18 |
AmigaMan
Join Date: Oct 2012
Location: Castro Urdiales/Spain
Posts: 763
|
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! |
![]() |
![]() |
#19 | |
bye
Join Date: Jun 2016
Location: Some / Where
Posts: 681
|
Quote:
|
|
![]() |
![]() |
#20 |
AmigaMan
Join Date: Oct 2012
Location: Castro Urdiales/Spain
Posts: 763
|
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 | |
![]() |
||||
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 |
|
|