[binutils-gdb] [gdb/testsuite] Fix duplicate copyright notices

Tom de Vries via Gdb-cvs <[email protected]>
Newsgroups gmane.comp.gdb.cvs
Message-ID <[email protected]>
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=f4d2aec7e1298098422d35bf0a0706a402c7f006

commit f4d2aec7e1298098422d35bf0a0706a402c7f006
Author: Tom de Vries <[email protected]>
Date:   Tue Apr 28 16:31:01 2026 +0200

    [gdb/testsuite] Fix duplicate copyright notices
    
    I found two files in which there were two copyright notices, in both cases
    with overlapping year ranges.
    
    Fix this by merging the copyright notices, using a simple startyear-endyear
    range, as per this text in gdb/copyright.py:
    ...
        # We want to use year intervals in the copyright notices, and
        # all years should be collapsed to one single year interval,
        # even if there are "holes" in the list of years found in the
        # original copyright notice (OK'ed by the FSF, case [gnu.org #719834]).
    ...
    
    Approved-By: Tom Tromey <[email protected]>

Diff:
---
 gdb/testsuite/gdb.base/watch_thread_num.c | 5 +----
 gdb/testsuite/gdb.pascal/types.exp        | 1 -
 2 files changed, 1 insertion(+), 5 deletions(-)

diff --git a/gdb/testsuite/gdb.base/watch_thread_num.c b/gdb/testsuite/gdb.base/watch_thread_num.c
index 05a5757f45f..ce151509c11 100644
--- a/gdb/testsuite/gdb.base/watch_thread_num.c
+++ b/gdb/testsuite/gdb.base/watch_thread_num.c
@@ -1,9 +1,6 @@
 /* This testcase is part of GDB, the GNU debugger.
 
-   Copyright 2002-2026 Free Software Foundation, Inc.
-
-   Copyright 1992, 1993, 1994, 1995, 1999, 2002, 2003, 2007, 2008, 2009
-   Free Software Foundation, Inc.
+   Copyright 1992-2026 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
diff --git a/gdb/testsuite/gdb.pascal/types.exp b/gdb/testsuite/gdb.pascal/types.exp
index 37097b59a31..83e8ff345f8 100644
--- a/gdb/testsuite/gdb.pascal/types.exp
+++ b/gdb/testsuite/gdb.pascal/types.exp
@@ -1,5 +1,4 @@
 # Copyright 1994-2026 Free Software Foundation, Inc.
-# Copyright 2007 Free Software Foundation, Inc.
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.