From ecac404d3f61723d7d44db0f44cc08080ad2f559 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Sun, 8 Aug 2004 15:27:56 +0000 Subject: [PATCH] * i386gnu-nat.c (gnu_store_registers): Fix typo. --- gdb/ChangeLog | 2 ++ gdb/i386gnu-nat.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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 + * 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. */ -- 2.30.2