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 | 61baabd32dc447d38180b86a60eeb1aaef1a8533 (patch) | |
tree | 65bdfd5da8d8cedf821ad0b004e9949fde7089c2 /gdb | |
parent | c0c2cff88bb107c2ce9c644ccc7dfbfc520c2e40 (diff) | |
download | gdb-61baabd32dc447d38180b86a60eeb1aaef1a8533.tar.gz |
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')
-rw-r--r-- | gdb/ChangeLog | 8 | ||||
-rw-r--r-- | gdb/procfs.c | 2 |
2 files changed, 10 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 988226730a1..8716961d684 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,11 @@ +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. + 2001-04-12 Kevin Buettner <kevinb@redhat.com> * solib-aix5.c (enum maptype): Delete. diff --git a/gdb/procfs.c b/gdb/procfs.c index a899dac9c8f..1c15c367c28 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. */ |