This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Multiple remote inferiors
On Wednesday 06 April 2011 19:50:15, Kevin Pouget wrote:
> yes, sure, I wanted to use only the "remote" target stack to connect
> GDB to 2 different inferiors
>
> "start" seems not to be used with the remote/extended remote ("No
> symbol table loaded. Use the "file" command.") target,
So do what it says. :-) Each inferior has its own set
of symbols, so you get to use "file" to load the executable
into GDB, just like if you had a simple inferior and did:
$ gdb
(gdb) tar extended-remote :xxxx
...
(gdb) start
No symbol table loaded. Use the "file" command.
You can use "add-inferior -exec <FILENAME>" as shortcut.
--
Pedro Alves