Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] gdb multi question.

> -----Original Message-----
> From: cdt-dev-bounces@xxxxxxxxxxx 
> [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Daniel Jacobowitz
> Sent: Tuesday, January 11, 2011 3:48 PM
> To: CDT General developers list.
> Subject: Re: [cdt-dev] gdb multi question.
> 
> On Tue, Jan 11, 2011 at 08:33:21PM +0000, Schaefer, Doug wrote:
> > Just diving into the multi-inferior stuff with gdb. I 
> haven't seen documented anywhere on how to hook gdb up to 
> multiple remote targets. I figured I could just add-inferior, 
> switch to it, and then do another target remote but that just 
> wanted to kill my first target remote. This was with 7.1 on Fedora 13.
> 
> It's probably set up to use target extended-remote, where one remote
> agent controls multiple processes.  GDB does not support multiple
> remote target connections.

Oh, Doug meant gdb itself, outside of eclipse?

So Dan's right (of course), you can only connect to a single target
with GDB.

But I believe you can do multi-process using target remote as well
as target extended-remote, and of course locally.

Marc



Back to the top