diff options
author | Fernando Nasser <fnasser@redhat.com> | 2001-04-13 13:51:54 +0000 |
---|---|---|
committer | Fernando Nasser <fnasser@redhat.com> | 2001-04-13 13:51:54 +0000 |
commit | d1566ff56263eb8c4af82843dd568ca6ec446df0 (patch) | |
tree | 940dd9b78de7a7e750fc16dd3e080c129ea9f0aa /gdb/procfs.c | |
parent | 7ce691aec4ef1b3ee705799d7166bc949815440c (diff) | |
download | gdb-d1566ff56263eb8c4af82843dd568ca6ec446df0.zip gdb-d1566ff56263eb8c4af82843dd568ca6ec446df0.tar.gz gdb-d1566ff56263eb8c4af82843dd568ca6ec446df0.tar.bz2 |
2001-04-13 Fernando Nasser <fnasser@redhat.com>
From Adam Mirowski <Adam.Mirowski@Sun.COM>
Fixed Insight on Solaris. It was not possible to debug a process
because of EINTR "errors".
* procfs.c: (procfs_wait): if proc_wait_for_stop() fails
with EINTR, retry the call.
Diffstat (limited to 'gdb/procfs.c')
-rw-r--r-- | gdb/procfs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/procfs.c b/gdb/procfs.c index a899dac..1c15c36 100644 --- a/gdb/procfs.c +++ b/gdb/procfs.c @@ -3959,6 +3959,8 @@ wait_again: /* FIXME: might I not just use waitpid? Or try find_procinfo to see if I know about this child? */ } + else if (errno == EINTR) + goto wait_again; else { /* Unknown error from wait_for_stop. */ |