aboutsummaryrefslogtreecommitdiff
path: root/gprof/dummy.c
diff options
context:
space:
mode:
Diffstat (limited to 'gprof/dummy.c')
-rw-r--r--gprof/dummy.c3
1 files changed, 3 insertions, 0 deletions
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;
}