Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Multiple remote inferiors
@ 2011-04-06 15:02 Kevin Pouget
  2011-04-06 17:44 ` Pedro Alves
  0 siblings, 1 reply; 7+ messages in thread
From: Kevin Pouget @ 2011-04-06 15:02 UTC (permalink / raw)
  To: gdb

Hello,

it looks like it's not possible to connect to several
remote/extended-remote inferiors at the same time:

(gdb) target remote :1234
...
(gdb) add-inferior
Added inferior 2
(gdb) inferior 2
[Switching to inferior 2 [process 0] (<noexec>)]
(gdb) target remote :1235
A program is being debugged already.  Kill it? (y or n)


and I was wondering what was the reason?

it should theoretically be possible, now that multiprocess debugging
has been enabled, so maybe it's because remote.c relies a lot on
global variables?


Cordially,

Kevin


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-04-08 10:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-06 15:02 Multiple remote inferiors Kevin Pouget
2011-04-06 17:44 ` Pedro Alves
2011-04-06 18:50   ` Kevin Pouget
2011-04-06 19:30     ` Pedro Alves
     [not found]       ` <BANLkTinjtiS6cp6WpS=8FULQJdxWuO7K8Q@mail.gmail.com>
2011-04-08  9:43         ` Kevin Pouget
2011-04-08 10:02           ` Jan Kratochvil
2011-04-08 10:00         ` Pedro Alves

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox