aboutsummaryrefslogtreecommitdiff
path: root/gdb/procfs.c
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1992-06-26 03:49:00 +0000
committerStu Grossman <grossman@cygnus>1992-06-26 03:49:00 +0000
commitc31921729ff004a7748c0bff89b4db0fe6795830 (patch)
tree5080a8b2feed45d4f379bac9af1c2be841b7604f /gdb/procfs.c
parent867022c3a9193d2c1dfffc66cec5ddb295684448 (diff)
downloadgdb-c31921729ff004a7748c0bff89b4db0fe6795830.zip
gdb-c31921729ff004a7748c0bff89b4db0fe6795830.tar.gz
gdb-c31921729ff004a7748c0bff89b4db0fe6795830.tar.bz2
Fixup PRSVADDR problem as per Johns suggestions.
Diffstat (limited to 'gdb/procfs.c')
-rw-r--r--gdb/procfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/procfs.c b/gdb/procfs.c
index b205c66..f06915e 100644
--- a/gdb/procfs.c
+++ b/gdb/procfs.c
@@ -2041,7 +2041,7 @@ child_resume (step, signo)
errno = 0;
pi.prrun.pr_flags = PRSTRACE | PRSFAULT | PRCFAULT;
-#if !defined(sun) && !defined(sparc)
+#ifdef PRSVADDR_BROKEN
/* Can't do this under Solaris running on a Sparc, as there seems to be no
place to put nPC. In fact, if you use this, nPC seems to be set to some
random garbage. We have to rely on the fact that PC and nPC have been