aboutsummaryrefslogtreecommitdiff
path: root/gprof
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2009-06-04 06:57:56 +0000
committerAlan Modra <amodra@gmail.com>2009-06-04 06:57:56 +0000
commit67a648f17aaf9902891ec61c8025b98612dbbab4 (patch)
tree881d0c8205eb31c8a802629f459b397a9cabd4a2 /gprof
parent26d1917c555cb057baa061fa476ec0e5c0965280 (diff)
downloadgdb-67a648f17aaf9902891ec61c8025b98612dbbab4.zip
gdb-67a648f17aaf9902891ec61c8025b98612dbbab4.tar.gz
gdb-67a648f17aaf9902891ec61c8025b98612dbbab4.tar.bz2
* dep-in.sed: Don't use \n in replacement part of s command.
* Makefile.am (DEP1): LC_ALL for uniq. * Makefile.in: Regenerate.
Diffstat (limited to 'gprof')
-rw-r--r--gprof/ChangeLog6
-rw-r--r--gprof/Makefile.am3
-rw-r--r--gprof/Makefile.in3
-rw-r--r--gprof/dep-in.sed3
4 files changed, 12 insertions, 3 deletions
diff --git a/gprof/ChangeLog b/gprof/ChangeLog
index 0b7e5db..56c478a 100644
--- a/gprof/ChangeLog
+++ b/gprof/ChangeLog
@@ -1,3 +1,9 @@
+2009-06-04 Alan Modra <amodra@bigpond.net.au>
+
+ * dep-in.sed: Don't use \n in replacement part of s command.
+ * Makefile.am (DEP1): LC_ALL for uniq.
+ * Makefile.in: Regenerate.
+
2009-05-26 Nick Clifton <nickc@redhat.com>
* po/id.po: Updated Indonesian translation.
diff --git a/gprof/Makefile.am b/gprof/Makefile.am
index a2a4217..12d794b 100644
--- a/gprof/Makefile.am
+++ b/gprof/Makefile.am
@@ -194,7 +194,8 @@ DEP1: $(gprof_SOURCES)
for f in $?; do \
$(MKDEP) $(INCLUDES) $(CFLAGS) $$f > DEPA; \
sed -n -e '1s/: .*/: \\/p' -e q < DEPA >> DEP2; \
- sed -e '1s/.*: //' -f dep.sed < DEPA | LC_ALL=C sort | uniq | \
+ sed -e '1s/.*: //' -f dep.sed < DEPA | \
+ LC_ALL=C sort | LC_ALL=C uniq | \
sed -e 's/^[AB]/ /' -e '$$s/ \\$$//' >> DEP2; \
done
rm -f DEPA
diff --git a/gprof/Makefile.in b/gprof/Makefile.in
index a9dc920..e711f53 100644
--- a/gprof/Makefile.in
+++ b/gprof/Makefile.in
@@ -966,7 +966,8 @@ DEP1: $(gprof_SOURCES)
for f in $?; do \
$(MKDEP) $(INCLUDES) $(CFLAGS) $$f > DEPA; \
sed -n -e '1s/: .*/: \\/p' -e q < DEPA >> DEP2; \
- sed -e '1s/.*: //' -f dep.sed < DEPA | LC_ALL=C sort | uniq | \
+ sed -e '1s/.*: //' -f dep.sed < DEPA | \
+ LC_ALL=C sort | LC_ALL=C uniq | \
sed -e 's/^[AB]/ /' -e '$$s/ \\$$//' >> DEP2; \
done
rm -f DEPA
diff --git a/gprof/dep-in.sed b/gprof/dep-in.sed
index 0461228..4823f1e 100644
--- a/gprof/dep-in.sed
+++ b/gprof/dep-in.sed
@@ -15,5 +15,6 @@ s! \.\./intl/libintl\.h!!g
s/ *$//
s/ */ /g
s/^ */A/
-s/ / \\\nB/g
+s/ / \\\
+B/g
$s/$/ \\/