public inbox for gdb-cvs@sourceware.org help / color / mirror / Atom feed
From: Tom Tromey <tromey@sourceware.org> To: gdb-cvs@sourceware.org Subject: [binutils-gdb] Remove block.h includes from some tdep files Date: Wed, 8 Feb 2023 18:37:46 +0000 (GMT) [thread overview] Message-ID: <20230208183746.30E3F385840F@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=dcee6fb39812ace0df59b8d0dd43cd41d2f02e54 commit dcee6fb39812ace0df59b8d0dd43cd41d2f02e54 Author: Tom Tromey <tom@tromey.com> Date: Sat Jan 21 14:00:12 2023 -0700 Remove block.h includes from some tdep files A few tdep files include block.h but do not need to. This patch removes the inclusions. I checked that this worked correctly by examining the resulting .Po file to make sure that block.h was not being included by some other route. Diff: --- gdb/alpha-tdep.c | 1 - gdb/amd64-tdep.c | 1 - gdb/mips-sde-tdep.c | 1 - gdb/or1k-tdep.c | 1 - gdb/riscv-tdep.c | 1 - 5 files changed, 5 deletions(-) diff --git a/gdb/alpha-tdep.c b/gdb/alpha-tdep.c index eaf32feab75..14f5a0492d3 100644 --- a/gdb/alpha-tdep.c +++ b/gdb/alpha-tdep.c @@ -35,7 +35,6 @@ #include "reggroups.h" #include "arch-utils.h" #include "osabi.h" -#include "block.h" #include "infcall.h" #include "trad-frame.h" diff --git a/gdb/amd64-tdep.c b/gdb/amd64-tdep.c index 70d0d0f3318..328e001f5bb 100644 --- a/gdb/amd64-tdep.c +++ b/gdb/amd64-tdep.c @@ -24,7 +24,6 @@ #include "opcode/i386.h" #include "dis-asm.h" #include "arch-utils.h" -#include "block.h" #include "dummy-frame.h" #include "frame.h" #include "frame-base.h" diff --git a/gdb/mips-sde-tdep.c b/gdb/mips-sde-tdep.c index 79568c46500..b921d84131b 100644 --- a/gdb/mips-sde-tdep.c +++ b/gdb/mips-sde-tdep.c @@ -20,7 +20,6 @@ #include "defs.h" #include "osabi.h" #include "elf-bfd.h" -#include "block.h" #include "symtab.h" #include "frame.h" diff --git a/gdb/or1k-tdep.c b/gdb/or1k-tdep.c index 89954566283..3616d7751ca 100644 --- a/gdb/or1k-tdep.c +++ b/gdb/or1k-tdep.c @@ -30,7 +30,6 @@ #include "target.h" #include "regcache.h" #include "safe-ctype.h" -#include "block.h" #include "reggroups.h" #include "arch-utils.h" #include "frame-unwind.h" diff --git a/gdb/riscv-tdep.c b/gdb/riscv-tdep.c index 6e5e8fb87a0..60de60382c8 100644 --- a/gdb/riscv-tdep.c +++ b/gdb/riscv-tdep.c @@ -33,7 +33,6 @@ #include "regcache.h" #include "osabi.h" #include "riscv-tdep.h" -#include "block.h" #include "reggroups.h" #include "opcode/riscv.h" #include "elf/riscv.h"
reply other threads:[~2023-02-08 18:37 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20230208183746.30E3F385840F@sourceware.org \ --to=tromey@sourceware.org \ --cc=gdb-cvs@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: linkBe 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; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).