2012-01-24 Pedro Alves <palves@redhat.com>
authorPedro Alves <palves@redhat.com>
Tue, 24 Jan 2012 14:19:03 +0000 (14:19 +0000)
committerPedro Alves <palves@redhat.com>
Tue, 24 Jan 2012 14:19:03 +0000 (14:19 +0000)
commit49c62f2ef19d1966e498462d7a5b1cb90f197455
treea99428b65e6da60f33668499a2af73d4aac92828
parentd0d8b0c6675218bed37125a99c9fedb12f9c1265
2012-01-24  Pedro Alves  <palves@redhat.com>

* remote.c (remote_add_inferior): New `fake_pid_p' parameter.  Use
it.
(remote_notice_new_inferior): If the remote end doesn't support
the multiprocess extensions, then the PID is fake.
(add_current_inferior_and_thread): New.
(remote_start_remote): Use it.
(extended_remote_attach_1): Adjust.
(extended_remote_create_inferior_1): Use
add_current_inferior_and_thread.
gdb/ChangeLog
gdb/remote.c