2001-12-04 Pierre Muller <muller@ics.u-strasbg.fr>
* go32-nat.c (go32_fetch_registers): Remove call to register_buffer (which is now a static function in regcache.c) and use regcache_collect instead.
This commit is contained in:
parent
2858ef35b4
commit
284a190e52
@ -1,3 +1,9 @@
|
||||
2001-12-04 Pierre Muller <muller@ics.u-strasbg.fr>
|
||||
|
||||
* go32-nat.c (go32_fetch_registers): Remove call to register_buffer
|
||||
(which is now a static function in regcache.c)
|
||||
and use regcache_collect instead.
|
||||
|
||||
2001-12-05 Andrew Cagney <cagney@redhat.com>
|
||||
|
||||
* target.c (cleanup_target): Do not initialize to_query to
|
||||
|
@ -492,12 +492,8 @@ go32_fetch_registers (int regno)
|
||||
static void
|
||||
store_register (int regno)
|
||||
{
|
||||
void *rp;
|
||||
void *v = (void *) register_buffer (regno);
|
||||
|
||||
if (regno < FP0_REGNUM)
|
||||
memcpy ((char *) &a_tss + regno_mapping[regno].tss_ofs,
|
||||
v, regno_mapping[regno].size);
|
||||
regcache_collect (regno, (void *) &a_tss + regno_mapping[regno].tss_ofs);
|
||||
else if (regno <= LAST_FPU_CTRL_REGNUM)
|
||||
i387_fill_fsave ((char *)&npx, regno);
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user