forked from Imagelibrary/binutils-gdb
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:
committed by
Simon Marchi
parent
1863e6a54b
commit
5b9707eb87
@@ -18,7 +18,7 @@
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||
|
||||
#include "top.h"
|
||||
#include "gdbcmd.h"
|
||||
#include "cli/cli-cmds.h"
|
||||
#include "objfiles.h"
|
||||
#include "python.h"
|
||||
#include "auto-load.h"
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
#include "python.h"
|
||||
#include "charset.h"
|
||||
#include "breakpoint.h"
|
||||
#include "gdbcmd.h"
|
||||
#include "cli/cli-cmds.h"
|
||||
#include "gdbthread.h"
|
||||
#include "observable.h"
|
||||
#include "cli/cli-script.h"
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
#include "value.h"
|
||||
#include "python-internal.h"
|
||||
#include "charset.h"
|
||||
#include "gdbcmd.h"
|
||||
#include "cli/cli-cmds.h"
|
||||
#include "cli/cli-decode.h"
|
||||
#include "completer.h"
|
||||
#include "language.h"
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
#include "value.h"
|
||||
#include "python-internal.h"
|
||||
#include "charset.h"
|
||||
#include "gdbcmd.h"
|
||||
#include "cli/cli-cmds.h"
|
||||
#include "cli/cli-decode.h"
|
||||
#include "completer.h"
|
||||
#include "expression.h"
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
#include "value.h"
|
||||
#include "python-internal.h"
|
||||
#include "charset.h"
|
||||
#include "gdbcmd.h"
|
||||
#include "cli/cli-cmds.h"
|
||||
#include "cli/cli-decode.h"
|
||||
#include "completer.h"
|
||||
#include "language.h"
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||
|
||||
#include "gdbcore.h"
|
||||
#include "gdbcmd.h"
|
||||
#include "cli/cli-cmds.h"
|
||||
#include "gdbthread.h"
|
||||
#include "btrace.h"
|
||||
#include "py-record.h"
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#include "arch-utils.h"
|
||||
#include "frame-unwind.h"
|
||||
#include "gdbsupport/gdb_obstack.h"
|
||||
#include "gdbcmd.h"
|
||||
#include "cli/cli-cmds.h"
|
||||
#include "language.h"
|
||||
#include "observable.h"
|
||||
#include "python-internal.h"
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
#include "command.h"
|
||||
#include "ui-out.h"
|
||||
#include "cli/cli-script.h"
|
||||
#include "gdbcmd.h"
|
||||
#include "cli/cli-cmds.h"
|
||||
#include "progspace.h"
|
||||
#include "objfiles.h"
|
||||
#include "value.h"
|
||||
|
||||
Reference in New Issue
Block a user