* infrun.c (resume): If following a fork, reread the current
authorPedro Alves <palves@redhat.com>
Thu, 20 Nov 2008 13:23:26 +0000 (13:23 +0000)
committerPedro Alves <palves@redhat.com>
Thu, 20 Nov 2008 13:23:26 +0000 (13:23 +0000)
commit607cecd2d4e6f0533f7e28f18d088ff4ec1109dd
tree957ce889e9a03607aba49da13ad9454a9e22329d
parent78bc95e3ba62e558030ff978725cdbbb48564f96
* infrun.c (resume): If following a fork, reread the current
thread.  Avoid dereferencing a possibly dangling pointer.
gdb/ChangeLog
gdb/infrun.c