All of lore.kernel.org
 help / color / mirror / Atom feed
* [parisc-linux] Problem compiling GDB
@ 2001-11-12 22:16 Griffin, Aubrey, BMCIO
  2001-11-19 18:46 ` Richard Hirst
  0 siblings, 1 reply; 2+ messages in thread
From: Griffin, Aubrey, BMCIO @ 2001-11-12 22:16 UTC (permalink / raw)
  To: 'Parisc-linux Mailing List'

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [parisc-linux] Problem compiling GDB
  2001-11-12 22:16 [parisc-linux] Problem compiling GDB Griffin, Aubrey, BMCIO
@ 2001-11-19 18:46 ` Richard Hirst
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Hirst @ 2001-11-19 18:46 UTC (permalink / raw)
  To: Griffin, Aubrey, BMCIO; +Cc: 'Parisc-linux Mailing List'

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
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-11-19 18:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-12 22:16 [parisc-linux] Problem compiling GDB Griffin, Aubrey, BMCIO
2001-11-19 18:46 ` Richard Hirst

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.