* amd64-sol2-tdep.c (amd64_sol2_gregset_reg_offset): Correct
authorRainer Orth <ro@TechFak.Uni-Bielefeld.DE>
Wed, 8 Feb 2012 14:38:25 +0000 (14:38 +0000)
committerRainer Orth <ro@TechFak.Uni-Bielefeld.DE>
Wed, 8 Feb 2012 14:38:25 +0000 (14:38 +0000)
%eflags offset.
* i386-sol2-nat.c (amd64_sol2_gregset64_reg_offs)
(amd64_sol2_gregset32_reg_offs): Likewise.

gdb/ChangeLog
gdb/amd64-sol2-tdep.c
gdb/i386-sol2-nat.c

index 1d49188..eae43c9 100644 (file)
@@ -1,3 +1,10 @@
+2012-02-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * amd64-sol2-tdep.c (amd64_sol2_gregset_reg_offset): Correct
+       %eflags offset.
+       * i386-sol2-nat.c (amd64_sol2_gregset64_reg_offs)
+       (amd64_sol2_gregset32_reg_offs): Likewise.
+
 2012-02-08  Joel Brobecker  <brobecker@adacore.com>
 
        * solib-darwin.c (darwin_bfd_open): Make sure that the filename
index 242c3e7..dbc65d4 100644 (file)
@@ -54,7 +54,7 @@ static int amd64_sol2_gregset_reg_offset[] = {
   1 * 8,
   0 * 8,                       /* ... %r15 */
   17 * 8,                      /* %rip */
-  16 * 8,                      /* %eflags */
+  19 * 8,                      /* %eflags */
   18 * 8,                      /* %cs */
   21 * 8,                      /* %ss */
   25 * 8,                      /* %ds */
index e9fc63d..bd8643e 100644 (file)
@@ -68,7 +68,7 @@ static int amd64_sol2_gregset64_reg_offset[] = {
   1 * 8,
   0 * 8,                       /* ... %r15 */
   17 * 8,                      /* %rip */
-  16 * 8,                      /* %eflags */
+  19 * 8,                      /* %eflags */
   18 * 8,                      /* %cs */
   21 * 8,                      /* %ss */
   25 * 8,                      /* %ds */
@@ -89,7 +89,7 @@ static int amd64_sol2_gregset32_reg_offset[] = {
   9 * 8,                       /* %esi */
   8 * 8,                       /* %edi */
   17 * 8,                      /* %eip */
-  16 * 8,                      /* %eflags */
+  19 * 8,                      /* %eflags */
   18 * 8,                      /* %cs */
   21 * 8,                      /* %ss */
   25 * 8,                      /* %ds */