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 | c841ef290c6edaeb3915c9041267170830498431 (patch) | |
tree | 7db9d4394ca00e471fa0b7281e4a5cf6466146b6 | |
parent | e50500619067f5c294ba434fad2b0f1a77ba4b5c (diff) | |
download | gdb-c841ef290c6edaeb3915c9041267170830498431.tar.gz |
* 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 cfe783f8ac5..b4bf80ae1bd 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 375f0eb9c23..f694eba91e5 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. */ |