Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc/sparc avoid array bounds violation and use fr...
details: https://anonhg.NetBSD.org/src/rev/a497d39cb447
branches: trunk
changeset: 767122:a497d39cb447
user: mrg <mrg%NetBSD.org@localhost>
date: Sat Jul 09 15:02:49 2011 +0000
description:
avoid array bounds violation and use fr_fp and fr_pc.
diffstat:
sys/arch/sparc/sparc/db_interface.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r ccc4ae8c80a3 -r a497d39cb447 sys/arch/sparc/sparc/db_interface.c
--- a/sys/arch/sparc/sparc/db_interface.c Sat Jul 09 15:02:43 2011 +0000
+++ b/sys/arch/sparc/sparc/db_interface.c Sat Jul 09 15:02:49 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: db_interface.c,v 1.88 2011/02/14 03:18:11 mrg Exp $ */
+/* $NetBSD: db_interface.c,v 1.89 2011/07/09 15:02:49 mrg Exp $ */
/*
* Mach Operating System
@@ -33,7 +33,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: db_interface.c,v 1.88 2011/02/14 03:18:11 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: db_interface.c,v 1.89 2011/07/09 15:02:49 mrg Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@@ -165,8 +165,8 @@
{ "i3", dbregfr(arg[3]), db_sparc_regop, },
{ "i4", dbregfr(arg[4]), db_sparc_regop, },
{ "i5", dbregfr(arg[5]), db_sparc_regop, },
- { "i6", dbregfr(arg[6]), db_sparc_regop, },
- { "i7", dbregfr(arg[7]), db_sparc_regop, },
+ { "i6", dbregfr(fp), db_sparc_regop, },
+ { "i7", dbregfr(pc), db_sparc_regop, },
};
const struct db_variable * const db_eregs =
db_regs + sizeof(db_regs)/sizeof(db_regs[0]);
Home |
Main Index |
Thread Index |
Old Index