From e6cbd02ac2c4dd07c92d152b10c03c7bb24aec2b Mon Sep 17 00:00:00 2001 From: Michael Snyder Date: Tue, 6 Feb 2001 20:05:42 +0000 Subject: 2001-02-06 Michael Snyder 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. --- gdb/config/sparc/sun4sol2.mh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'gdb/config/sparc/sun4sol2.mh') 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 -- cgit v1.1