aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2024-04-17 14:30:56 -0600
committerTom Tromey <tromey@adacore.com>2024-12-18 10:00:44 -0700
commit3a41d62678ef8c8947d4c62997f6f54f0c747b56 (patch)
tree85c285d920a6bba7d6695c60f501e8c116b00549
parentbf63e092606ea6c0d894a761edc8b5c127df0efe (diff)
downloadbinutils-3a41d62678ef8c8947d4c62997f6f54f0c747b56.zip
binutils-3a41d62678ef8c8947d4c62997f6f54f0c747b56.tar.gz
binutils-3a41d62678ef8c8947d4c62997f6f54f0c747b56.tar.bz2
Fix some minor header file irregularities
The script in the next patch noticed some irregularities in some headers: trailing or leading blank lines, or in one case a missing copyright header. This patch fixes these. Reviewed-By: Tom de Vries <tdevries@suse.de>
-rw-r--r--gdb/disasm-flags.h1
-rw-r--r--gdb/gdbtypes.h1
-rw-r--r--gdb/parser-defs.h1
-rw-r--r--gdb/stabsread.h4
-rw-r--r--gdb/tracefile.h18
-rw-r--r--gdb/windows-nat.h1
-rw-r--r--gdb/xml-tdesc.h1
7 files changed, 20 insertions, 7 deletions
diff --git a/gdb/disasm-flags.h b/gdb/disasm-flags.h
index 10cb95d..ab1b4ba 100644
--- a/gdb/disasm-flags.h
+++ b/gdb/disasm-flags.h
@@ -39,4 +39,3 @@ enum gdb_disassembly_flag : unsigned
DEF_ENUM_FLAGS_TYPE (enum gdb_disassembly_flag, gdb_disassembly_flags);
#endif /* DISASM_FLAGS_H */
-
diff --git a/gdb/gdbtypes.h b/gdb/gdbtypes.h
index 4cdc48b..340727c 100644
--- a/gdb/gdbtypes.h
+++ b/gdb/gdbtypes.h
@@ -1,4 +1,3 @@
-
/* Internal type definitions for GDB.
Copyright (C) 1992-2024 Free Software Foundation, Inc.
diff --git a/gdb/parser-defs.h b/gdb/parser-defs.h
index 5d3c189..9774a46 100644
--- a/gdb/parser-defs.h
+++ b/gdb/parser-defs.h
@@ -390,4 +390,3 @@ extern bool fits_in_type (int n_sign, const gdb_mpz &n, int type_bits,
extern void parser_fprintf (FILE *, const char *, ...) ATTRIBUTE_PRINTF (2, 3);
#endif /* PARSER_DEFS_H */
-
diff --git a/gdb/stabsread.h b/gdb/stabsread.h
index 5f6f2df..7d8a9cc 100644
--- a/gdb/stabsread.h
+++ b/gdb/stabsread.h
@@ -1,5 +1,5 @@
- /* Include file for stabs debugging format support functions.
- Copyright (C) 1986-2024 Free Software Foundation, Inc.
+/* Include file for stabs debugging format support functions.
+ Copyright (C) 1986-2024 Free Software Foundation, Inc.
This file is part of GDB.
diff --git a/gdb/tracefile.h b/gdb/tracefile.h
index 9c7fdea..90967ef 100644
--- a/gdb/tracefile.h
+++ b/gdb/tracefile.h
@@ -1,3 +1,21 @@
+/* Tracefile declarations
+ Copyright (C) 2014-2024 Free Software Foundation, Inc.
+
+ This file is part of GDB.
+
+ 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
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>. */
+
#ifndef TRACEFILE_H
#define TRACEFILE_H 1
diff --git a/gdb/windows-nat.h b/gdb/windows-nat.h
index 5422aa0..3fbb1ea 100644
--- a/gdb/windows-nat.h
+++ b/gdb/windows-nat.h
@@ -37,4 +37,3 @@ extern const int amd64_mappings[];
#endif
#endif
-
diff --git a/gdb/xml-tdesc.h b/gdb/xml-tdesc.h
index 823dbee..cd6e79c 100644
--- a/gdb/xml-tdesc.h
+++ b/gdb/xml-tdesc.h
@@ -50,4 +50,3 @@ std::optional<std::string> target_fetch_description_xml (target_ops *ops);
const struct target_desc *string_read_description_xml (const char *xml);
#endif /* XML_TDESC_H */
-