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
This commit is contained in:
Simon Marchi
2024-10-28 13:56:02 -04:00
parent 541b188182
commit 2930265f05
3 changed files with 2 additions and 1 deletions

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"