[pushed] gdb: remove unused includes in linespec.c

Message ID 20240829153543.1215720-1-simon.marchi@polymtl.ca
State New
Headers
Series [pushed] gdb: remove unused includes in linespec.c |

Checks

Context Check Description
linaro-tcwg-bot/tcwg_gdb_build--master-aarch64 warning Patch is already merged
linaro-tcwg-bot/tcwg_gdb_build--master-arm warning Patch is already merged

Commit Message

Simon Marchi Aug. 29, 2024, 3:35 p.m. UTC
  Remove some includes reported as unused by clangd.

Change-Id: Id1d5130430cdd2a37da1325a5eb67677f37905df
---
 gdb/linespec.c | 2 --
 1 file changed, 2 deletions(-)


base-commit: f2a15e7cde98af543a016090e4063180851a6d09
  

Patch

diff --git a/gdb/linespec.c b/gdb/linespec.c
index ee418e3a5070..02a754da9b4e 100644
--- a/gdb/linespec.c
+++ b/gdb/linespec.c
@@ -23,7 +23,6 @@ 
 #include "symfile.h"
 #include "objfiles.h"
 #include "source.h"
-#include "demangle.h"
 #include "value.h"
 #include "completer.h"
 #include "cp-abi.h"
@@ -34,7 +33,6 @@ 
 #include "linespec.h"
 #include "language.h"
 #include "interps.h"
-#include "mi/mi-cmds.h"
 #include "target.h"
 #include "arch-utils.h"
 #include <ctype.h>