aboutsummaryrefslogtreecommitdiff
path: root/gdb/compile
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2025-08-04 09:01:56 -0600
committerTom Tromey <tromey@adacore.com>2025-08-05 09:21:55 -0600
commitf1e591b0c97a9a5680c150bd27694cea3f5ac1e8 (patch)
tree69b7d7723f0796269e3bee2f6ae6e050b9a4e059 /gdb/compile
parent64917bab3caa10d89cb5ed160d20801065b7440b (diff)
downloadbinutils-f1e591b0c97a9a5680c150bd27694cea3f5ac1e8.zip
binutils-f1e591b0c97a9a5680c150bd27694cea3f5ac1e8.tar.gz
binutils-f1e591b0c97a9a5680c150bd27694cea3f5ac1e8.tar.bz2
Do not include cleanups.h from common-defs.h
Most code doesn't use cleanups any more, so remove the include of cleanups.h from common-defs.h, and then only include that file where it is truly needed. Approved-By: Simon Marchi <simon.marchi@efficios.com>
Diffstat (limited to 'gdb/compile')
-rw-r--r--gdb/compile/compile.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/compile/compile.c b/gdb/compile/compile.c
index 229e155..5d81ec1 100644
--- a/gdb/compile/compile.c
+++ b/gdb/compile/compile.c
@@ -45,6 +45,7 @@
#include "gdbsupport/pathstuff.h"
#include "gdbsupport/scoped_ignore_signal.h"
#include "gdbsupport/buildargv.h"
+#include "gdbsupport/cleanups.h"
/* Hold "compile" commands. */