| GDB (DSF) Manual Remote Launch - execute commands before launch? [message #991675] |
Wed, 19 December 2012 19:39  |
Matt Wood Messages: 1 Registered: December 2012 |
Junior Member |
|
|
Hi folks I've got a question about CDT and debugging with GDB. I've got cross toolchain C project that I need to debug on a remote target. I can successfully do this by setting up the debug configuration for C/C++ Remote Application using GDB (DSF) Manual Remote Debugging Launcher.
I've noticed that the option to add commands to execute before launching the debugger are not present when using the Manual launcher but only in the Automatic Launcher configuration.
My question is does anyone know a way to get these options back? My intention is to launch some host commands to setup certain things which would make life much easier instead of having to manually enter them on the command line every time before launching the debugger.
Thanks, Matt.
|
|
|
|
| Re: GDB (DSF) Manual Remote Launch - execute commands before launch? [message #992081 is a reply to message #991675] |
Thu, 20 December 2012 15:36  |
Chris Bruniges Messages: 7 Registered: April 2012 Location: Wellington, New Zealand |
Junior Member |
|
|
I've not used remote debug too much, but it sounds like you could use a launch group. These allow you to run sequential/parallel build/run configuration - such as "Run this external tool then launch debug profile X"
Using one of these, you could write your commands in a script as Marc suggests, configure an external tool to run your script, and then a group to launch your script, and then your debug session.
Hope that helps, happy Christmas!
|
|
|
Powered by
FUDForum. Page generated in 0.02347 seconds