From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2691 invoked by alias); 6 Aug 2004 09:41:51 -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 2529 invoked from network); 6 Aug 2004 09:41:46 -0000 Received: from unknown (HELO barry.mail.mindspring.net) (207.69.200.25) by sourceware.org with SMTP; 6 Aug 2004 09:41:46 -0000 Received: from user-119a90a.biz.mindspring.com ([66.149.36.10] helo=berman.michael-chastain.com) by barry.mail.mindspring.net with esmtp (Exim 3.33 #1) id 1Bt1EF-00061a-00; Fri, 06 Aug 2004 05:41:35 -0400 Received: from mindspring.com (localhost [127.0.0.1]) by berman.michael-chastain.com (Postfix) with SMTP id 580FE4B102; Fri, 6 Aug 2004 05:42:12 -0400 (EDT) Date: Fri, 06 Aug 2004 09:41:00 -0000 From: Michael Chastain To: eliz@gnu.org Subject: Re: gdb.mi/*.exp and absolute line numbers Cc: jimb@redhat.com, gdb@sources.redhat.com, ezannoni@redhat.com, cagney@redhat.com Message-ID: <41135273.nailC2211I223@mindspring.com> References: <4111FC04.nailD7G1U3QKS@mindspring.com> <2914-Fri06Aug2004112150+0300-eliz@gnu.org> In-Reply-To: <2914-Fri06Aug2004112150+0300-eliz@gnu.org> User-Agent: nail 10.8 6/28/04 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2004-08/txt/msg00099.txt.bz2 "Eli Zaretskii" wrote: eliz> Do we have to put the copyright text at the beginning of a file? If eliz> not, you could add it to the end, which will keep the line info eliz> intact. We could do that. The gnu maintainer's guide says: http://www.gnu.org/prep/maintain_8.html 4.4 Copyright Notices ... Some formats do not have room for textual annotations; for these files, state the copyright and copying permissions in a README file in the same directory. Change log files should have a copyright notice and license notice at the end, since new material is added at the beginning but the end remains the end. (Ouch, I need to write a copyright notice for testsuite/ChangeLog.) My understanding of U.S. copyright law is that the copyright notice has to be in a prominent place, so that when a reasonable person starts reading the work, they will have reasonable notice of the copyright. That way, when a copyright holder takes a copyright infringer to court, and the copyright infringer says "I didn't see the copyright notice" and tries to make a case for innocent infringement, the copyright holder can say "It was right there in your face where any normal person would see it!", and make a case for willful infringement. Willful infringement means more damages, which means more negotiating power for the copyright holder in out-of-court negotiations. eliz> But I see you already decided on the first approach. Yeah. The copyright question is incidental. It came up because I want to make other changes to these files, and I don't like to modify a file that needs a copyright notice and doesn't have one. (Double ouch on testsuite/ChangeLog). The real issue is that some of these testsuite/*.c files cannot be edited for any reason, or they break. Imagine if the gdb doco was kept in gdb.info format, not gdb.texinfo, and every time you added something, you had to hand-adjust the Tag Table at the end or it would break. Hence my push to make gdb_get_line_number usable in gdb.mi, and then use it in gdb.mi. Michael C