mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 01:07:52 +00:00
2003-05-02 Andrew Cagney <cagney@redhat.com>
* sentinel-frame.c (sentinel_frame_prev_register): Replace REGISTER_BYTE with register_offset_hack. * regcache.c (init_regcache_descr): When REGISTER_BYTE_P, check that REGISTER_BYTE is consistent with the regcache. * gdbarch.sh (REGISTER_BYTE): Add a predicate. * gdbarch.h, gdbarch.c: Regenerate.
This commit is contained in:
@@ -56,7 +56,7 @@ sentinel_frame_prev_register (struct frame_info *next_frame,
|
||||
onto the corresponding hardware register. */
|
||||
*optimized = 0;
|
||||
*lvalp = lval_register;
|
||||
*addrp = REGISTER_BYTE (regnum);
|
||||
*addrp = register_offset_hack (current_gdbarch, regnum);
|
||||
*realnum = regnum;
|
||||
|
||||
/* If needed, find and return the value of the register. */
|
||||
|
||||
Reference in New Issue
Block a user