diff options
author | Ian Lance Taylor <ian@airs.com> | 1997-01-16 22:42:59 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1997-01-16 22:42:59 +0000 |
commit | 9edcbc03f8a0b0b667361546313e14a5727eb38d (patch) | |
tree | c4adc50d8b653ad5a5796582762912cb95761a27 /gprof | |
parent | 1bb1df85cbdc3f819d600bfcaaa5a07b81613703 (diff) | |
download | gdb-9edcbc03f8a0b0b667361546313e14a5727eb38d.zip gdb-9edcbc03f8a0b0b667361546313e14a5727eb38d.tar.gz gdb-9edcbc03f8a0b0b667361546313e14a5727eb38d.tar.bz2 |
* dummy.c (find_call): Clear ignore_direct_calls.
Diffstat (limited to 'gprof')
-rw-r--r-- | gprof/ChangeLog | 4 | ||||
-rw-r--r-- | gprof/dummy.c | 3 |
2 files changed, 7 insertions, 0 deletions
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 <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 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; } |