Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/gnu/dist/gdb6/gdb Fix check for old trap frame layout.
details: https://anonhg.NetBSD.org/src/rev/fa8fe0ab3c2f
branches: trunk
changeset: 752296:fa8fe0ab3c2f
user: dsl <dsl%NetBSD.org@localhost>
date: Mon Feb 22 08:19:38 2010 +0000
description:
Fix check for old trap frame layout.
diffstat:
gnu/dist/gdb6/gdb/amd64nbsd-tdep.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r af6764eb197f -r fa8fe0ab3c2f gnu/dist/gdb6/gdb/amd64nbsd-tdep.c
--- a/gnu/dist/gdb6/gdb/amd64nbsd-tdep.c Mon Feb 22 07:55:32 2010 +0000
+++ b/gnu/dist/gdb6/gdb/amd64nbsd-tdep.c Mon Feb 22 08:19:38 2010 +0000
@@ -170,7 +170,7 @@
/* The trap frame layout was changed lf the %rip value is less than 2^16 it
* is almost certainly the %ss of the old format. */
- if (rip < 2^16)
+ if (rip < (1 << 16))
{
for (i = 0; i < ARRAY_SIZE (amd64nbsd_tf_reg_offset); i++)
Home |
Main Index |
Thread Index |
Old Index