From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12198 invoked by alias); 27 Jul 2012 20:25:44 -0000 Received: (qmail 12157 invoked by uid 22791); 27 Jul 2012 20:25:36 -0000 X-SWARE-Spam-Status: No, hits=-6.2 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,SPF_HELO_PASS,TW_AV,TW_VF,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 27 Jul 2012 20:25:13 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q6RKPDOw017224 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 27 Jul 2012 16:25:13 -0400 Received: from host2.jankratochvil.net (ovpn-116-33.ams2.redhat.com [10.36.116.33]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q6RKOwlu032052 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Fri, 27 Jul 2012 16:25:01 -0400 Date: Fri, 27 Jul 2012 20:25:00 -0000 From: Jan Kratochvil To: Tom Tromey Cc: gdb-patches@sourceware.org Subject: [commit] Re: RFC: mark read-only sources with buffer-read-only Message-ID: <20120727202451.GA17124@host2.jankratochvil.net> References: <87mx2me682.fsf@fleche.redhat.com> <20120726190347.GB2463@host2.jankratochvil.net> <87ipdae3t0.fsf@fleche.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87ipdae3t0.fsf@fleche.redhat.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2012-07/txt/msg00710.txt.bz2 On Thu, 26 Jul 2012 21:10:51 +0200, Tom Tromey wrote: > I won't complain ;-) I have made slight adjustment so that copying.awk is no longer read-only in VIM. Checked in. Thanks, Jan http://sourceware.org/ml/gdb-cvs/2012-07/msg00234.html --- src/gdb/ChangeLog 2012/07/27 19:22:16 1.14545 +++ src/gdb/ChangeLog 2012/07/27 20:22:52 1.14546 @@ -1,4 +1,88 @@ 2012-07-27 Tom Tromey + Jan Kratochvil + + * copying.awk: Print buffer-read-only and vi ro markers. + * copying.c: Rebuild. + * gdbarch.sh (copyright): Print buffer-read-only and vi ro markers. + * gdbarch.c, gdbarch.h: Rebuild. + * target-descriptions.c (maint_print_c_tdesc_cmd): Print + buffer-read-only and vi ro markers. + * features/arm-with-iwmmxt.c: Rebuild. + * features/arm-with-m-fpa-layout.c: Rebuild. + * features/arm-with-m-vfp-d16.c: Rebuild. + * features/arm-with-m.c: Rebuild. + * features/arm-with-neon.c: Rebuild. + * features/arm-with-vfpv2.c: Rebuild. + * features/arm-with-vfpv3.c: Rebuild. + * features/i386/amd64-avx-linux.c: Rebuild. + * features/i386/amd64-avx.c: Rebuild. + * features/i386/amd64-linux.c: Rebuild. + * features/i386/amd64.c: Rebuild. + * features/i386/i386-avx-linux.c: Rebuild. + * features/i386/i386-avx.c: Rebuild. + * features/i386/i386-linux.c: Rebuild. + * features/i386/i386-mmx-linux.c: Rebuild. + * features/i386/i386-mmx.c: Rebuild. + * features/i386/i386.c: Rebuild. + * features/i386/x32-avx-linux.c: Rebuild. + * features/i386/x32-avx.c: Rebuild. + * features/i386/x32-linux.c: Rebuild. + * features/i386/x32.c: Rebuild. + * features/mips-dsp-linux.c: Rebuild. + * features/mips-linux.c: Rebuild. + * features/mips64-dsp-linux.c: Rebuild. + * features/mips64-linux.c: Rebuild. + * features/rs6000/powerpc-32.c: Rebuild. + * features/rs6000/powerpc-32l.c: Rebuild. + * features/rs6000/powerpc-403.c: Rebuild. + * features/rs6000/powerpc-403gc.c: Rebuild. + * features/rs6000/powerpc-405.c: Rebuild. + * features/rs6000/powerpc-505.c: Rebuild. + * features/rs6000/powerpc-601.c: Rebuild. + * features/rs6000/powerpc-602.c: Rebuild. + * features/rs6000/powerpc-603.c: Rebuild. + * features/rs6000/powerpc-604.c: Rebuild. + * features/rs6000/powerpc-64.c: Rebuild. + * features/rs6000/powerpc-64l.c: Rebuild. + * features/rs6000/powerpc-7400.c: Rebuild. + * features/rs6000/powerpc-750.c: Rebuild. + * features/rs6000/powerpc-860.c: Rebuild. + * features/rs6000/powerpc-altivec32.c: Rebuild. + * features/rs6000/powerpc-altivec32l.c: Rebuild. + * features/rs6000/powerpc-altivec64.c: Rebuild. + * features/rs6000/powerpc-altivec64l.c: Rebuild. + * features/rs6000/powerpc-cell32l.c: Rebuild. + * features/rs6000/powerpc-cell64l.c: Rebuild. + * features/rs6000/powerpc-e500.c: Rebuild. + * features/rs6000/powerpc-e500l.c: Rebuild. + * features/rs6000/powerpc-isa205-32l.c: Rebuild. + * features/rs6000/powerpc-isa205-64l.c: Rebuild. + * features/rs6000/powerpc-isa205-altivec32l.c: Rebuild. + * features/rs6000/powerpc-isa205-altivec64l.c: Rebuild. + * features/rs6000/powerpc-isa205-vsx32l.c: Rebuild. + * features/rs6000/powerpc-isa205-vsx64l.c: Rebuild. + * features/rs6000/powerpc-vsx32.c: Rebuild. + * features/rs6000/powerpc-vsx32l.c: Rebuild. + * features/rs6000/powerpc-vsx64.c: Rebuild. + * features/rs6000/powerpc-vsx64l.c: Rebuild. + * features/rs6000/rs6000.c: Rebuild. + * features/s390-linux32.c: Rebuild. + * features/s390-linux32v1.c: Rebuild. + * features/s390-linux32v2.c: Rebuild. + * features/s390-linux64.c: Rebuild. + * features/s390-linux64v1.c: Rebuild. + * features/s390-linux64v2.c: Rebuild. + * features/s390x-linux64.c: Rebuild. + * features/s390x-linux64v1.c: Rebuild. + * features/s390x-linux64v2.c: Rebuild. + * features/tic6x-c62x-linux.c: Rebuild. + * features/tic6x-c62x.c: Rebuild. + * features/tic6x-c64x-linux.c: Rebuild. + * features/tic6x-c64x.c: Rebuild. + * features/tic6x-c64xp-linux.c: Rebuild. + * features/tic6x-c64xp.c: Rebuild. + +2012-07-27 Tom Tromey * c-exp.y (classify_name): Avoid assignment in condition. --- src/gdb/copying.awk 2012/07/26 17:21:06 1.5 +++ src/gdb/copying.awk 2012/07/27 20:22:59 1.6 @@ -1,7 +1,10 @@ BEGIN { FS="\""; - print "/* ==> Do not modify this file!! It is created automatically"; - print " by copying.awk. Modify copying.awk instead. <== */"; + print "/* ==> Do not modify this file!! " \ + "-*- buffer-read-only: t -*- vi" \ + ":set ro:"; + print " It is created automatically by copying.awk."; + print " Modify copying.awk instead. <== */"; print "" print "#include \"defs.h\"" print "#include \"command.h\"" --- src/gdb/copying.c 2012/07/26 17:21:06 1.9 +++ src/gdb/copying.c 2012/07/27 20:22:59 1.10 @@ -1,5 +1,6 @@ -/* ==> Do not modify this file!! It is created automatically - by copying.awk. Modify copying.awk instead. <== */ +/* ==> Do not modify this file!! -*- buffer-read-only: t -*- vi:set ro: + It is created automatically by copying.awk. + Modify copying.awk instead. <== */ #include "defs.h" #include "command.h" --- src/gdb/gdbarch.c 2012/06/08 14:24:56 1.493 +++ src/gdb/gdbarch.c 2012/07/27 20:23:00 1.494 @@ -1,4 +1,5 @@ -/* *INDENT-OFF* */ /* THIS FILE IS GENERATED */ +/* *INDENT-OFF* */ /* THIS FILE IS GENERATED -*- buffer-read-only: t -*- */ +/* vi:set ro: */ /* Dynamic architecture support for GDB, the GNU debugger. --- src/gdb/gdbarch.h 2012/06/08 14:24:57 1.443 +++ src/gdb/gdbarch.h 2012/07/27 20:23:00 1.444 @@ -1,4 +1,5 @@ -/* *INDENT-OFF* */ /* THIS FILE IS GENERATED */ +/* *INDENT-OFF* */ /* THIS FILE IS GENERATED -*- buffer-read-only: t -*- */ +/* vi:set ro: */ /* Dynamic architecture support for GDB, the GNU debugger. --- src/gdb/gdbarch.sh 2012/06/08 14:24:57 1.542 +++ src/gdb/gdbarch.sh 2012/07/27 20:23:03 1.543 @@ -1006,7 +1006,8 @@ copyright () { cat <