From: Ken Raeburn Date: Thu, 9 Jul 1992 23:54:02 +0000 (+0000) Subject: Fixed some bugs in handling vxworks960 -- not reading registers right, X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=41ea7175982ee172d6307d445de7b50923c604d8;p=binutils-gdb.git Fixed some bugs in handling vxworks960 -- not reading registers right, trying to use FP regs (not supported by target), botching IP. --- diff --git a/gdb/tm-vx960.h b/gdb/tm-vx960.h index f6a5e1f7853..a49c0bb5952 100644 --- a/gdb/tm-vx960.h +++ b/gdb/tm-vx960.h @@ -20,6 +20,11 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include "tm-i960.h" +/* Under VxWorks the IP isn't filled in. Skip it, go with RIP, which has + the real value. */ +#undef PC_REGNUM +#define PC_REGNUM RIP_REGNUM + #define GDBINIT_FILENAME ".vxgdbinit" #define DEFAULT_PROMPT "(vxgdb) "