Multiple remote inferiors

Pedro Alves
Wed Apr 6 19:30:00 GMT 2011

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

More information about the Gdb mailing list