diff options
Diffstat (limited to 'gdb/rs6000-nat.c')
-rw-r--r-- | gdb/rs6000-nat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/rs6000-nat.c b/gdb/rs6000-nat.c index e357c4d..30e4c15 100644 --- a/gdb/rs6000-nat.c +++ b/gdb/rs6000-nat.c @@ -614,7 +614,7 @@ exec_one_dummy_insn (struct regcache *regcache) do { - pid = wait (&status); + pid = waitpid (PIDGET (inferior_ptid), &status, 0); } while (pid != PIDGET (inferior_ptid)); |