From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25554 invoked by alias); 6 Aug 2004 08:24:48 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 25485 invoked from network); 6 Aug 2004 08:24:47 -0000 Received: from unknown (HELO aragorn.inter.net.il) (192.114.186.23) by sourceware.org with SMTP; 6 Aug 2004 08:24:47 -0000 Received: from zaretski (pns03-194-35.inter.net.il [80.230.194.35]) by aragorn.inter.net.il (MOS 3.4.6-GR) with ESMTP id EBY28350; Fri, 6 Aug 2004 11:24:35 +0300 (IDT) Date: Fri, 06 Aug 2004 08:24:00 -0000 From: "Eli Zaretskii" To: Michael Chastain Message-Id: <2914-Fri06Aug2004112150+0300-eliz@gnu.org> CC: jimb@redhat.com, cagney@redhat.com, ezannoni@redhat.com, gdb@sources.redhat.com In-reply-to: <4111FC04.nailD7G1U3QKS@mindspring.com> (message from Michael Chastain on Thu, 05 Aug 2004 05:21:08 -0400) Subject: Re: gdb.mi/*.exp and absolute line numbers Reply-to: Eli Zaretskii References: <4111FC04.nailD7G1U3QKS@mindspring.com> X-SW-Source: 2004-08/txt/msg00095.txt.bz2 > Date: Thu, 05 Aug 2004 05:21:08 -0400 > From: Michael Chastain > > So my proposal is: > > rewrite gdb_get_line_number in tcl > (either clone the function or rewrite existing implementation) > add gdb_get_line_number to gdb.mi/*.exp > add copyright notices to gdb.mi/{basics.c,gdb701.c,var-cmd.c} > add #include lines to gdb.mi/{basics.c,gdb701.c,var-cmd.c} > ... so the the gdb test suite will work with gcc HEAD > > Another way out. Less work, but cheesier: put the copyright notices for > basics.c, gdb701.c, and var-cmd.c in a separate COPYRIGHT file, with a > note that these files have absolute line numbers and cannot easily be > edited. > > Ideas? Do we have to put the copyright text at the beginning of a file? If not, you could add it to the end, which will keep the line info intact. But I see you already decided on the first approach.