2004-07-23 Andrew Cagney <cagney@gnu.org>
[deliverable/binutils-gdb.git] / gdb / infptrace.c
index 0cf337842f1f653c421754fa41f511dec3d3171f..561d2bc1ab4db229383825c559a3e58e3600c768 100644 (file)
@@ -450,7 +450,7 @@ store_register (int regno)
   regaddr = register_addr (regno, offset);
 
   /* Put the contents of regno into a local buffer */
-  regcache_collect (regno, buf);
+  regcache_raw_collect (current_regcache, regno, buf);
 
   /* Store the local buffer into the inferior a chunk at the time. */
   for (i = 0; i < DEPRECATED_REGISTER_RAW_SIZE (regno); i += sizeof (PTRACE_XFER_TYPE))
This page took 0.024103 seconds and 4 git commands to generate.