aboutsummaryrefslogtreecommitdiff
path: root/gdb/Makefile.in
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 /gdb/Makefile.in
parentf0323ca003dec200b022c6066ab5396a85f753af (diff)
downloadgdb-676e87b3082eb253c4b3b7b2ce4ab4f3b241980d.zip
gdb-676e87b3082eb253c4b3b7b2ce4ab4f3b241980d.tar.gz
gdb-676e87b3082eb253c4b3b7b2ce4ab4f3b241980d.tar.bz2
* Makefile.in (.y.c, .l.c): sed free to xfree.
Diffstat (limited to 'gdb/Makefile.in')
-rw-r--r--gdb/Makefile.in4
1 files changed, 4 insertions, 0 deletions
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 $@ && \