* frame.c (put_frame_register): Don't use temporary buffer.
This commit is contained in:
parent
a481d14b47
commit
954b50b3ed
@ -1,3 +1,7 @@
|
||||
2012-11-05 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* frame.c (put_frame_register): Don't use temporary buffer.
|
||||
|
||||
2012-11-05 Pedro Alves <palves@redhat.com>
|
||||
|
||||
* inferior.c (exit_inferior_1): Clear 'vfork_parent' in the vfork
|
||||
|
@ -1077,12 +1077,7 @@ put_frame_register (struct frame_info *frame, int regnum,
|
||||
{
|
||||
case lval_memory:
|
||||
{
|
||||
/* FIXME: write_memory doesn't yet take constant buffers.
|
||||
Arrrg! */
|
||||
gdb_byte tmp[MAX_REGISTER_SIZE];
|
||||
|
||||
memcpy (tmp, buf, register_size (gdbarch, regnum));
|
||||
write_memory (addr, tmp, register_size (gdbarch, regnum));
|
||||
write_memory (addr, buf, register_size (gdbarch, regnum));
|
||||
break;
|
||||
}
|
||||
case lval_register:
|
||||
|
Loading…
Reference in New Issue
Block a user