aboutsummaryrefslogtreecommitdiff
path: root/gdb/hpux-thread.c
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2007-04-28 22:51:34 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2007-04-28 22:51:34 +0000
commit8bb42077f294696bb97d9b047239b32b4ccf5d49 (patch)
treec18889bfd111822be7e54d794d0cf365e491983f /gdb/hpux-thread.c
parent9ddf830930edc617edef434411cd68d44ed46962 (diff)
downloadfsf-binutils-gdb-8bb42077f294696bb97d9b047239b32b4ccf5d49.zip
fsf-binutils-gdb-8bb42077f294696bb97d9b047239b32b4ccf5d49.tar.gz
fsf-binutils-gdb-8bb42077f294696bb97d9b047239b32b4ccf5d49.tar.bz2
* hpux-thread.c (hpux_thread_store_registers): Use
regcache_raw_collect, not regcache_raw_read. * irix5-nat.c (fetch_core_registers): Use regcache_raw_supply, not regcache_raw_write.
Diffstat (limited to 'gdb/hpux-thread.c')
-rw-r--r--gdb/hpux-thread.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/hpux-thread.c b/gdb/hpux-thread.c
index c5d48d0..a3640b8 100644
--- a/gdb/hpux-thread.c
+++ b/gdb/hpux-thread.c
@@ -359,7 +359,7 @@ hpux_thread_store_registers (int regno)
deprecated_child_ops.to_store_registers (regno); /* Let lower layer handle this... */
else if (regno == HPPA_SP_REGNUM)
{
- regcache_raw_read (current_regcache, regno, buf);
+ regcache_raw_collect (current_regcache, regno, buf);
write_memory ((CORE_ADDR) &tcb_ptr->static_ctx.sp, buf,
register_size (current_gdbarch, regno));
tcb_ptr->static_ctx.sp
@@ -367,13 +367,13 @@ hpux_thread_store_registers (int regno)
}
else if (regno == HPPA_PCOQ_HEAD_REGNUM)
{
- regcache_raw_read (current_regcache, regno, buf);
+ regcache_raw_collect (current_regcache, regno, buf);
write_memory (sp - 20, buf,
register_size (current_gdbarch, regno));
}
else
{
- regcache_raw_read (current_regcache, regno, buf);
+ regcache_raw_collect (current_regcache, regno, buf);
write_memory (sp + regmap[regno], buf,
register_size (current_gdbarch, regno));
}