From 5b9707eb872ad4cb50c98d396d16f110070a44ca Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Tue, 23 Apr 2024 15:22:44 -0400 Subject: gdb: remove gdbcmd.h Most files including gdbcmd.h currently rely on it to access things actually declared in cli/cli-cmds.h (setlist, showlist, etc). To make things easy, replace all includes of gdbcmd.h with includes of cli/cli-cmds.h. This might lead to some unused includes of cli/cli-cmds.h, but it's harmless, and much faster than going through the 170 or so files by hand. Change-Id: I11f884d4d616c12c05f395c98bbc2892950fb00f Approved-By: Tom Tromey --- gdb/mi/mi-main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/mi') diff --git a/gdb/mi/mi-main.c b/gdb/mi/mi-main.c index 7f8a34b..a758b68 100644 --- a/gdb/mi/mi-main.c +++ b/gdb/mi/mi-main.c @@ -50,7 +50,7 @@ #include "ada-lang.h" #include "linespec.h" #include "extension.h" -#include "gdbcmd.h" +#include "cli/cli-cmds.h" #include "observable.h" #include #include "gdbsupport/byte-vector.h" -- cgit v1.1