This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Patch: ia64-tdep.c typo


The attached patch has been checked in.  It fixes a typo in ia64-tdep.c where
a "for" line had been copied but only partially modified.

Patch had been pre-approved by Kevin and will be applied to gdb 6.0 branch as
well.

-- Jeff J.

2003-09-09 Jeff Johnston <jjohnstn@redhat.com>

        * ia64-tdep.c (ia64_sigtramp_frame_init_saved_regs):
        Fix typo for high range of floating registers.

Index: ia64-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/ia64-tdep.c,v
retrieving revision 1.96
diff -u -r1.96 ia64-tdep.c
--- ia64-tdep.c	9 Sep 2003 04:41:32 -0000	1.96
+++ ia64-tdep.c	9 Sep 2003 23:25:18 -0000
@@ -1892,7 +1892,7 @@
       for (regno = IA64_BR0_REGNUM; regno <= IA64_BR7_REGNUM; regno++)
 	cache->saved_regs[regno] =
 	  SIGCONTEXT_REGISTER_ADDRESS (cache->base, regno);
-      for (regno = IA64_FR2_REGNUM; regno <= IA64_BR7_REGNUM; regno++)
+      for (regno = IA64_FR2_REGNUM; regno <= IA64_FR31_REGNUM; regno++)
 	cache->saved_regs[regno] =
 	  SIGCONTEXT_REGISTER_ADDRESS (cache->base, regno);
     }

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]