![]() |
Quote:
Thanks for the cross chain, and also for the debugger. Seriously, magic. |
Quote:
Seems to work ok on command line. e.g. On the target (amiga), type 'bgdbserver helloworld' I get 'Running GDB server on port 2345'. Then on host (windows 7 64) type 'target remote localhost:2345'. Seems to connect. Says 'Remote debugging using localhost:2345' At this point I can set break point ..b 18. Or just type 'cont'. I can then see it executing successfully on target. So that's all fine. But Eclipse. Not sure..Windows version at least anyway. A quick google on bing for gcc Eclipse stuck 'Launching Debug: (91%)' Starting Program: Configuring GDB seems a well known issue. Also, no joy at all port 514. e.g. on target if I type 'bgdbserver' I get 'Starting RSH server on port 514'. on windows host cmdline type: 'bgdbserver helloworld' then 'target remote localhost:514' but just times out. |
Quote:
an empty file should do it. plus you have to configure that file in Eclipse with abolute path in the Debug settings what gdbinit file to use. Set it in the preferences and it's there in new debug configurations. I can debug with Eclipse 202006 in Windows now |
1 Attachment(s)
Hello,
I installed eclipse + toolchain-gcc scrupulously following Bebbo's instructions, to whom I thank him for the excellent tutorial. It works very well in Eclipse and now I successfully compile the programs I write, testing them in FS-UAE and also on my amiga600. Everything worked fine until I needed to pass parameters to the program via the command line. I wrote this simple source: Code:
#include <stdio.h> |
I think you should use the -noixemul parameter.
|
Quote:
where i have to put this parameter? Thank you. |
In the gcc parameters. Dunno how it is done in eclipse but there's certainly a way to set extra params somewhere in the project data.
|
1 Attachment(s)
Quote:
In Eclipse -> Project -> Properties, then configure linker as reported in the attacked image. THANK YOU! |
for future reference and just in case you want to build for 1.3 kickstart then you have to replace -noixemul with -mcrt=nix13
|
Quote:
I've a new problem now: compiling a source with MUI. --> TRANSFERRED HERE: http://eab.abime.net/showthread.php?t=112625 |
wrong thread, isn't it?
|
Quote:
|
I don't know if I'm being thick, but I want to debug a program that makes a check at the start to ensure it has been run from workbench as it reads values from tool types. If I try and debug this with bgdbserver I can't because it has to be run from the command line. Is there a trick I'm missing here or is it just not possible?
|
I can't seem to get it to work.
I'm running bgdbserver on my real amiga and used the command Code:
bgdbserver program.exe However when I go onto my MacBook and run Code:
./m68k-amigaos-gdb /Volumes/repos/amigatest/program.exe Code:
target remote <ip address of amiga>:2345 Code:
Remote debugging using 192.168.1.254:2345 |
Quote:
Feel free to file a bug at https://github.com/bebbo/binutils-gdb and provide enough details to make it reproducable. (note that debugging using the amiga13.1 branch is not yet supported) |
All times are GMT +2. The time now is 16:34. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.