diff options
author | Mark Kettenis <kettenis@gnu.org> | 2004-08-08 15:27:56 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2004-08-08 15:27:56 +0000 |
commit | ecac404d3f61723d7d44db0f44cc08080ad2f559 (patch) | |
tree | 279d8b40eb8670f23fe2e2ddf1e6c23eafd5f793 | |
parent | 9b8607ced143f479d3fa64c2672501a88676f09d (diff) | |
download | fsf-binutils-gdb-ecac404d3f61723d7d44db0f44cc08080ad2f559.zip fsf-binutils-gdb-ecac404d3f61723d7d44db0f44cc08080ad2f559.tar.gz fsf-binutils-gdb-ecac404d3f61723d7d44db0f44cc08080ad2f559.tar.bz2 |
* i386gnu-nat.c (gnu_store_registers): Fix typo.
-rw-r--r-- | gdb/ChangeLog | 2 | ||||
-rw-r--r-- | gdb/i386gnu-nat.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index cfe783f..b4bf80a 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,7 @@ 2004-08-08 Mark Kettenis <kettenis@gnu.org> + * i386gnu-nat.c (gnu_store_registers): Fix typo. + * i386gnu-nat.c (gnu_store_registers): Use regcache_raw_collect instead of regcache_raw_supply when storing the registers. diff --git a/gdb/i386gnu-nat.c b/gdb/i386gnu-nat.c index 375f0eb..f694eba 100644 --- a/gdb/i386gnu-nat.c +++ b/gdb/i386gnu-nat.c @@ -274,7 +274,7 @@ gnu_store_registers (int regno) proc_debug (thread, "storing register %s", REGISTER_NAME (regno)); gdb_assert (regcache_valid_p (regcache, regno)); - regcache_craw_collect (regcache, regno, REG_ADDR (state, regno)); + regcache_raw_collect (regcache, regno, REG_ADDR (state, regno)); } /* Restore the T bit. */ |