Fw: GDB 5.0 won't build on GNU/Linux/sparc
Michael Snyder
msnyder@cygnus.com
Thu Jun 1 16:16:00 GMT 2000
>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
>
>
>
More information about the Gdb-patches
mailing list