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 <tom@tromey.com>
This commit is contained in:
Simon Marchi
2024-04-23 15:22:44 -04:00
committed by Simon Marchi
parent 1863e6a54b
commit 5b9707eb87
176 changed files with 163 additions and 207 deletions

View File

@@ -3,7 +3,7 @@
Modify copying.awk instead. <== */
#include "command.h"
#include "gdbcmd.h"
#include "cli/cli-cmds.h"
static void show_copying_command (const char *, int);