From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11969 invoked by alias); 14 Apr 2008 18:21:55 -0000 Received: (qmail 11939 invoked by uid 367); 14 Apr 2008 18:21:54 -0000 Date: Mon, 14 Apr 2008 18:21:00 -0000 Message-ID: <20080414182154.11924.qmail@sourceware.org> From: cagney@sourceware.org To: frysk-cvs@sourceware.org Subject: [SCM] master: frysk-common/ChangeLog X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 919e5663a51ff87897a8988fb2ce9bd3b6092bc2 X-Git-Newrev: 50dd27460503311919f41c0c2ad58f150875fd3a Mailing-List: contact frysk-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: frysk-cvs-owner@sourceware.org Reply-To: frysk@sourceware.org X-SW-Source: 2008-q2/txt/msg00096.txt.bz2 The branch, master has been updated via 50dd27460503311919f41c0c2ad58f150875fd3a (commit) from 919e5663a51ff87897a8988fb2ce9bd3b6092bc2 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email. - Log ----------------------------------------------------------------- commit 50dd27460503311919f41c0c2ad58f150875fd3a Author: Andrew Cagney Date: Mon Apr 14 14:20:01 2008 -0400 frysk-common/ChangeLog 2008-04-14 Andrew Cagney * Makefile.rules (SUBST): For .c and .cxx, add a #line directive pointing to the original file. ----------------------------------------------------------------------- Summary of changes: frysk-common/ChangeLog | 3 +++ frysk-common/Makefile.rules | 9 +++++++-- 2 files changed, 10 insertions(+), 2 deletions(-) First 500 lines of diff: diff --git a/frysk-common/ChangeLog b/frysk-common/ChangeLog index e1f4304..36bdc4c 100644 --- a/frysk-common/ChangeLog +++ b/frysk-common/ChangeLog @@ -1,5 +1,8 @@ 2008-04-14 Andrew Cagney + * Makefile.rules (SUBST): For .c and .cxx, add a #line directive + pointing to the original file. + * Makefile.rules (SUBST_SED): Substitute @host_cpu@. * frysk-common.ac: Add AC_CANONICAL_HOST. diff --git a/frysk-common/Makefile.rules b/frysk-common/Makefile.rules index df72855..59d6005 100644 --- a/frysk-common/Makefile.rules +++ b/frysk-common/Makefile.rules @@ -285,8 +285,13 @@ SUBST = \ mkdir -p `dirname $@` ; \ rm -f $@.tmp ; \ touch $@.tmp ; \ - case "$<" in \ - *.java|*.cxx|*.c) \ + case "$@" in \ + *.cxx | *.c) \ + echo '// Generated from: $<' >> $@.tmp ; \ + echo '' >> $@.tmp ; \ + echo '\#line 1 "$<"' >> $@.tmp ; \ + ;; \ + *.java) \ echo '// Generated from: $<' >> $@.tmp ; \ echo '' >> $@.tmp ; \ ;; \ hooks/post-receive -- frysk system monitor/debugger