Fix multiexec race.
authorVladimir Prus <vladimir@codesourcery.com>
Fri, 8 Jan 2010 16:54:14 +0000 (16:54 +0000)
committerVladimir Prus <vladimir@codesourcery.com>
Fri, 8 Jan 2010 16:54:14 +0000 (16:54 +0000)
commitcf00dfa7c9b86f171c2f331f4bafcf2593d868e9
tree621cf5ff207bc1586c64155f5a57844bed1a4aba
parentd5f2ee2eb7f848b12eff7dcc2e82bbb8801f190e
Fix multiexec race.
* infrun.c (handle_inferior_event): Use get_thread_regcache
with events ptid, not get_current_regcache.
gdb/ChangeLog
gdb/infrun.c