From patchwork Fri Apr 19 15:03:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Tromey X-Patchwork-Id: 88737 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 1EBC3384AB7E for ; Fri, 19 Apr 2024 15:06:06 +0000 (GMT) X-Original-To: gdb-patches@sourceware.org Delivered-To: gdb-patches@sourceware.org Received: from mail-il1-x129.google.com (mail-il1-x129.google.com [IPv6:2607:f8b0:4864:20::129]) by sourceware.org (Postfix) with ESMTPS id C361C3849AC0 for ; Fri, 19 Apr 2024 15:04:44 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C361C3849AC0 Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=adacore.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org C361C3849AC0 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::129 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1713539092; cv=none; b=W+qrqtaDdBMMEFw1IchOyjJug4f6D2rccpF6RqyXFKFmAy0UYF6Q+UC5Et4BniyQvFUqToy4G9+l/Vw3TEBj0FftD67u3lFW92KudKYAsq/brjUGxZaRAX2U2XdeDqh9mdFPkyPEWrZlrCSZgYKBMF1FLGBSUZXLRFrusziy6jM= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1713539092; c=relaxed/simple; bh=g03rLohRrE4Obojy8Sh4+MWNzHb9m+fEkji7EbYaR34=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=DuHnpaPp7YSb/l4l4W7JOUDzwVNOk5FBpOFJeRgI4GmXcJduaTd+pssrpCVEPROmn9HfeyI78+PGvE35U4yobofIsQdJaX6ZuzlT5NUTt7YPRcYKu/XEJS8K2LOFFTCPhlxxNmTFwnXNu1xLknTh2+tm2AO0qGfSzT30UtDQ59M= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-il1-x129.google.com with SMTP id e9e14a558f8ab-36c00924fc1so1629615ab.2 for ; Fri, 19 Apr 2024 08:04:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; t=1713539084; x=1714143884; darn=sourceware.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=cRQBVrzS9OGhfw9ajN+hqjanY178TCQGfBlMbPJBJ4Y=; b=DReSGvlllzo/6KehOCQ3Hx92UrRlQ3xdAJZ0MfMjsC9XCljOAVM7C4GQImzLHBNroc Ql59wUm3VvH6sLkebhNcXSTIj1OdTvhS/VoXtWcSokCobH+5gmhWRCYi4ENxzMsrealt 9LEYS6NGVj5vvfkTAzgx6ZmR8kUsqhelbcS03OhFB7ov1jNv8w+YU1JFvflRHYwt9e44 9tRFxeET/XxhukIe50OSoImxzXtpPupxShso7418aBGaJZYLWhhVoJ+KvD/3Ti8CAlXP v07jYrpv8y+Z602nzwHRt4EM++X0kxDheenzPZCAusbC5VZxCOKHgX624f1c7tTESgW6 Vu5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713539084; x=1714143884; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=cRQBVrzS9OGhfw9ajN+hqjanY178TCQGfBlMbPJBJ4Y=; b=lGG5vQnsSCNixfo/ZjuBJtEi/94HxTFjZtSUigDT46lagvqaEVjJBXDKHfdUP0hFLb 8IZ25k+RmuZscA//g4M6hwYQFqDvz3Tth0sTLGeahfbbNhH192ZKFMvDuTUetBj4BNHL TmZ85aP1FbWIU0Owkj7LeY437hb9aXSPULxPqROb/v8xqcVx+CjUUgHiF6eFuc4Iej/R udMknO7ebx3ub9kSpWqH/DiBCgpCVDwdN+7wp22HAplDWN1TmcNMjbmIzos/lOuEGJZo rqrL0P7PswxsPIsxhgsr11NHxNXZ5TCDgKFcmB/AjJ7Mwx4SYtpzttAs9HJZwy5lB0U6 Zc3A== X-Gm-Message-State: AOJu0YyYlhrQb5OXgu20whDc2W+92hbQ9KekT/FDaY6F2701vhS2m5VS YCVo5adZezIH/5UXvE6ZMcFFm4fVoV51RB2N0sm3R0yBosVmas3hC8XTkPuR8/I6yUyGKfp6U/k = X-Google-Smtp-Source: AGHT+IFAK0xgCKQ3ajF8QVB+i7uxVIkx/XpF9p9u7zYarxWOX0BfAlAjfhI6hMDeUUBVWnvWSVO4TA== X-Received: by 2002:a05:6e02:12e4:b0:36b:3b10:7419 with SMTP id l4-20020a056e0212e400b0036b3b107419mr2608549iln.32.1713539084002; Fri, 19 Apr 2024 08:04:44 -0700 (PDT) Received: from localhost.localdomain (97-122-86-252.hlrn.qwest.net. [97.122.86.252]) by smtp.gmail.com with ESMTPSA id o1-20020a056638124100b0048464427351sm1086506jas.78.2024.04.19.08.04.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Apr 2024 08:04:43 -0700 (PDT) From: Tom Tromey To: gdb-patches@sourceware.org Cc: Tom Tromey Subject: [PATCH v4 1/4] Fix some minor header file irregularities Date: Fri, 19 Apr 2024 09:03:39 -0600 Message-ID: <20240419150427.897379-2-tromey@adacore.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240419150427.897379-1-tromey@adacore.com> References: <20240419150427.897379-1-tromey@adacore.com> MIME-Version: 1.0 X-Spam-Status: No, score=-11.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_SHORT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces+patchwork=sourceware.org@sourceware.org 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. --- gdb/disasm-flags.h | 1 - gdb/gdbtypes.h | 1 - gdb/parser-defs.h | 1 - gdb/tracefile.h | 18 ++++++++++++++++++ gdb/windows-nat.h | 1 - gdb/xml-tdesc.h | 1 - 6 files changed, 18 insertions(+), 5 deletions(-) diff --git a/gdb/disasm-flags.h b/gdb/disasm-flags.h index 4f711259453..b2f0ec95b07 100644 --- a/gdb/disasm-flags.h +++ b/gdb/disasm-flags.h @@ -38,4 +38,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 f80bd7e071a..55018f2c344 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 5d3c1893836..9774a465ee2 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/tracefile.h b/gdb/tracefile.h index 9c7fdea7297..90967eff855 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 . */ + #ifndef TRACEFILE_H #define TRACEFILE_H 1 diff --git a/gdb/windows-nat.h b/gdb/windows-nat.h index 5422aa064e9..3fbb1ea35df 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 823dbee0f2d..cd6e79cc24f 100644 --- a/gdb/xml-tdesc.h +++ b/gdb/xml-tdesc.h @@ -50,4 +50,3 @@ std::optional target_fetch_description_xml (target_ops *ops); const struct target_desc *string_read_description_xml (const char *xml); #endif /* XML_TDESC_H */ -