diff options
author | Fred Fish <fnf@specifix.com> | 2004-02-20 00:16:16 +0000 |
---|---|---|
committer | Fred Fish <fnf@specifix.com> | 2004-02-20 00:16:16 +0000 |
commit | 960ccd7d81ef8e1450ac52414d5356e33c1184d9 (patch) | |
tree | 9332c68e2db3d322bb0efbdd99c91410c748a10c /gdb/sh-tdep.c | |
parent | 74974d3755dfe1c593a25bdbf149c74dbb8b3ac4 (diff) | |
download | gdb-960ccd7d81ef8e1450ac52414d5356e33c1184d9.zip gdb-960ccd7d81ef8e1450ac52414d5356e33c1184d9.tar.gz gdb-960ccd7d81ef8e1450ac52414d5356e33c1184d9.tar.bz2 |
Reviewed and approved by ezannoni@redhat.com
2004-02-19 Fred Fish <fnf@redhat.com>
* sh-tdep.c (sh_analyze_prologue): Eliminate useless test of
cache->uses_fp prior to setting it.
Diffstat (limited to 'gdb/sh-tdep.c')
-rw-r--r-- | gdb/sh-tdep.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/sh-tdep.c b/gdb/sh-tdep.c index cca2a15..9cb5278 100644 --- a/gdb/sh-tdep.c +++ b/gdb/sh-tdep.c @@ -482,8 +482,7 @@ sh_analyze_prologue (CORE_ADDR pc, CORE_ADDR current_pc, } else if (IS_MOV_SP_FP (inst)) { - if (!cache->uses_fp) - cache->uses_fp = 1; + cache->uses_fp = 1; /* At this point, only allow argument register moves to other registers or argument register moves to @(X,fp) which are moving the register arguments onto the stack area allocated |