diff options
Diffstat (limited to 'gdb/config')
-rw-r--r-- | gdb/config/sparc/sun4sol2.mh | 5 |
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 |