From 41ea7175982ee172d6307d445de7b50923c604d8 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Thu, 9 Jul 1992 23:54:02 +0000 Subject: [PATCH] Fixed some bugs in handling vxworks960 -- not reading registers right, trying to use FP regs (not supported by target), botching IP. --- gdb/tm-vx960.h | 5 +++++ 1 file changed, 5 insertions(+) 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) " -- 2.30.2