diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2024-10-28 13:56:02 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2024-10-28 13:58:52 -0400 |
commit | 2930265f05600c1fd1ecdf2eb0889d977079ef78 (patch) | |
tree | 93587921701b865ecc34040cf3612c6b36ff234e | |
parent | 541b18818225655be65ba123e00d8cf0f6cd009d (diff) | |
download | binutils-2930265f05600c1fd1ecdf2eb0889d977079ef78.zip binutils-2930265f05600c1fd1ecdf2eb0889d977079ef78.tar.gz binutils-2930265f05600c1fd1ecdf2eb0889d977079ef78.tar.bz2 |
gdbserver: remove unused include in gdbthread.h
clangd reports gdbsupport/common-gdbthread.h as unused in gdbthread.h,
which seems right, so remove it. Add it to two files that need it, but
were relying on the now-removed include.
Change-Id: I12916a044d0b15f346c4ad0e6527ce99a6d460e4
-rw-r--r-- | gdbserver/gdbthread.h | 1 | ||||
-rw-r--r-- | gdbserver/inferiors.cc | 1 | ||||
-rw-r--r-- | gdbserver/remote-utils.cc | 1 |
3 files changed, 2 insertions, 1 deletions
diff --git a/gdbserver/gdbthread.h b/gdbserver/gdbthread.h index 389bee1..0f81a0f 100644 --- a/gdbserver/gdbthread.h +++ b/gdbserver/gdbthread.h @@ -19,7 +19,6 @@ #ifndef GDBSERVER_GDBTHREAD_H #define GDBSERVER_GDBTHREAD_H -#include "gdbsupport/common-gdbthread.h" #include "gdbsupport/function-view.h" #include "inferiors.h" diff --git a/gdbserver/inferiors.cc b/gdbserver/inferiors.cc index 5621db3..4245cb8 100644 --- a/gdbserver/inferiors.cc +++ b/gdbserver/inferiors.cc @@ -18,6 +18,7 @@ You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ +#include "gdbsupport/common-gdbthread.h" #include "gdbsupport/common-inferior.h" #include "gdbthread.h" #include "dll.h" diff --git a/gdbserver/remote-utils.cc b/gdbserver/remote-utils.cc index 5a8eb9a..98c34e9 100644 --- a/gdbserver/remote-utils.cc +++ b/gdbserver/remote-utils.cc @@ -24,6 +24,7 @@ #include "tdesc.h" #include "debug.h" #include "dll.h" +#include "gdbsupport/common-gdbthread.h" #include "gdbsupport/rsp-low.h" #include "gdbsupport/netstuff.h" #include "gdbsupport/filestuff.h" |