2011-05-20 Pedro Alves <pedro@codesourcery.com>
authorPedro Alves <palves@redhat.com>
Fri, 20 May 2011 18:38:16 +0000 (18:38 +0000)
committerPedro Alves <palves@redhat.com>
Fri, 20 May 2011 18:38:16 +0000 (18:38 +0000)
commit842951eb8cea588e16a8a6d7da5cc5c07d2c9e42
treea26e506625b922fa39e8a9d00d3ccd3f41e1d4b6
parent46cf51e660cab2feb3ea06f6867c665ec60c2dc1
2011-05-20  Pedro Alves  <pedro@codesourcery.com>

* infrun.c (proceed): Set previous_inferior_ptid here.
(init_wait_for_inferior): Initialize previous_inferior_ptid from
inferior_ptid, not null_ptid.
(wait_for_inferior): Don't initialize previous_inferior_ptid here.
(fetch_inferior_event): Nor here.
gdb/ChangeLog
gdb/infrun.c