]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Fix some minor header file irregularities
authorTom Tromey <tromey@adacore.com>
Wed, 17 Apr 2024 20:30:56 +0000 (14:30 -0600)
committerTom Tromey <tromey@adacore.com>
Wed, 18 Dec 2024 17:00:44 +0000 (10:00 -0700)
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>
gdb/disasm-flags.h
gdb/gdbtypes.h
gdb/parser-defs.h
gdb/stabsread.h
gdb/tracefile.h
gdb/windows-nat.h
gdb/xml-tdesc.h

index 10cb95d3c17631b1729eaf7cf9fc38c4581edf29..ab1b4ba03e46d09c06976a2b7f5ada83e8774db3 100644 (file)
@@ -39,4 +39,3 @@ enum gdb_disassembly_flag : unsigned
 DEF_ENUM_FLAGS_TYPE (enum gdb_disassembly_flag, gdb_disassembly_flags);
 
 #endif /* DISASM_FLAGS_H */
-
index 4cdc48b9a2f9782003d7151f66d19977eaec1923..340727cac6cab5a9c5eed69166ab0b5fb2dc8daa 100644 (file)
@@ -1,4 +1,3 @@
-
 /* Internal type definitions for GDB.
 
    Copyright (C) 1992-2024 Free Software Foundation, Inc.
index 5d3c1893836ba3573453ea2f555a960912c734dc..9774a465ee2103d4affc54360d704c5946549a6e 100644 (file)
@@ -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 */
-
index 5f6f2df87b52fa0ed23382920665f87d0b24f88a..7d8a9ccbde306cead6732981e9ed8ff8728c8954 100644 (file)
@@ -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.
 
index 9c7fdea72970b386bdaaafb387aa411d58bd1c4b..90967eff85556017e1118b053cc6151d9dc6cb40 100644 (file)
@@ -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
 
index 5422aa064e9ac08521b78416fa9ef93dcd3649dd..3fbb1ea35df067ec7b2411c2e71fc8c7d3c2e2f6 100644 (file)
@@ -37,4 +37,3 @@ extern const int amd64_mappings[];
 #endif
 
 #endif
-
index 823dbee0f2d906fc60a8682f6df8a5c99517d02d..cd6e79cc24fa0f1225a8713ff98c9a9b367ddfe7 100644 (file)
@@ -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 */
-