X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Finfptrace.c;h=561d2bc1ab4db229383825c559a3e58e3600c768;hb=822c97322c5ba3bc0e4e54971b76f376117f9ee9;hp=0cf337842f1f653c421754fa41f511dec3d3171f;hpb=49a13555d6ead4041fcb2003abd48fcec14dcbcf;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/infptrace.c b/gdb/infptrace.c index 0cf337842f..561d2bc1ab 100644 --- a/gdb/infptrace.c +++ b/gdb/infptrace.c @@ -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))