diff options
author | Ken Raeburn <raeburn@cygnus> | 1992-07-09 23:54:02 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@cygnus> | 1992-07-09 23:54:02 +0000 |
commit | 41ea7175982ee172d6307d445de7b50923c604d8 (patch) | |
tree | 2913c49d9b4410655bdd8b79fc59667d1ae600bf | |
parent | c5f5b482da06efe29781d844be97532827e1e6df (diff) | |
download | gdb-41ea7175982ee172d6307d445de7b50923c604d8.zip gdb-41ea7175982ee172d6307d445de7b50923c604d8.tar.gz gdb-41ea7175982ee172d6307d445de7b50923c604d8.tar.bz2 |
Fixed some bugs in handling vxworks960 -- not reading registers right,
trying to use FP regs (not supported by target), botching IP.
-rw-r--r-- | gdb/tm-vx960.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/tm-vx960.h b/gdb/tm-vx960.h index f6a5e1f..a49c0bb 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) " |