aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2024-04-23 11:18:06 -0400
committerSimon Marchi <simon.marchi@polymtl.ca>2024-04-23 11:19:03 -0400
commiteb97e68430f51fc120db4cde03abdffb0303f8ae (patch)
treec570e13c3b3219fb8a32346662e85f842304393d /gdb
parent0de4ba02693b74d9171789a6a624d4b40050a30e (diff)
downloadgdb-eb97e68430f51fc120db4cde03abdffb0303f8ae.zip
gdb-eb97e68430f51fc120db4cde03abdffb0303f8ae.tar.gz
gdb-eb97e68430f51fc120db4cde03abdffb0303f8ae.tar.bz2
gdb: remove unused include in infrun.c
Remove the gdbcmd.h, which is reported as unused by clangd. Add cli/cli-cmds.h instead, to get access to `cmdlist` and friends. Change-Id: Ic0c60d2f6d3618f1bd9fd80b95ffd7c33c692a04
Diffstat (limited to 'gdb')
-rw-r--r--gdb/infrun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c
index a5030b1..d23be9e 100644
--- a/gdb/infrun.c
+++ b/gdb/infrun.c
@@ -18,6 +18,7 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
+#include "cli/cli-cmds.h"
#include "displaced-stepping.h"
#include "infrun.h"
#include <ctype.h>
@@ -26,7 +27,6 @@
#include "inferior.h"
#include "breakpoint.h"
#include "gdbcore.h"
-#include "gdbcmd.h"
#include "target.h"
#include "target-connection.h"
#include "gdbthread.h"