This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: GDB CVS won't build on Solaris/x86
- From: "Peter.Schauer" <Peter dot Schauer at regent dot e-technik dot tu-muenchen dot de>
- To: aoliva at redhat dot com (Alexandre Oliva)
- Cc: gdb at sources dot redhat dot com
- Date: Thu, 14 Feb 2002 9:18:04 MET
- Subject: Re: GDB CVS won't build on Solaris/x86
Should be fixed now, with the recent changes to i386v4-nat.c and:
2002-02-14 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
* config/i386/i386sol2.mh (NATDEPFILES): Add i387-nat.o, needed by
i386v4-nat.o now. Add gcore.o, Solaris x86 supports gcore.
--- ./config/i386/i386sol2.mh.orig Fri Jan 18 05:50:59 2002
+++ ./config/i386/i386sol2.mh Sat Feb 2 11:36:22 2002
@@ -4,5 +4,5 @@ XM_FILE= xm-i386v4.h
XM_CLIBS= -lsocket -lnsl
NAT_FILE= nm-i386sol2.h
-NATDEPFILES= core-regset.o fork-child.o i386v4-nat.o corelow.o procfs.o \
- proc-api.o proc-events.o proc-flags.o proc-why.o
+NATDEPFILES= core-regset.o fork-child.o i386v4-nat.o i387-nat.o corelow.o \
+ procfs.o proc-api.o proc-events.o proc-flags.o proc-why.o gcore.o
> /home/phd/oliva/src/tool/egcs/gdb/i386v4-nat.c: In function `supply_fpregset':
> /home/phd/oliva/src/tool/egcs/gdb/i386v4-nat.c:184: `LAST_FPU_CTRL_REGNUM' undeclared (first use in this function)
> /home/phd/oliva/src/tool/egcs/gdb/i386v4-nat.c:184: (Each undeclared identifier is reported only once
> /home/phd/oliva/src/tool/egcs/gdb/i386v4-nat.c:184: for each function it appears in.)
> /home/phd/oliva/src/tool/egcs/gdb/i386v4-nat.c:190: `FCS_REGNUM' undeclared (first use in this function)
> /home/phd/oliva/src/tool/egcs/gdb/i386v4-nat.c:196: `FOP_REGNUM' undeclared (first use in this function)
> /home/phd/oliva/src/tool/egcs/gdb/i386v4-nat.c: In function `fill_fpregset':
> /home/phd/oliva/src/tool/egcs/gdb/i386v4-nat.c:219: `LAST_FPU_CTRL_REGNUM' undeclared (first use in this function)
> /home/phd/oliva/src/tool/egcs/gdb/i386v4-nat.c:228: `FCS_REGNUM' undeclared (first use in this function)
> /home/phd/oliva/src/tool/egcs/gdb/i386v4-nat.c:235: `FOP_REGNUM' undeclared (first use in this function)
> make[2]: *** [i386v4-nat.o] Error 1
>
> It's been like that for the past few weeks, but I still haven't had a
> chance to investigate, so I wouldn't mind if someone beat me to it :-)
>
> --
> Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
> Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
> CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
> Free Software Evangelist *Please* write to mailing lists, not to me
>
>
--
Peter Schauer pes@regent.e-technik.tu-muenchen.de