Hello,
my Intention ist to build an app for OpenWrt on a MIPS Platform. It works well with the OpenWRT SDK, but is a bit long-winded.
Is it possible to build, deploy and cross debug out of the CodeLite IDE?
I read some threads here about cross-debugging, it seems to be possible, how about deploying to the target?
Is it possible to upload to the target and start cross-debugging automatic?
Thanks
Embedded MIPS: Cross-Compiling, Deploy, Cross-Debugging
-
- CodeLite Curious
- Posts: 2
- Joined: Thu Aug 04, 2016 11:39 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
-
- CodeLite Curious
- Posts: 2
- Joined: Thu Aug 04, 2016 11:39 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Embedded MIPS: Cross-Compiling, Deploy, Cross-Debugging
Hello again,
I set up codelite for remote debugging on a MIPS device with the whole toolchain over tcp.
So far ist works. I can remote debug, step through breakpoints an so on.
the only thing is, that I must start gdbserver on the target manually (in a terminal over ssh) with e.g.
an then hit F5 or the play button in codelite. But when I hit STOP button Debug, the gdbserver on the target keeps running, so for new session I must
on the target machine and start gdbserver again and again in another terminal over ssh.
Tried to set up Startup Commands for Debugger in Project Settings > Debugger > Startup Commands with following
but it takes about 30 seconds or more until it's getting starting to debug remotely over tcp. When I hit stop, the same issue as above.
How can I set it up for just pushing Play and Stop to start and stop correct the remote gdbserver on the target? Any Hints?
Best regards
seko
I set up codelite for remote debugging on a MIPS device with the whole toolchain over tcp.
So far ist works. I can remote debug, step through breakpoints an so on.
the only thing is, that I must start gdbserver on the target manually (in a terminal over ssh) with e.g.
Code: Select all
gdbserver host:2222 my_prog
Code: Select all
killall gdbserver
Tried to set up Startup Commands for Debugger in Project Settings > Debugger > Startup Commands with following
Code: Select all
target remote | ssh -T root@target gdbserver host:2222 my_prog
How can I set it up for just pushing Play and Stop to start and stop correct the remote gdbserver on the target? Any Hints?
Best regards
seko