diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-01-08 19:45:23 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-01-08 19:45:23 +0000 |
commit | 7b5849cc3eb5bf8d2c83f940155a112cd4896c30 (patch) | |
tree | d53f8813e8ddbbc56a967983d5b19c9039c14a96 /gdb/cris-tdep.c | |
parent | 72a5efb3656011082f98ae614206038e2292306b (diff) | |
download | gdb-7b5849cc3eb5bf8d2c83f940155a112cd4896c30.zip gdb-7b5849cc3eb5bf8d2c83f940155a112cd4896c30.tar.gz gdb-7b5849cc3eb5bf8d2c83f940155a112cd4896c30.tar.bz2 |
2003-01-08 Andrew Cagney <cagney@redhat.com>
* cris-tdep.c (cris_frame_init_saved_regs): Use
get_frame_saved_regs and SIZEOF_FRAME_SAVED_REGS when copying a
saved_regs buffer.
* sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto.
(sh64_nofp_frame_init_saved_regs): Ditto.
(sh_fp_frame_init_saved_regs): Ditto.
* arm-tdep.c: Use deprecated_set_frame_saved_regs_hack.
* mips-tdep.c (mips_init_extra_frame_info): Ditto.
* mcore-tdep.c (analyze_dummy_frame): Ditto.
* mn10300-tdep.c (analyze_dummy_frame): Ditto.
Diffstat (limited to 'gdb/cris-tdep.c')
-rw-r--r-- | gdb/cris-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/cris-tdep.c b/gdb/cris-tdep.c index 065ba3d..3f27416 100644 --- a/gdb/cris-tdep.c +++ b/gdb/cris-tdep.c @@ -1174,7 +1174,7 @@ cris_frame_init_saved_regs (struct frame_info *fi) /* I don't see this ever happening, considering the context in which cris_frame_init_saved_regs is called (always when we're not in a dummy frame). */ - memcpy (&fi->saved_regs, dummy_regs, sizeof (fi->saved_regs)); + memcpy (get_frame_saved_regs (fi), dummy_regs, SIZEOF_FRAME_SAVED_REGS); } else { |