This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Fw: GDB 5.0 won't build on GNU/Linux/sparc
- To: <gdb-patches at sourceware dot cygnus dot com>
- Subject: Fw: GDB 5.0 won't build on GNU/Linux/sparc
- From: "Michael Snyder" <msnyder at cygnus dot com>
- Date: Thu, 1 Jun 2000 16:12:56 -0700
>Alexandre Oliva wrote in message ...
>>gdb/sparc-tdep.c contains code in supply_gregset() and fill_gregset()
>>that will only compile on Solaris/sparc. glibc doesn't define
>>prgreg_t, R_I7, R_PS, R_PC, R_nPC nor R_Y. In fact, registers from i0
>>to i7 aren't even available in glibc's gregset
>
>Hmmm... now that I think about it...
>
>Alexandre, is this (linux/sparc) a new port? sparc-tdep.c has always
>contained unprotected references to prgregset_t, R_nPC and R_Y.
>I don't quite understand why this problem hasn't shown up before now.
>
>Of course, if your port doesn't use supply_gregset etc., then there's no
>problem with you ifdeffing it out as you have suggested (by undefining
>USE_PROC_FS).
>
> Michael
>
>
>