Attach command and remote vAttach packet

Paul_Koning@Dell.com Paul_Koning@Dell.com
Fri Jul 17 18:27:00 GMT 2015


I’m trying to reconcile the flexibility of vAttach with the lack of same in GDB.  It looks like a multi-process gdbserver has no issues with attaching all sorts of different processes.  But the attach command in gdb doesn’t seem to have any notion of multi-process at all; it wants to kill the existing program first.

It seems there should be a way to create a new inferior by attaching, just as it is possible to run a new inferior.  Is that not currently available?  If so, why is that?

	paul


More information about the Gdb mailing list