aboutsummaryrefslogtreecommitdiff
path: root/gprof/dummy.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1997-01-16 22:42:59 +0000
committerIan Lance Taylor <ian@airs.com>1997-01-16 22:42:59 +0000
commit9edcbc03f8a0b0b667361546313e14a5727eb38d (patch)
treec4adc50d8b653ad5a5796582762912cb95761a27 /gprof/dummy.c
parent1bb1df85cbdc3f819d600bfcaaa5a07b81613703 (diff)
downloadgdb-9edcbc03f8a0b0b667361546313e14a5727eb38d.zip
gdb-9edcbc03f8a0b0b667361546313e14a5727eb38d.tar.gz
gdb-9edcbc03f8a0b0b667361546313e14a5727eb38d.tar.bz2
* dummy.c (find_call): Clear ignore_direct_calls.
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;
}