aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/sparc/sun4sol2.mh
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2001-02-06 20:05:42 +0000
committerMichael Snyder <msnyder@vmware.com>2001-02-06 20:05:42 +0000
commite6cbd02ac2c4dd07c92d152b10c03c7bb24aec2b (patch)
tree876e170f720eb924e4121a1fcdb47d7d9e8ae2df /gdb/config/sparc/sun4sol2.mh
parent713f0374c042c67cfed6110a7ce2dd852ad49500 (diff)
downloadgdb-e6cbd02ac2c4dd07c92d152b10c03c7bb24aec2b.zip
gdb-e6cbd02ac2c4dd07c92d152b10c03c7bb24aec2b.tar.gz
gdb-e6cbd02ac2c4dd07c92d152b10c03c7bb24aec2b.tar.bz2
2001-02-06 Michael Snyder <msnyder@makita.cygnus.com>
Submitted by Paul Hilfinger (hilfingr@gnat.com) and Andrei Petrov (and@genesyslab.com). * findvar.c: Buffers of size MAX_REGISTER_RAW_SIZE or REGISTER_BYTES must be allocated dynamically, since these are no longer constants. * infcmd.c: Ditto. * regcache.c: Ditto. * remote.c: Ditto. * sol-thread.c: Ditto. * valops.c: Ditto. * config/sparc/sun4sol2.mh (MH_CFLAGS): Add -I/usr/include/v9, as a work-around for a missing Sun header file in solaris for sparc64.
Diffstat (limited to 'gdb/config/sparc/sun4sol2.mh')
-rw-r--r--gdb/config/sparc/sun4sol2.mh5
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/config/sparc/sun4sol2.mh b/gdb/config/sparc/sun4sol2.mh
index 4ab69c5..9d24697 100644
--- a/gdb/config/sparc/sun4sol2.mh
+++ b/gdb/config/sparc/sun4sol2.mh
@@ -8,6 +8,9 @@ NAT_FILE= nm-sun4sol2.h
NATDEPFILES= corelow.o core-sol2.o solib.o solib-svr4.o fork-child.o procfs.o \
proc-api.o proc-events.o proc-flags.o proc-why.o
+# /usr/include/v9 is needed only by core-sol2.c when including
+# v9/sys/privregs.h, or rather the headers it in turn includes.
+MH_CFLAGS=-I/usr/include/v9
# If you are compiling with Sun's compiler, add the -xs option to CC
# (e.g. `make CC="cc -xs"').
# Sun's compilers require the -xs option to produce debug information
@@ -15,5 +18,5 @@ NATDEPFILES= corelow.o core-sol2.o solib.o solib-svr4.o fork-child.o procfs.o \
# files only, with undocumented pointers to it in the linked executable.
# This is commented out because we don't assume that the Sun compiler
# is in use.
-#MH_CFLAGS=-xs
+#MH_CFLAGS=-xs -I/usr/include/v9
HOST_IPC=-DBSD_IPC