diff options
author | Mark Kettenis <kettenis@gnu.org> | 2004-08-08 15:03:13 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2004-08-08 15:03:13 +0000 |
commit | 9b8607ced143f479d3fa64c2672501a88676f09d (patch) | |
tree | 60b8b88c0ead66576bae18ffb4ae7dea91a72e43 /gdb/i386gnu-nat.c | |
parent | * i386gnu-nat.c: Update copyright year. (diff) | |
download | binutils-gdb-9b8607ced143f479d3fa64c2672501a88676f09d.tar.gz binutils-gdb-9b8607ced143f479d3fa64c2672501a88676f09d.tar.bz2 binutils-gdb-9b8607ced143f479d3fa64c2672501a88676f09d.zip |
* 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.c | 4 |
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. */ |