[7/7] gdb: don't include gdbsupport/array-view.h in defs.h

Message ID 20240422201157.46375-8-simon.marchi@efficios.com
State New
Headers
Series First cleanup of defs.h |

Checks

Context Check Description
linaro-tcwg-bot/tcwg_gdb_build--master-aarch64 success Testing passed
linaro-tcwg-bot/tcwg_gdb_build--master-arm fail Patch failed to apply
linaro-tcwg-bot/tcwg_gdb_check--master-aarch64 fail Patch failed to apply

Commit Message

Simon Marchi April 22, 2024, 8:10 p.m. UTC
  Nothing in defs.h actually uses this.  Everything that I (and the
buildbot) can compile still compiles, so I guess that all users of
array_view already include it one way or another.  Worst case, if this
causes some build failure, the fix will be one #include away.

Change-Id: I981be98b0653cc18c929d85e9afd8732332efd15
---
 gdb/defs.h | 1 -
 1 file changed, 1 deletion(-)
  

Patch

diff --git a/gdb/defs.h b/gdb/defs.h
index 8ef36c16df97..91724d30195f 100644
--- a/gdb/defs.h
+++ b/gdb/defs.h
@@ -61,7 +61,6 @@ 
 
 #include "gdbsupport/host-defs.h"
 #include "gdbsupport/enum-flags.h"
-#include "gdbsupport/array-view.h"
 
 /* Just in case they're not defined in stdio.h.  */