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
@@ -29,7 +29,7 @@
|
||||
#include "cp-abi.h"
|
||||
#include "objfiles.h"
|
||||
#include "block.h"
|
||||
#include "gdbcmd.h"
|
||||
#include "cli/cli-cmds.h"
|
||||
#include "c-lang.h"
|
||||
#include "compile-c.h"
|
||||
#include <algorithm>
|
||||
|
||||
Reference in New Issue
Block a user