diff options
author | Ken Raeburn <raeburn@cygnus> | 1995-11-21 19:26:27 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@cygnus> | 1995-11-21 19:26:27 +0000 |
commit | a4f589cc4117d061233f46c71bb0d06af6eaece5 (patch) | |
tree | b4558b8cba7a9bed4ecc26e6f99e64be7beb1bed /gprof | |
parent | 7fc36fdab48317bb4467e5c338c6104f47e52e5c (diff) | |
download | gdb-a4f589cc4117d061233f46c71bb0d06af6eaece5.zip gdb-a4f589cc4117d061233f46c71bb0d06af6eaece5.tar.gz gdb-a4f589cc4117d061233f46c71bb0d06af6eaece5.tar.bz2 |
* Makefile.in (.m.c): Strip out directory name from function name.
Diffstat (limited to 'gprof')
-rw-r--r-- | gprof/ChangeLog | 3 | ||||
-rw-r--r-- | gprof/Makefile.in | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/gprof/ChangeLog b/gprof/ChangeLog index 3e180b7..e8a9350 100644 --- a/gprof/ChangeLog +++ b/gprof/ChangeLog @@ -1,5 +1,8 @@ Tue Nov 21 13:24:39 1995 Ken Raeburn <raeburn@cygnus.com> + * Makefile.in (.m.c): Strip out directory name from function + name. + * hist.c (scale_and_align_entries): Don't use DEFUN_VOID. Do UNITS_TO_CODE adjustment unconditionally; compiler can optimize away zero-offset case. Refer to scaled_addr, not aligned_addr. diff --git a/gprof/Makefile.in b/gprof/Makefile.in index d9a6f24..825a656 100644 --- a/gprof/Makefile.in +++ b/gprof/Makefile.in @@ -62,7 +62,7 @@ all: $(GEN_FILES) $(PROG) .m.c: awk -f $(srcdir)/gen-c-prog.awk > ./$*.c \ - FUNCTION=`(echo $*|sed -e 's/_bl//')`_blurb \ + FUNCTION=`(echo $*|sed -e 's,.*/,,g' -e 's/_bl//')`_blurb \ FILE=$*.m $(srcdir)/$*.m diststuff: $(GEN_FILES) info |