2 Attachment(s)
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. |
Quote:
uuups - I updated that binary and some more places... /sorry |
Would be nice to have the links for the gcc and gdb binaries in the first page.
|
Quote:
I'll try to compile your gdb source code meanwhile. Tomorrow I'll say to you whether I was successful. |
I have recompiled bgdbserver from source code, and the result is the same as well.
I expectect suggestions. |
Quote:
try wsl (ubuntu) together with VcXsrv instead of cygwin? EDIT: try different WinUAE configurations: * CPU? * Kickstart? * ... |
Quote:
WINUAE: if the CPU is 68020 also enable 68882 |
Quote:
Since the memory is patched correctly but the trap handler is not invoked, it looks like a bug in WinUAE. => ask there for support. |
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. |
Quote:
Since the behaviour changes if only the WinUAE config is changed, it's a Kickstart or a WinUAE issue. Good luck hunting elsewhere. |
Unable to set-up the debugger on eclipse-cdt
3 Attachment(s)
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 Attachment 67369 Attachment 67370 Attachment 67371 |
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 |
1 Attachment(s)
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 Attachment 67955 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 |
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? |
Great stuff here guys. May I ask if it is possible to use it with vbcc as well?
|
Quote:
'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. Quote:
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 |
@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 https://www.youtube.com/watch?v=ckUu...ature=youtu.be |
1 Attachment(s)
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? |
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. |
Quote:
sounds dumb... but... create a .gdbinit file in your home folder |
All times are GMT +2. The time now is 16:00. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.