X-Git-Url: http://drtracing.org/?a=blobdiff_plain;ds=sidebyside;f=gprof%2Fdep-in.sed;h=4823f1e3829cfd61978278d4b9e1644878e50faf;hb=de54374205650be71237ce51ef7981d30ddd78dc;hp=aeb22a1acc787f9de5ce605d4c9f53f572d2c0cb;hpb=68cdbb4a03848a829b1ee8e08b9d5de3c13522a8;p=deliverable%2Fbinutils-gdb.git diff --git a/gprof/dep-in.sed b/gprof/dep-in.sed index aeb22a1acc..4823f1e382 100644 --- a/gprof/dep-in.sed +++ b/gprof/dep-in.sed @@ -1,7 +1,9 @@ :loop /\\$/N -/\\$/b loop +s/\\\n */ /g +t loop +s! \./! !g s!@INCDIR@!$(INCDIR)!g s!@TOPDIR@/include!$(INCDIR)!g s!@BFDDIR@!$(BFDDIR)!g @@ -10,11 +12,9 @@ s!@SRCDIR@/!!g s!@OBJDIR@/!!g s! \.\./intl/libintl\.h!!g -s/\\\n */ /g - s/ *$// s/ */ /g -/:$/d - -s/\(.\{50\}[^ ]*\) /\1 \\\ - /g +s/^ */A/ +s/ / \\\ +B/g +$s/$/ \\/