Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Tom de Vries <tdevries@suse.de>
To: gdb-patches@sourceware.org
Subject: [PATCH 2/2] [gdb/testsuite] Fix duplicate copyright notices
Date: Tue, 28 Apr 2026 15:42:24 +0200	[thread overview]
Message-ID: <20260428134224.1406284-3-tdevries@suse.de> (raw)
In-Reply-To: <20260428134224.1406284-1-tdevries@suse.de>

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]).
...
---
 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
-- 
2.51.0


  parent reply	other threads:[~2026-04-28 13:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-28 13:42 [PATCH 0/2] [gdb/testsuite] Fix some minor copyright issues Tom de Vries
2026-04-28 13:42 ` [PATCH 1/2] [gdb/testsuite] Fix copyright years in two files Tom de Vries
2026-04-28 13:42 ` Tom de Vries [this message]
2026-04-28 13:53 ` [PATCH 0/2] [gdb/testsuite] Fix some minor copyright issues Tom Tromey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260428134224.1406284-3-tdevries@suse.de \
    --to=tdevries@suse.de \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox