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 some unused includes Date: Thu, 19 Jan 2023 18:09:59 +0000 (GMT) [thread overview] Message-ID: <20230119180959.298E73858028@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=5ea14aa4e53fa37f4ba4517497ed2c1e4c60dee2 commit 5ea14aa4e53fa37f4ba4517497ed2c1e4c60dee2 Author: Tom Tromey <tom@tromey.com> Date: Thu Jan 19 11:08:06 2023 -0700 Remove some unused includes I noticed a few spots that include gnu-stabs.h but that do not need to. This patch removes these unnecessary includes. Tested by rebuilding. Diff: --- gdb/objfiles.c | 1 - gdb/remote.c | 1 - gdb/symfile.c | 1 - 3 files changed, 3 deletions(-) diff --git a/gdb/objfiles.c b/gdb/objfiles.c index 411bf121ede..8e920c726f5 100644 --- a/gdb/objfiles.c +++ b/gdb/objfiles.c @@ -27,7 +27,6 @@ #include "symtab.h" #include "symfile.h" #include "objfiles.h" -#include "gdb-stabs.h" #include "target.h" #include "bcache.h" #include "expression.h" diff --git a/gdb/remote.c b/gdb/remote.c index 218bca30d04..0a6e293c095 100644 --- a/gdb/remote.c +++ b/gdb/remote.c @@ -30,7 +30,6 @@ #include "process-stratum-target.h" #include "gdbcmd.h" #include "objfiles.h" -#include "gdb-stabs.h" #include "gdbthread.h" #include "remote.h" #include "remote-notif.h" diff --git a/gdb/symfile.c b/gdb/symfile.c index e0942dfb22d..3e1aa405319 100644 --- a/gdb/symfile.c +++ b/gdb/symfile.c @@ -39,7 +39,6 @@ #include "inferior.h" #include "regcache.h" #include "filenames.h" /* for DOSish file names */ -#include "gdb-stabs.h" #include "gdbsupport/gdb_obstack.h" #include "completer.h" #include "bcache.h"
reply other threads:[~2023-01-19 18:09 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=20230119180959.298E73858028@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).