* Debugging multiple remote targets
@ 2016-03-28 20:55 Aurelio Remonda
2016-03-28 23:38 ` Paul_Koning
0 siblings, 1 reply; 2+ messages in thread
From: Aurelio Remonda @ 2016-03-28 20:55 UTC (permalink / raw)
To: gdb
Hello, I intend to debug remote multiple targets with gdb. The idea is
to have two
inferiors and then add a target to each one for simultaneous debug.
Something like:
(gdb) add-inferior
Added inferior 2
(gdb) info inferiors
Num Description Executable
2 <null>
* 1 <null>
(gdb) target remote localhost:1235
Remote debugging using localhost:1235
(gdb) inferior 2
[Switching to inferior 2 [<null>] (<noexec>)]
(gdb) target remote localhost:1236
But when I try to add the second target i get this:
A program is being debugged already. Kill it? (y or n)
Apparently gdb does not support this. I found this wiki:
https://sourceware.org/gdb/wiki/MultiTarget
Was this work on MultiTarget gdb intended to support this kind of things?
Thank you!
--
Aurelio Remonda
Taller Technologies Argentina
Software Engineer
San Lorenzo 47, 3rd Floor, Office 5
Córdoba, Argentina
Phone: +54-351-4217888 / 4218211
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Debugging multiple remote targets
2016-03-28 20:55 Debugging multiple remote targets Aurelio Remonda
@ 2016-03-28 23:38 ` Paul_Koning
0 siblings, 0 replies; 2+ messages in thread
From: Paul_Koning @ 2016-03-28 23:38 UTC (permalink / raw)
To: aurelio.remonda; +Cc: gdb
> On Mar 28, 2016, at 4:55 PM, Aurelio Remonda <aurelio.remonda@tallertechnologies.com> wrote:
>
> Hello, I intend to debug remote multiple targets with gdb. The idea is
> to have two
> inferiors and then add a target to each one for simultaneous debug.
> Something like:
> ...
> Apparently gdb does not support this. I found this wiki:
> https://sourceware.org/gdb/wiki/MultiTarget
>
> Was this work on MultiTarget gdb intended to support this kind of things?
Yes, I believe so. That work wasn't completed. I've been trying to pick it up. I've made some progress but it is not ready for others to try yet, and some other work distracted things for a while. I will now get back to it.
paul
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-03-28 23:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-28 20:55 Debugging multiple remote targets Aurelio Remonda
2016-03-28 23:38 ` Paul_Koning
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox