Hi,
i can run debugger using command line but i can't run it using eclipse, i get the following error, could you please help, i attached my eclipse debugger configuration snapshot
Error with command: gdb --version
Cannot run program "gdb": Launching failed
Error with command: gdb --version
Error with command: gdb --version
- Attachments
-
- eclipse debugger setting.pdf
- (73.42 KiB) Downloaded 1466 times
Re: Error with command: gdb --version
The screenshots are of two different debugging configuration wizards. First two pages are from GDB Hardware Debugging, which is the correct one to use. However the last screenshot is for some different debugging configuration, which you seem to be launching. At least, it has "gdb" as the debugger, which matches the error message you are getting.
You need to launch "gdb hardware debugging" configuration (i.e. the one set up by the first two screens).
You need to launch "gdb hardware debugging" configuration (i.e. the one set up by the first two screens).
Re: Error with command: gdb --version
ok thanks, if i use the first one, these are the error i get
Error in final launch sequence
Failed to execute MI command:
-target-select remote localhost:3333
Error message from debugger back end:
localhost:3333: The system tried to join a drive to a directory on a joined drive.
localhost:3333: The system tried to join a drive to a directory on a joined drive.
Error in final launch sequence
Failed to execute MI command:
-target-select remote localhost:3333
Error message from debugger back end:
localhost:3333: The system tried to join a drive to a directory on a joined drive.
localhost:3333: The system tried to join a drive to a directory on a joined drive.
Re: Error with command: gdb --version
Is OpenOCD program running at the time you are trying to start GDB? Did you get any prompts from Windows firewall about allowing OpenOCD to open ports?
Re: Error with command: gdb --version
sorry i did not know i need to run OpenOCD when running eclipse debugger, i just did and now i am getting the following error
Error in final launch sequence
Reset command not defined for device 'Generic TCP/IP'
Error in final launch sequence
Reset command not defined for device 'Generic TCP/IP'
Re: Error with command: gdb --version
ok, when i removed check marks in startup tab from "RESET" and "delay and Halt" it seems solved the problem
Who is online
Users browsing this forum: Baidu [Spider], markkuk and 76 guests