Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* 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

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