mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-12-19 01:19:41 +08:00
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
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user