summaryrefslogtreecommitdiff
path: root/gdb/i386gnu-nat.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2004-08-08 15:03:13 +0000
committerMark Kettenis <kettenis@gnu.org>2004-08-08 15:03:13 +0000
commite50500619067f5c294ba434fad2b0f1a77ba4b5c (patch)
treebb8c6ddcf3263d507065320633a11d712990abd2 /gdb/i386gnu-nat.c
parentd7215e679a5c16d47b12f2a3b3e431beef4bfce8 (diff)
downloadgdb-e50500619067f5c294ba434fad2b0f1a77ba4b5c.tar.gz
* i386gnu-nat.c (gnu_store_registers): Use regcache_raw_collect
instead of regcache_raw_supply when storing the registers.
Diffstat (limited to 'gdb/i386gnu-nat.c')
-rw-r--r--gdb/i386gnu-nat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/i386gnu-nat.c b/gdb/i386gnu-nat.c
index e50bb175c54..375f0eb9c23 100644
--- a/gdb/i386gnu-nat.c
+++ b/gdb/i386gnu-nat.c
@@ -267,14 +267,14 @@ gnu_store_registers (int regno)
for (i = 0; i < I386_NUM_GREGS; i++)
if (regcache_valid_p (regcache, i))
- regcache_raw_supply (regcache, i, REG_ADDR (state, i));
+ regcache_raw_collect (regcache, i, REG_ADDR (state, i));
}
else
{
proc_debug (thread, "storing register %s", REGISTER_NAME (regno));
gdb_assert (regcache_valid_p (regcache, regno));
- regcache_raw_supply (regcache, regno, REG_ADDR (state, regno));
+ regcache_craw_collect (regcache, regno, REG_ADDR (state, regno));
}
/* Restore the T bit. */