]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
2003-05-30 Andrew Cagney <cagney@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Fri, 30 May 2003 18:43:38 +0000 (18:43 +0000)
committerAndrew Cagney <cagney@redhat.com>
Fri, 30 May 2003 18:43:38 +0000 (18:43 +0000)
* infcall.c (call_function_by_hand): Always call
DEPRECATED_FIX_CALL_DUMMY, even for AT_ENTRY_POINT case.

gdb/ChangeLog
gdb/infcall.c

index e75a738329c16db38993027517452a1b2a34b50a..02a4b2d38812a08713a804aea5ca0797a11b4217 100644 (file)
@@ -1,6 +1,12 @@
+2003-05-30  Andrew Cagney  <cagney@redhat.com>
+
+       * infcall.c (call_function_by_hand): Always call
+       DEPRECATED_FIX_CALL_DUMMY, even for AT_ENTRY_POINT case.
+
 2003-05-30  Richard Henderson  <rth@redhat.com>
 
-       * alpha-tdep.c (alpha_heuristic_frame_unwind_cache): Fix loop increment.
+       * alpha-tdep.c (alpha_heuristic_frame_unwind_cache): Fix loop
+       increment.
 
 2003-05-29  Jim Blandy  <jimb@redhat.com>
 
index 5f80e896bbceaa54c60e50363b45b796460a1fdc..a4ad8969e7a816efd6933e88add5d00dca7e1fc6 100644 (file)
@@ -530,6 +530,17 @@ call_function_by_hand (struct value *function, int nargs, struct value **args)
        }
       break;
     case AT_ENTRY_POINT:
+      if (DEPRECATED_FIX_CALL_DUMMY_P ())
+       {
+         /* Sigh.  Some targets use DEPRECATED_FIX_CALL_DUMMY to
+             shove extra stuff onto the stack or into registers.  That
+             code should be in PUSH_DUMMY_CALL, however, in the mean
+             time ...  */
+         /* If the target is manipulating DUMMY1, it looses big time.  */
+         void *dummy1 = NULL;
+         DEPRECATED_FIX_CALL_DUMMY (dummy1, sp, funaddr, nargs, args,
+                                    value_type, using_gcc);
+       }
       real_pc = funaddr;
       dummy_addr = CALL_DUMMY_ADDRESS ();
       /* A call dummy always consists of just a single breakpoint, so