diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-05-04 17:34:51 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-05-04 17:34:51 +0000 |
commit | 5aee37a7f38c3d238475db781553af29cab03345 (patch) | |
tree | ffa525e2fbdd3f2a7d641613d9aee453f1a56e30 /gdb/sentinel-frame.c | |
parent | 35589e354623f52af3e5f76a7ce87b6d91086685 (diff) | |
download | gdb-5aee37a7f38c3d238475db781553af29cab03345.tar.gz |
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.
Diffstat (limited to 'gdb/sentinel-frame.c')
-rw-r--r-- | gdb/sentinel-frame.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/sentinel-frame.c b/gdb/sentinel-frame.c index dab16478413..dcc583ec98e 100644 --- a/gdb/sentinel-frame.c +++ b/gdb/sentinel-frame.c @@ -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. */ |