Launching the GDB debugger on the target when starting the debug session.
Geert Vancompernolle
geert.vancompernolle@gmail.com
Wed Aug 22 15:41:00 GMT 2007
Dave Korn wrote:
> On 18 August 2007 14:10, Geert Vancompernolle wrote:
>
>
>> Hi,
>>
>> Is it possible to launch the GDB server on the target the moment you
>> press the "Run" button in Insight?
>>
>> Currently, the GDB server always has to be started manually, preferably
>> prior to launching the Insight debugger.
>>
>> Would be handy if this could be done from within Insight.
>>
>> If not possible now, it might be a handy feature for a future release.
>>
>
>
> It's tricky though. There's no standard way to "launch a process X on a remote
> machine Y". Did you have a mechanism in mind?
>
> BTW, this kind of question makes sense to discuss on the main gdb list.
> Insight is a gui wrapper that drives an underlying instance of gdb debugger. In
> the case of hitting the 'run' button, it's just sending a 'run' command to the
> gdb instance, and that's probably where you'd want to add the underlying
> functionality. There are a lot more people on the main gdb list, so you'd have a
> better chance of a useful discussion. GUI-only issues, otoh, are still best
> posted here.
>
>
> cheers,
> DaveK
>
Hi Dave,
To answer your question regarding a mechanism I have in mind, I can tell
you the following:
At the office, we're using the MontaVista DevRocket debugger
environment. Their 2.0 release was about the same as the current
Insight wrt starting up a debug session. You had to start the server on
the target manually, then launch the debugger.
Now, with their newest release (DevRocket 5.0), they've changed this
behaviour. There's no need any more to start the GDB server
separately. It's done through the debugger GUI the moment you start
your application on the debugger.
I don't know, however, how they were able to install such mechanism.
Regarding the location of my question, you're talking about the "main
gdb list". Could you point me to that list? Then I can for sure pose
my question over there.
Thanks!
--
Best rgds,
Geert
More information about the Insight
mailing list