Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/gnu/dist/gdb Clear out all of %g0.
details: https://anonhg.NetBSD.org/src/rev/20275b0bc183
branches: trunk
changeset: 495476:20275b0bc183
user: eeh <eeh%NetBSD.org@localhost>
date: Sat Jul 29 03:16:22 2000 +0000
description:
Clear out all of %g0.
diffstat:
gnu/dist/gdb/sp64nbsd-nat.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diffs (14 lines):
diff -r 8401009efcf4 -r 20275b0bc183 gnu/dist/gdb/sp64nbsd-nat.c
--- a/gnu/dist/gdb/sp64nbsd-nat.c Fri Jul 28 22:26:50 2000 +0000
+++ b/gnu/dist/gdb/sp64nbsd-nat.c Sat Jul 29 03:16:22 2000 +0000
@@ -341,9 +341,8 @@
*(long *)®isters[REGISTER_BYTE (CCR_REGNUM)] =
((tf->tf_tstate&TSTATE_CCR)>>TSTATE_CCR_SHIFT);
-
/* Clear out the G0 slot (see reg.h) */
- *(int *)®isters[REGISTER_BYTE(G0_REGNUM)] = 0;
+ *(long *)®isters[REGISTER_BYTE(G0_REGNUM)] = 0;
/* My best guess at where to get the locals and input
registers is exactly where they usually are, right above
Home |
Main Index |
Thread Index |
Old Index