* i386gnu-nat.c (gnu_store_registers): Fix typo.

This commit is contained in:
Mark Kettenis 2004-08-08 15:27:56 +00:00
parent 9b8607ced1
commit ecac404d3f
2 changed files with 3 additions and 1 deletions

View file

@ -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.

View file

@ -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. */