aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/sparc
diff options
context:
space:
mode:
authorFelix Lee <flee@cygnus>1998-11-24 14:51:13 +0000
committerFelix Lee <flee@cygnus>1998-11-24 14:51:13 +0000
commit15af627cc04ef46b1ba61c77ec2cbc1c6dfe09ee (patch)
treed75ca5eb8f8a146145d2585594345b769acbcc5d /gdb/config/sparc
parentafcad54a90445ba65ca91b13341b75facc96521c (diff)
downloadgdb-15af627cc04ef46b1ba61c77ec2cbc1c6dfe09ee.zip
gdb-15af627cc04ef46b1ba61c77ec2cbc1c6dfe09ee.tar.gz
gdb-15af627cc04ef46b1ba61c77ec2cbc1c6dfe09ee.tar.bz2
* procfs.c (procfs_wait): handle syscall events first.
* procfs.c (GDB_GREGSET_TYPE, GDB_FPREGSET_TYPE): new macros. * config/sparc/xm-sun4sol2.h: use them. * core-sol2.c: don't #undef gregset_t and fpregset_t. * sol-thread.c: ditto. * sparc-tdep.c: ditto.
Diffstat (limited to 'gdb/config/sparc')
-rw-r--r--gdb/config/sparc/xm-sun4sol2.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/gdb/config/sparc/xm-sun4sol2.h b/gdb/config/sparc/xm-sun4sol2.h
index d96dde7..bc49ce4 100644
--- a/gdb/config/sparc/xm-sun4sol2.h
+++ b/gdb/config/sparc/xm-sun4sol2.h
@@ -25,11 +25,12 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include "xm-sysv4.h"
-/* SVR4's can't seem to agree on what to call the type that contains the
- general registers. Kludge around it with a #define. */
+/* gdb wants to use the prgregset_t interface rather than
+ the gregset_t interface, partly because that's what's
+ used in core-sol2.c */
-#define gregset_t prgregset_t
-#define fpregset_t prfpregset_t
+#define GDB_GREGSET_TYPE prgregset_t
+#define GDB_FPREGSET_TYPE prfpregset_t
/* These are not currently used in SVR4 (but should be, FIXME!). */
#undef DO_DEFERRED_STORES