This is the mail archive of the gdb-patches@sourceware.cygnus.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Fw: GDB 5.0 won't build on GNU/Linux/sparc



>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
>
>
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]