forked from Imagelibrary/binutils-gdb
gdb: cleanup includes in mi/
Remove a few includes reported as unused by clangd. Change-Id: I7365b7cce04c9ef1a4164764191303914da42ef9
This commit is contained in:
@@ -20,8 +20,6 @@
|
||||
#include "arch-utils.h"
|
||||
#include "exceptions.h"
|
||||
#include "mi-cmds.h"
|
||||
#include "ui-out.h"
|
||||
#include "mi-out.h"
|
||||
#include "breakpoint.h"
|
||||
#include "mi-getopt.h"
|
||||
#include "observable.h"
|
||||
@@ -30,7 +28,6 @@
|
||||
#include "language.h"
|
||||
#include "location.h"
|
||||
#include "linespec.h"
|
||||
#include "gdbsupport/gdb_obstack.h"
|
||||
#include <ctype.h>
|
||||
#include "tracepoint.h"
|
||||
|
||||
|
||||
@@ -19,7 +19,6 @@
|
||||
|
||||
#include "arch-utils.h"
|
||||
#include "progspace.h"
|
||||
#include "target.h"
|
||||
#include "value.h"
|
||||
#include "mi-cmds.h"
|
||||
#include "mi-getopt.h"
|
||||
|
||||
@@ -19,11 +19,9 @@
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||
|
||||
#include "inferior.h"
|
||||
#include "value.h"
|
||||
#include "mi-out.h"
|
||||
#include "mi-cmds.h"
|
||||
#include "mi-getopt.h"
|
||||
#include "symtab.h"
|
||||
#include "target.h"
|
||||
#include "gdbsupport/environ.h"
|
||||
#include "command.h"
|
||||
|
||||
@@ -20,13 +20,12 @@
|
||||
#include "mi-cmds.h"
|
||||
#include "mi-getopt.h"
|
||||
#include "mi-interp.h"
|
||||
#include "progspace.h"
|
||||
#include "ui-out.h"
|
||||
#include "symtab.h"
|
||||
#include "source.h"
|
||||
#include "objfiles.h"
|
||||
#include "solib.h"
|
||||
#include "solist.h"
|
||||
#include "gdbsupport/gdb_regex.h"
|
||||
|
||||
/* Return to the client the absolute path and line number of the
|
||||
current file being executed. */
|
||||
|
||||
@@ -18,18 +18,15 @@
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||
|
||||
#include "event-top.h"
|
||||
#include "target.h"
|
||||
#include "frame.h"
|
||||
#include "value.h"
|
||||
#include "mi-cmds.h"
|
||||
#include "ui-out.h"
|
||||
#include "symtab.h"
|
||||
#include "block.h"
|
||||
#include "stack.h"
|
||||
#include "dictionary.h"
|
||||
#include "language.h"
|
||||
#include "valprint.h"
|
||||
#include "utils.h"
|
||||
#include "mi-getopt.h"
|
||||
#include "extension.h"
|
||||
#include <ctype.h>
|
||||
@@ -37,7 +34,6 @@
|
||||
#include <optional>
|
||||
#include "gdbsupport/gdb-safe-ctype.h"
|
||||
#include "inferior.h"
|
||||
#include "observable.h"
|
||||
|
||||
enum what_to_list { locals, arguments, all };
|
||||
|
||||
|
||||
@@ -29,7 +29,6 @@
|
||||
#include "mi-getopt.h"
|
||||
#include "gdbthread.h"
|
||||
#include "mi-parse.h"
|
||||
#include <optional>
|
||||
#include "inferior.h"
|
||||
|
||||
static void varobj_update_one (struct varobj *var,
|
||||
|
||||
@@ -18,7 +18,6 @@
|
||||
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 "top.h"
|
||||
#include "mi-cmds.h"
|
||||
#include "mi-main.h"
|
||||
#include "mi-parse.h"
|
||||
|
||||
@@ -23,7 +23,6 @@
|
||||
#include "exceptions.h"
|
||||
#include "interps.h"
|
||||
#include "event-top.h"
|
||||
#include "gdbsupport/event-loop.h"
|
||||
#include "inferior.h"
|
||||
#include "infrun.h"
|
||||
#include "ui-out.h"
|
||||
|
||||
@@ -30,11 +30,9 @@
|
||||
#include "mi-cmds.h"
|
||||
#include "mi-parse.h"
|
||||
#include "mi-getopt.h"
|
||||
#include "mi-console.h"
|
||||
#include "ui-out.h"
|
||||
#include "mi-out.h"
|
||||
#include "interps.h"
|
||||
#include "gdbsupport/event-loop.h"
|
||||
#include "event-top.h"
|
||||
#include "gdbcore.h"
|
||||
#include "value.h"
|
||||
@@ -45,7 +43,6 @@
|
||||
#include "language.h"
|
||||
#include "valprint.h"
|
||||
#include "osdata.h"
|
||||
#include "gdbsupport/gdb_splay_tree.h"
|
||||
#include "tracepoint.h"
|
||||
#include "ada-lang.h"
|
||||
#include "linespec.h"
|
||||
@@ -60,7 +57,6 @@
|
||||
#include <chrono>
|
||||
#include "progspace-and-thread.h"
|
||||
#include "gdbsupport/rsp-low.h"
|
||||
#include <algorithm>
|
||||
#include <set>
|
||||
#include <map>
|
||||
|
||||
|
||||
@@ -21,7 +21,6 @@
|
||||
|
||||
#include "mi-cmds.h"
|
||||
#include "mi-parse.h"
|
||||
#include "charset.h"
|
||||
|
||||
#include <ctype.h>
|
||||
#include "cli/cli-utils.h"
|
||||
|
||||
Reference in New Issue
Block a user