aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2008-10-27 11:46:24 +0000
committerPedro Alves <palves@redhat.com>2008-10-27 11:46:24 +0000
commit676e87b3082eb253c4b3b7b2ce4ab4f3b241980d (patch)
treedaaef18772c6d12bd48f04c9ba2f7d39591d4686
parentf0323ca003dec200b022c6066ab5396a85f753af (diff)
downloadgdb-676e87b3082eb253c4b3b7b2ce4ab4f3b241980d.zip
gdb-676e87b3082eb253c4b3b7b2ce4ab4f3b241980d.tar.gz
gdb-676e87b3082eb253c4b3b7b2ce4ab4f3b241980d.tar.bz2
* Makefile.in (.y.c, .l.c): sed free to xfree.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/Makefile.in4
2 files changed, 8 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 7c79dd5..93a81e5 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2008-10-27 Pedro Alves <pedro@codesourcery.com>
+ * Makefile.in (.y.c, .l.c): sed free to xfree.
+
+2008-10-27 Pedro Alves <pedro@codesourcery.com>
+
* Makefile.in (INSTALLED_LIBS, CLIBS): Remove reference to
$(TM_CLIBS).
(CDEPS): Remove reference to $(TM_CDEPS).
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 7bda059..ec4b1d2 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -1470,6 +1470,8 @@ po/$(PACKAGE).pot: force
-e '/include.*malloc.h/d' \
-e 's/\([^x]\)malloc/\1xmalloc/g' \
-e 's/\([^x]\)realloc/\1xrealloc/g' \
+ -e 's/\([ \t;,(]\)free\([ \t]*[&(),]\)/\1xfree\2/g' \
+ -e 's/\([ \t;,(]\)free$$/\1xfree/g' \
-e '/^#line.*y.tab.c/d' \
< $@.tmp > $@.new
-rm $@.tmp
@@ -1484,6 +1486,8 @@ po/$(PACKAGE).pot: force
-e '/include.*malloc.h/d' \
-e 's/\([^x]\)malloc/\1xmalloc/g' \
-e 's/\([^x]\)realloc/\1xrealloc/g' \
+ -e 's/\([ \t;,(]\)free\([ \t]*[&(),]\)/\1xfree\2/g' \
+ -e 's/\([ \t;,(]\)free$$/\1xfree/g' \
-e 's/yy_flex_xrealloc/yyxrealloc/g' \
< $@ > $@.new && \
rm -f $@ && \