* GBD help: target remote => only talking about serial communication
@ 2007-08-25 8:58 Geert Vancompernolle
2007-08-25 9:11 ` Bernhard Walle
2007-08-25 9:15 ` Spen
0 siblings, 2 replies; 4+ messages in thread
From: Geert Vancompernolle @ 2007-08-25 8:58 UTC (permalink / raw)
To: gdb
Hi,
I'm using Redhat's Insight since a bit more than a week now to debug my
applications (used DDD before). Now I would like to start up the
gdbserver on the target the moment I give the RUN command on the
debugger (Insight).
So, I used the Insight console to get all possible GBD commands. "help
running" unveils me a lot of target commands, even "target remote", but
all are talking about serial communication from the host to the target.
My target, however, is connected via TCP, but I can't find any help
related subject about this in GDB.
What I would like to know, is the command that has to be send on the
command line to activate gdbserver on the target. Is that anyhow possible?
Best rgds,
--Geert
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: GBD help: target remote => only talking about serial communication
2007-08-25 8:58 GBD help: target remote => only talking about serial communication Geert Vancompernolle
@ 2007-08-25 9:11 ` Bernhard Walle
2007-08-25 9:15 ` Spen
1 sibling, 0 replies; 4+ messages in thread
From: Bernhard Walle @ 2007-08-25 9:11 UTC (permalink / raw)
To: gdb
* Geert Vancompernolle <geert.vancompernolle@gmail.com> [2007-08-25 10:58]:
> My target, however, is connected via TCP, but I can't find any help related
> subject about this in GDB.
$ {p,tk,}info gdb
=> 17.2 Using the `gdbserver' program
,---
| To use a TCP connection instead of a serial line:
|
| target> gdbserver host:2345 emacs foo.txt
`---
Thanks,
Bernhard
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: GBD help: target remote => only talking about serial communication
2007-08-25 8:58 GBD help: target remote => only talking about serial communication Geert Vancompernolle
2007-08-25 9:11 ` Bernhard Walle
@ 2007-08-25 9:15 ` Spen
2007-08-25 9:21 ` Geert Vancompernolle
1 sibling, 1 reply; 4+ messages in thread
From: Spen @ 2007-08-25 9:15 UTC (permalink / raw)
To: 'Geert Vancompernolle', gdb
> What I would like to know, is the command that has to be send
> on the command line to activate gdbserver on the target. Is
> that anyhow possible?
How do you start your gdbserver at the moment?
You could run a script using the gdb shell command
Cheers
Spen
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: GBD help: target remote => only talking about serial communication
2007-08-25 9:15 ` Spen
@ 2007-08-25 9:21 ` Geert Vancompernolle
0 siblings, 0 replies; 4+ messages in thread
From: Geert Vancompernolle @ 2007-08-25 9:21 UTC (permalink / raw)
To: Spen; +Cc: gdb
Spen wrote:
>> What I would like to know, is the command that has to be send
>> on the command line to activate gdbserver on the target. Is
>> that anyhow possible?
>>
>
> How do you start your gdbserver at the moment?
> You could run a script using the gdb shell command
>
> Cheers
> Spen
>
>
>
I'm starting the gdbserver on the target with the following command:
gdbserver :2345 ./<name_of_exec>
--
Best rgds,
--Geert
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-08-25 9:21 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-25 8:58 GBD help: target remote => only talking about serial communication Geert Vancompernolle
2007-08-25 9:11 ` Bernhard Walle
2007-08-25 9:15 ` Spen
2007-08-25 9:21 ` Geert Vancompernolle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox