* [PATCH 0/2] [gdb/testsuite] Fix some minor copyright issues
@ 2026-04-28 13:42 Tom de Vries
2026-04-28 13:42 ` [PATCH 1/2] [gdb/testsuite] Fix copyright years in two files Tom de Vries
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Tom de Vries @ 2026-04-28 13:42 UTC (permalink / raw)
To: gdb-patches
Two patches fixing some minor copyright issues.
The first patch fixes the copyright year in some files.
The second patch merges copyright year ranges in some files.
Tom de Vries (2):
[gdb/testsuite] Fix copyright years in two files
[gdb/testsuite] Fix duplicate copyright notices
gdb/testsuite/gdb.base/save-history.exp | 2 +-
gdb/testsuite/gdb.base/watch_thread_num.c | 5 +----
gdb/testsuite/gdb.pascal/types.exp | 1 -
gdb/testsuite/gdb.server/require-running.exp | 2 +-
4 files changed, 3 insertions(+), 7 deletions(-)
base-commit: 986e397e3a42f114c8dd81f544782f040210dac2
--
2.51.0
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 1/2] [gdb/testsuite] Fix copyright years in two files
2026-04-28 13:42 [PATCH 0/2] [gdb/testsuite] Fix some minor copyright issues Tom de Vries
@ 2026-04-28 13:42 ` Tom de Vries
2026-04-28 13:42 ` [PATCH 2/2] [gdb/testsuite] Fix duplicate copyright notices Tom de Vries
2026-04-28 13:53 ` [PATCH 0/2] [gdb/testsuite] Fix some minor copyright issues Tom Tromey
2 siblings, 0 replies; 4+ messages in thread
From: Tom de Vries @ 2026-04-28 13:42 UTC (permalink / raw)
To: gdb-patches
I ran gdb/copyright.py, and encountered two files that were added in 2026 but
listed an older copyright year. Fix this.
---
gdb/testsuite/gdb.base/save-history.exp | 2 +-
gdb/testsuite/gdb.server/require-running.exp | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/gdb/testsuite/gdb.base/save-history.exp b/gdb/testsuite/gdb.base/save-history.exp
index bb7a56b2a72..a24b0b9454c 100644
--- a/gdb/testsuite/gdb.base/save-history.exp
+++ b/gdb/testsuite/gdb.base/save-history.exp
@@ -1,4 +1,4 @@
-# Copyright 2023 Free Software Foundation, Inc.
+# Copyright 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.server/require-running.exp b/gdb/testsuite/gdb.server/require-running.exp
index 179c7ccc1ca..137c404697c 100644
--- a/gdb/testsuite/gdb.server/require-running.exp
+++ b/gdb/testsuite/gdb.server/require-running.exp
@@ -1,4 +1,4 @@
-# Copyright 2025 Free Software Foundation, Inc.
+# Copyright 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
--
2.51.0
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 2/2] [gdb/testsuite] Fix duplicate copyright notices
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
2026-04-28 13:53 ` [PATCH 0/2] [gdb/testsuite] Fix some minor copyright issues Tom Tromey
2 siblings, 0 replies; 4+ messages in thread
From: Tom de Vries @ 2026-04-28 13:42 UTC (permalink / raw)
To: gdb-patches
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 0/2] [gdb/testsuite] Fix some minor copyright issues
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 ` [PATCH 2/2] [gdb/testsuite] Fix duplicate copyright notices Tom de Vries
@ 2026-04-28 13:53 ` Tom Tromey
2 siblings, 0 replies; 4+ messages in thread
From: Tom Tromey @ 2026-04-28 13:53 UTC (permalink / raw)
To: Tom de Vries; +Cc: gdb-patches
>>>>> "Tom" == Tom de Vries <tdevries@suse.de> writes:
Tom> Two patches fixing some minor copyright issues.
Tom> The first patch fixes the copyright year in some files.
Tom> The second patch merges copyright year ranges in some files.
Thanks.
Approved-By: Tom Tromey <tom@tromey.com>
Tom
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-04-28 13:54 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 ` [PATCH 2/2] [gdb/testsuite] Fix duplicate copyright notices Tom de Vries
2026-04-28 13:53 ` [PATCH 0/2] [gdb/testsuite] Fix some minor copyright issues Tom Tromey
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox