aboutsummaryrefslogtreecommitdiff
path: root/gdb/amd64-sol2-tdep.c
diff options
context:
space:
mode:
authorRainer Orth <ro@TechFak.Uni-Bielefeld.DE>2012-02-08 14:38:25 +0000
committerRainer Orth <ro@TechFak.Uni-Bielefeld.DE>2012-02-08 14:38:25 +0000
commitc71bb1cf63afec7dd2303fd698c33b887441d1c8 (patch)
tree5f90072b2ae5f4e1d8e1d0217472f37fc0764ef8 /gdb/amd64-sol2-tdep.c
parent4e6b54a6ea3700a5babd9f6ec03ea23ae736d37b (diff)
downloadgdb-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/amd64-sol2-tdep.c')
-rw-r--r--gdb/amd64-sol2-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/amd64-sol2-tdep.c b/gdb/amd64-sol2-tdep.c
index 242c3e7..dbc65d4 100644
--- a/gdb/amd64-sol2-tdep.c
+++ b/gdb/amd64-sol2-tdep.c
@@ -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 */