[Github-comments] [geany/geany-plugins] arm-none-eabi-gdb (#672)

J-Dunn notifications at xxxxx
Wed Jan 10 10:19:39 UTC 2018


Hi , I am trying to get Scope to use the cross-gdb. 

It seems that with the flexibility of the program set-up dlg, workingdir, environment, arguments .... it should be possible to use the cross debugger without altering geany-scope source code. 

I have used scope.conf to call the cross-gdb:
`gdb_executable=/bin/arm-none-eabi-gdb
`
I have my embedded target running and listening:

```
2018-01-09T22:49:58 INFO gdbserver/gdb-server.c: Target voltage is 3245 mV.
2018-01-09T22:49:58 INFO gdbserver/gdb-server.c: Listening at *:4242...

```

I use Debug|Setup Program to select my target's .elf and have a start-up file with the following content:

```
br main
target remote :4242
c

```
This enables me to do remote debugging on my ARM target using the IDE, which is great. That is the main thing I wanted from geany-scope. I may finally be able to dump using the mastodon eclipse. 


The terminate button kills the target process but does not seem to get geany to shut the cross-gdb session. I have to manually do a quit command. 

There may be grounds for doing a few simple mods to tidy things up a little and take account of differences of using a remote connection.  I anyone else using scope for remote? I have not been able to find anything. 



-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/672
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20180110/4c7e5ea4/attachment.html>


More information about the Github-comments mailing list