This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Attach command and remote vAttach packet
- From: <Paul_Koning at Dell dot com>
- To: <gdb at sourceware dot org>
- Date: Fri, 17 Jul 2015 18:27:03 +0000
- Subject: Attach command and remote vAttach packet
- Authentication-results: sourceware.org; auth=none
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