Hello...
I am trying to use SlickEdit as the front end to gdb for a remote embedded target. (It has been great for me debugging cygwin. Now I am using CodeSourcery G++ Lite and OpenOCD for Luminary Stellaris, Arm Cortex.)
I wrote a program to capture the communication between SlickEdit and GDB. This is what I get:
-----
[arm-none-eabi-gdb.exe -nw -interpreter=mi -quiet]
@"verified 448 bytes in 0.250000s\n"
set new-console on
@"requesting target halt and executing a soft reset\n"
(gdb)
&"set new-console on\n"
&"No symbol \"new\" in current context.\n"
^error,msg="No symbol \"new\" in current context."
(gdb)
set new-group off
&"set new-group off\n"
&"No symbol \"new\" in current context.\n"
^error,msg="No symbol \"new\" in current context."
(gdb)
-file-exec-and-symbols "blinky.axf"
^done
(gdb)
-gdb-set breakpoint pending on
^done
(gdb)
-gdb-set unwindonsignal on
^done
(gdb)
-thread-list-ids
&"warning: RMT ERROR : failed to get remote thread list.\n"
^done,thread-ids={},number-of-threads="0"
(gdb)
-exec-run
^running
(gdb)
&"Don't know how to run. Try \"help target\".\n"
^error,msg="Don't know how to run. Try \"help target\"."
(gdb)
-----
After this, SlickEdit reports: "Error: Don't know how to run. Try "help target". Then exits.
I have a .gdbinit file that connects to the target and download/flashes the program.
If I do these same steps by hand, every thing is good right up to the "-exec-run". The .gdbinit commands have downloading and started the program already. I can look at the stack inspect registers, step into the code, etc. I think a '-exec-continue' would work.
But the -exec-run command reports an error and ends everything.
I would really appreciate any help I can get!
(If I get this working, I will be influencing others to convert to SlickEdit/GNU from IAR.)
Thank You!
-Mike