mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-20 06:15:09 +08:00
* frame.c (get_frame_register_bytes): Take pseudo registers into
account.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2008-09-24 Andreas Schwab <schwab@suse.de>
|
||||||
|
|
||||||
|
* frame.c (get_frame_register_bytes): Take pseudo registers into
|
||||||
|
account.
|
||||||
|
|
||||||
2008-09-23 Doug Evans <dje@google.com>
|
2008-09-23 Doug Evans <dje@google.com>
|
||||||
|
|
||||||
* dcache.c (state_chars): New static global.
|
* dcache.c (state_chars): New static global.
|
||||||
|
@ -809,7 +809,8 @@ get_frame_register_bytes (struct frame_info *frame, int regnum,
|
|||||||
/* Ensure that we will not read beyond the end of the register file.
|
/* Ensure that we will not read beyond the end of the register file.
|
||||||
This can only ever happen if the debug information is bad. */
|
This can only ever happen if the debug information is bad. */
|
||||||
maxsize = -offset;
|
maxsize = -offset;
|
||||||
for (i = regnum; i < gdbarch_num_regs (gdbarch); i++)
|
for (i = regnum;
|
||||||
|
i < gdbarch_num_regs (gdbarch) + gdbarch_num_pseudo_regs (gdbarch); i++)
|
||||||
{
|
{
|
||||||
int thissize = register_size (gdbarch, i);
|
int thissize = register_size (gdbarch, i);
|
||||||
if (thissize == 0)
|
if (thissize == 0)
|
||||||
|
Reference in New Issue
Block a user