Hallo mandrav and others,
I just tried the 25.07 nightly build SVN 4321.
I choose TCP connection for my gdb JTAG server (OpenOCD)
and added some commands:
monitor arm7_9 sw_bkpts enable
thbreak main
load
continue
I removed these from the general 'Settings/Compiler and Debugger' tab of course.
This is my Debugger(debug) output:
PATH=.;
:\Programme\openocd\bin;D:\Programme\yagarto\tools\bin
Command-line: D:\Programme\yagarto\bin\arm-elf-gdb.exe -nx -fullname -quiet -args ehzgw.elf
Working dir : D:\Projekte\ehzgw\
> set prompt >>>>>>cb_gdb:
(gdb) >>>>>>cb_gdb:
> show version
GNU gdb 6.5.50.20060612-cvs
.......... snip .............
>>>>>>cb_gdb:
> directory D:/Projekte/ehzgw/
>>>>>>cb_gdb:
> monitor arm7_9 sw_bkpts enable
"monitor" command not supported by this target.
>>>>>>cb_gdb:
> thbreak main
No hardware breakpoint support in the target.
>>>>>>cb_gdb:
> load
You can't do that when your target is `exec'
>>>>>>cb_gdb:
> continue
The program is not being run.
>>>>>>cb_gdb:
> target remote tcp:localhost:3333
0x10002130 in ?? ()
>>>>>>cb_gdb:
> quit
GDB crashes here (or quit).
I don't understand the line
'target remote tcp:localhost:3333'
If this is the command send to gdb than is 'tcp' correct here?
I would expect that my commands to be executed 'after'
the remote connection is established.
But it seems like the commands are send before?
How do you want to split settings between global
and project dependent?
I think the global under 'Settings/Compiler and Debugger' is obsolete
as debugging settings are project specific now?
BTW. I'm missing a stop (break) button for halting execution of target.
As I think the red 'Stop' button shuts down gdb?
Regards,
Joerg