diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2024-04-23 15:22:44 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2024-04-25 12:59:02 -0400 |
commit | 5b9707eb872ad4cb50c98d396d16f110070a44ca (patch) | |
tree | 6a7cb1a70adadf11c1a5e6a52243701970a805c0 /gdb/gnu-nat.c | |
parent | 1863e6a54b31a5cda9b34537b40708232a90416c (diff) | |
download | gdb-5b9707eb872ad4cb50c98d396d16f110070a44ca.zip gdb-5b9707eb872ad4cb50c98d396d16f110070a44ca.tar.gz gdb-5b9707eb872ad4cb50c98d396d16f110070a44ca.tar.bz2 |
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>
Diffstat (limited to 'gdb/gnu-nat.c')
-rw-r--r-- | gdb/gnu-nat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gnu-nat.c b/gdb/gnu-nat.c index 92b2858..198fc42 100644 --- a/gdb/gnu-nat.c +++ b/gdb/gnu-nat.c @@ -64,7 +64,7 @@ extern "C" #include "target.h" #include "gdbsupport/gdb_wait.h" #include "gdbarch.h" -#include "gdbcmd.h" +#include "cli/cli-cmds.h" #include "gdbcore.h" #include "gdbthread.h" #include "gdbsupport/gdb_obstack.h" |