aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2025-01-29 10:45:31 -0500
committerSimon Marchi <simon.marchi@polymtl.ca>2025-01-29 10:47:34 -0500
commit7a3e81eaa4a6ab84b6b477f88f382b7e65fcfcee (patch)
tree104701a420533f697a7762e3c68d9494f2ed8053
parentd44ed2eb850cf6ed3775b324cf18a37132692f74 (diff)
downloadbinutils-7a3e81eaa4a6ab84b6b477f88f382b7e65fcfcee.zip
binutils-7a3e81eaa4a6ab84b6b477f88f382b7e65fcfcee.tar.gz
binutils-7a3e81eaa4a6ab84b6b477f88f382b7e65fcfcee.tar.bz2
gdb: include cli/cli-style.h in darwin-nat.c
PR 32610 says: File gdb/darwin-nat.c is missing an #include statement of "cli/cli-style.h". It is needed because there is a reference to class object command_style in the .c file. I'm not able to build-test this change (I only have access to arm64 macos machines, which GDB doesn't support yet), but I don't think I'm doing things worse by adding this. Change-Id: I2a169664ff91b92caf27cb084334f2eb4df46aa5
-rw-r--r--gdb/darwin-nat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/darwin-nat.c b/gdb/darwin-nat.c
index e1ea020..ea47344 100644
--- a/gdb/darwin-nat.c
+++ b/gdb/darwin-nat.c
@@ -26,6 +26,7 @@
#include "symtab.h"
#include "objfiles.h"
#include "cli/cli-cmds.h"
+#include "cli/cli-style.h"
#include "gdbcore.h"
#include "gdbthread.h"
#include "regcache.h"