* dummy.c (find_call): Clear ignore_direct_calls.
authorIan Lance Taylor <ian@airs.com>
Thu, 16 Jan 1997 22:42:59 +0000 (22:42 +0000)
committerIan Lance Taylor <ian@airs.com>
Thu, 16 Jan 1997 22:42:59 +0000 (22:42 +0000)
gprof/ChangeLog
gprof/dummy.c

index 621e6ec..a8add32 100644 (file)
@@ -1,3 +1,7 @@
+Thu Jan 16 17:42:54 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * dummy.c (find_call): Clear ignore_direct_calls.
+
 Tue Dec 31 15:44:10 1996  Ian Lance Taylor  <ian@cygnus.com>
 
        * Makefile.in (.c.o): Add -D_GNU_SOURCE.  Put $(CFLAGS) at the
index ca602df..184cec6 100644 (file)
@@ -13,4 +13,7 @@ DEFUN (find_call, (parent, p_lowpc, p_highpc),
 {
   fprintf (stderr, "%s: -c not supported on this machine architecture\n",
           whoami);
+
+  /* Don't give the error more than once.  */
+  ignore_direct_calls = FALSE;
 }