diff options
author | Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> | 2012-02-08 14:38:25 +0000 |
---|---|---|
committer | Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> | 2012-02-08 14:38:25 +0000 |
commit | c71bb1cf63afec7dd2303fd698c33b887441d1c8 (patch) | |
tree | 5f90072b2ae5f4e1d8e1d0217472f37fc0764ef8 /gdb/i386-sol2-nat.c | |
parent | 4e6b54a6ea3700a5babd9f6ec03ea23ae736d37b (diff) | |
download | gdb-c71bb1cf63afec7dd2303fd698c33b887441d1c8.zip gdb-c71bb1cf63afec7dd2303fd698c33b887441d1c8.tar.gz gdb-c71bb1cf63afec7dd2303fd698c33b887441d1c8.tar.bz2 |
* 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.
Diffstat (limited to 'gdb/i386-sol2-nat.c')
-rw-r--r-- | gdb/i386-sol2-nat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/i386-sol2-nat.c b/gdb/i386-sol2-nat.c index e9fc63d..bd8643e 100644 --- a/gdb/i386-sol2-nat.c +++ b/gdb/i386-sol2-nat.c @@ -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 */ |