[parisc-linux] Problem compiling GDB

Richard Hirst rhirst@linuxcare.com
Mon, 19 Nov 2001 18:46:38 +0000


PT_CR30 used to exist in offset.h, see

http://cvs.parisc-linux.org/linux/include/asm-parisc/ptrace.h.diff?r1=1.12&r2=1.13

I just checked out the latest gdb source from cvs.parisc-linux.org and
changed PT_CR30 in gdb/pa-linux-nat.c to '-1'.  Builds now.  the gdbserver
stuff wouldn't build anyway, as it tries to include offsets.h, not offset.h.

btw, there is a gdb .deb on http://ftp.parisc-linux.org/unofficial-debs

Richard


On Mon, Nov 12, 2001 at 05:16:37PM -0500, Griffin, Aubrey, BMCIO wrote:
> All,
> 
> I am trying to compile GDB.
> 
> I downloaded gdb-20011024 from http://ftp.parisc-linux.org/cvs/
> 
> The compilation of gdb failed. There is an undefined constant PT_CR30. This
> is used in
> gdb/pa-linux-nat.c and gdb/gdb/gdbserver/low-linux.c.
> 
> Some PT_ constants are defined in /usr/include/asm/offset.h, but not
> PT_CR30.
> 
> Should this gdb bundle compile?
> 
> Is there another gdb package that compiles on this platform?
> 
> All help is appreciated.
> 
> Thanks in advance,
> Aubrey Griffin
> 
> _______________________________________________
> parisc-linux mailing list
> parisc-linux@lists.parisc-linux.org
> http://lists.parisc-linux.org/mailman/listinfo/parisc-linux
>