projects
/
external
/
binutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5f5b48
)
Fixed some bugs in handling vxworks960 -- not reading registers right,
author
Ken Raeburn
<raeburn@cygnus>
Thu, 9 Jul 1992 23:54:02 +0000
(23:54 +0000)
committer
Ken Raeburn
<raeburn@cygnus>
Thu, 9 Jul 1992 23:54:02 +0000
(23:54 +0000)
trying to use FP regs (not supported by target), botching IP.
gdb/tm-vx960.h
patch
|
blob
|
history
diff --git
a/gdb/tm-vx960.h
b/gdb/tm-vx960.h
index
f6a5e1f
..
a49c0bb
100644
(file)
--- 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) "