04 February 2020, 20:03 | #61 | |
Registered User
Join Date: Dec 2018
Location: Málaga
Posts: 61
|
Quote:
https://github.com/bebbo/bgdbserver Mi bdbserver executable has 20.888 bytes. Its sha256 is: $ sha256sum bgdbserver d327eb58fc4f0c537ded73a54159a157c84d6ffb4cd0a2837a2ffb12b957cdd0 *bgdbserver Should I compile bgdbserver for amiga from your source code instead of using your precompiled version? Other suspicious thing is that argument values are wrong. When I enable -g on linking is like -noixemul was ignored. The problem I was talking about on the other thread appears again. Do you think my m68k-gdb has a problem? Am I doing something else wrong? Thanks. |
|
04 February 2020, 21:03 | #62 | |
bye
Join Date: Jun 2016
Location: Some / Where
Posts: 681
|
Quote:
uuups - I updated that binary and some more places... /sorry |
|
04 February 2020, 21:07 | #63 |
AmigaMan
Join Date: Oct 2012
Location: Castro Urdiales/Spain
Posts: 763
|
Would be nice to have the links for the gcc and gdb binaries in the first page.
|
04 February 2020, 23:34 | #64 |
Registered User
Join Date: Dec 2018
Location: Málaga
Posts: 61
|
|
05 February 2020, 00:45 | #65 |
Registered User
Join Date: Dec 2018
Location: Málaga
Posts: 61
|
I have recompiled bgdbserver from source code, and the result is the same as well.
I expectect suggestions. |
05 February 2020, 08:32 | #66 | |
bye
Join Date: Jun 2016
Location: Some / Where
Posts: 681
|
Quote:
try wsl (ubuntu) together with VcXsrv instead of cygwin? EDIT: try different WinUAE configurations: * CPU? * Kickstart? * ... Last edited by bebbo; 05 February 2020 at 09:42. |
|
05 February 2020, 09:56 | #67 |
bye
Join Date: Jun 2016
Location: Some / Where
Posts: 681
|
|
06 February 2020, 18:37 | #68 |
bye
Join Date: Jun 2016
Location: Some / Where
Posts: 681
|
|
06 February 2020, 18:38 | #69 |
Registered User
Join Date: Dec 2018
Location: Málaga
Posts: 61
|
The configuration I use to use is an A1200 with 68882 coprocessor. Anyway, the program I'm testing is very simple and it doesn't use floating point instructions. I don't think that's the source of the problem.
I have a Debian distribution on my computer. I think Ubuntu is a distribution based on Debian. Theorically, it should be equivalent. I have to prepare the environment (compiling your compiler, etc.). I need a little time. I'll tell you the results. Thanks. |
06 February 2020, 19:45 | #70 | |
bye
Join Date: Jun 2016
Location: Some / Where
Posts: 681
|
Quote:
Since the behaviour changes if only the WinUAE config is changed, it's a Kickstart or a WinUAE issue. Good luck hunting elsewhere. |
|
17 May 2020, 13:13 | #71 |
Registered User
Join Date: May 2020
Location: Spain
Posts: 1
|
Unable to set-up the debugger on eclipse-cdt
First of all, thank you very much for such a big contributuion!
I manage to build last versions from both m68k-amigaos-* compiler tools and bgdbserver. I can debug manually launching m68k-amigaos-gdb and bgdbserver, nevertheless I'm having trouble to debug using eclipse-cdt in Windows 10. Eclipse-CDT version: Version: 2020-03 (4.15.0) Build id: 20200313-1211 With patched telnet core plugin -> org.eclipse.remote.telnet.core_1.0.0.201803121903.jar The build output in eclipse seems correct: 12:20:45 **** Build of configuration Debug for project hellowamiga **** In WinUAE, I change to the folder where both the bgdbserver and the app binary are located: cd PC: But when I start the debug command in eclipse, it connects to the amiga host, but never finishes (it gets blocked at 89%): Process hellowamiga created; pid = 1 In see in WinUAE that a connection has been started (see attachements). In the remote absolute file path section of the eclipse debug configuration, I tried both with relative path "hellowamiga" and absolute "PC:hellowamiga"; but without any luck. Any idea about how to fix this? Thanks in advance |
04 June 2020, 14:16 | #72 | |
bye
Join Date: Jun 2016
Location: Some / Where
Posts: 681
|
Quote:
My guess is that you are having a newer plugin installed. So if you copy the Code:
org.eclipse.remote.telnet.core_1.0.0.201803121903.jar Code:
org.eclipse.remote.telnet.core_1.0.0.201909031456.jar |
|
25 June 2020, 00:04 | #73 |
Registered User
Join Date: May 2017
Location: Dublin Ireland
Posts: 46
|
I realise this is not stackoverflow.com but getting same as @rocho08 trying to debug the Hello World ANSI C Project on windows 7 64-bit.
Debug seems to start well: Process helloworld created; pid = 1 Listening on port 2345 Status on bottom right in Eclipse says : 'Launching helloworld Debug 89%'. But that's as far as goes. Doesn't hit breakpoint. The (only) telnet plugin is: org.eclipse.remote.telnet.core_1.0.0.201803121903.jar which have overwrote with the patched one. Eclipse IDE for C/C++ Developers Version: 2019-12 (4.14.0) Build id: 20191212-1212 bgdbserver v1.0 winuae 4.3.0 64-bit Winuae version maybe ? No problems compiling,building or copying the built file to Amiga share folder (the folder I run bgdbserver) Will play about with it, as it does seems really good. Many thanks |
26 June 2020, 13:38 | #74 | |
bye
Join Date: Jun 2016
Location: Some / Where
Posts: 681
|
Quote:
Your telnet plugin is working, your program gets started remotely. Does your program run without debugger? And is it really the same as your local version? Last edited by bebbo; 26 June 2020 at 14:44. |
|
27 June 2020, 12:42 | #75 |
Registered User
Join Date: May 2012
Location: Dublin/Ireland
Posts: 358
|
Great stuff here guys. May I ask if it is possible to use it with vbcc as well?
|
29 June 2020, 12:43 | #76 |
Registered User
Join Date: May 2017
Location: Dublin Ireland
Posts: 46
|
No. When I start the debug server on Amiga and then, from Eclipse, select Run/Run History/<my remote application debug profile> it says:
'Connection closed by foreign host.' Excuse ignorance again but should the executable launch and run remotely (if bgdbserver is running) ? Does Eclipse build configuration make any difference (Debug or Release) ? helloworld runs fine if execute it manually on the Amiga. Yes. definitely. Checked the dates. If I delete the built helloworld, then 'Build All' the file re-appears in the test folder. Does the debugging have to be done on the System: (dh0) volume by any chance? My test folder is a shared folder from windows mounted as dh1. There are only two files in the Test folder: bgdbserver and helloworld |
04 July 2020, 10:54 | #77 |
Registered User
Join Date: Dec 2018
Location: Seattle
Posts: 13
|
@bebbo, to give you good news, everything I am doing with your GCC is working like a charm. I have also GDB working through VSCode on windows and I am not having many issues.
I have debugged some long stuff beyond hello world and it helped me a lot, but I use logs mostly. Some of my issues and pain with bgdbserver was because my application was not system friendly, but not it is. Take a look at what I could do with your hard work, Thanks a lot! This is targeting a stock 1200 [ Show youtube player ] |
08 August 2020, 17:47 | #78 | |
Registered User
Join Date: Aug 2018
Location: Minneapolis, USA
Posts: 301
|
First off, thanks for the cross chain and for this debugger!
I have hit a problem in an area I didn't expect: Eclipse. I have the cross chain working (can compile 1.3 and 3.x apps). But for this step of the setup instructions: Quote:
Looking at the update site xml: <category-def label="Amiga CDT Integration" name="Amiga CDT Integration" version="1.0.0"> Maybe that 1.0.0 snapshot is no longer available? Newer version maybe? |
|
08 August 2020, 23:44 | #79 | |
bye
Join Date: Jun 2016
Location: Some / Where
Posts: 681
|
Quote:
The installation failure is not related to that minor issue. Workaround: Install 2019-12, install Amiga-CDT and perform an update -> you get 2020-06. |
|
08 August 2020, 23:45 | #80 |
bye
Join Date: Jun 2016
Location: Some / Where
Posts: 681
|
|
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 |
|
|