From 9edcbc03f8a0b0b667361546313e14a5727eb38d Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Thu, 16 Jan 1997 22:42:59 +0000 Subject: [PATCH] * dummy.c (find_call): Clear ignore_direct_calls. --- gprof/ChangeLog | 4 ++++ gprof/dummy.c | 3 +++ 2 files changed, 7 insertions(+) diff --git a/gprof/ChangeLog b/gprof/ChangeLog index 621e6ec..a8add32 100644 --- a/gprof/ChangeLog +++ b/gprof/ChangeLog @@ -1,3 +1,7 @@ +Thu Jan 16 17:42:54 1997 Ian Lance Taylor + + * dummy.c (find_call): Clear ignore_direct_calls. + Tue Dec 31 15:44:10 1996 Ian Lance Taylor * Makefile.in (.c.o): Add -D_GNU_SOURCE. Put $(CFLAGS) at the diff --git a/gprof/dummy.c b/gprof/dummy.c index ca602df..184cec6 100644 --- a/gprof/dummy.c +++ b/gprof/dummy.c @@ -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; } -- 2.7.4