From 85a772a574617daec38fea8f418eff6ed513eba7 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Mon, 20 Jul 2009 09:51:01 +0000 Subject: [PATCH] 2009-07-20 Thomas Schwinge * i386gnu-nat.c (gnu_fetch_registers, gnu_store_registers): Adjust to 2009-02-23 target_ops changes. --- gdb/ChangeLog | 5 +++++ gdb/i386gnu-nat.c | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d8dfeee..26e0421 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2009-07-20 Thomas Schwinge + + * i386gnu-nat.c (gnu_fetch_registers, gnu_store_registers): Adjust to + 2009-02-23 target_ops changes. + 2009-07-18 Michael Snyder * infrun.c (handle_inferior_event): Remove an execution_direction diff --git a/gdb/i386gnu-nat.c b/gdb/i386gnu-nat.c index 1fae705..a937932 100644 --- a/gdb/i386gnu-nat.c +++ b/gdb/i386gnu-nat.c @@ -111,7 +111,8 @@ supply_fpregset (struct regcache *regcache, const gdb_fpregset_t *fpregs) /* Fetch register REGNO, or all regs if REGNO is -1. */ void -gnu_fetch_registers (struct regcache *regcache, int regno) +gnu_fetch_registers (struct target_ops *ops, + struct regcache *regcache, int regno) { struct proc *thread; @@ -202,7 +203,8 @@ store_fpregs (const struct regcache *regcache, struct proc *thread, int regno) /* Store at least register REGNO, or all regs if REGNO == -1. */ void -gnu_store_registers (struct regcache *regcache, int regno) +gnu_store_registers (struct target_ops *ops, + struct regcache *regcache, int regno) { struct proc *thread; struct gdbarch *gdbarch = get_regcache_arch (regcache); -- 2.7.4