Reviewed and approved by ezannoni@redhat.com
authorFred Fish <fnf@specifix.com>
Fri, 20 Feb 2004 00:16:16 +0000 (00:16 +0000)
committerFred Fish <fnf@specifix.com>
Fri, 20 Feb 2004 00:16:16 +0000 (00:16 +0000)
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.

gdb/ChangeLog
gdb/sh-tdep.c

index 114cd44e7ea29c9a038190cf9cac1cc6b1302111..8cb3a4dbd9a4921701ec8f448bc02ca814ee208a 100644 (file)
@@ -1,3 +1,8 @@
+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.
+
 2004-02-19  Fred Fish  <fnf@redhat.com>
 
        Fix for PR breakpoint/1558.
index cca2a15462f2e1b5ce249b7c04d473be25c894c3..9cb5278c4d49a4c1917cc28023b8fa4ebb561ead 100644 (file)
@@ -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
This page took 0.031274 seconds and 4 git commands to generate.