inf-ptrace.c: use ptid_get_pid when resuming all threads
authorPedro Alves <palves@redhat.com>
Tue, 3 Mar 2015 16:28:15 +0000 (16:28 +0000)
committerPedro Alves <palves@redhat.com>
Tue, 3 Mar 2015 16:28:15 +0000 (16:28 +0000)
commitc1593e4fa9901c65a32e85c3c5d3ec41598be887
tree1d614580d2e4e24ec7ce129666787545ba863687
parenta64c9f7b850554956083678dd1ef330dd9a7cf22
inf-ptrace.c: use ptid_get_pid when resuming all threads

In this case, we want to resume the entire process and not an
individual thread.

gdb/
2015-03-03  Pedro Alves  <palves@redhat.com>

* inf-ptrace.c (inf_ptrace_resume): Remove spurious whitespace.
Use ptid_get_pid to get the overall process id when resuming all
threads.
gdb/ChangeLog
gdb/inf-ptrace.c