Skip to content

Commit da48c9e

Browse files
committed
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 Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=32610
1 parent 0ac7668 commit da48c9e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

gdb/darwin-nat.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
#include "symtab.h"
2727
#include "objfiles.h"
2828
#include "cli/cli-cmds.h"
29+
#include "cli/cli-style.h"
2930
#include "gdbcore.h"
3031
#include "gdbthread.h"
3132
#include "regcache.h"

0 commit comments

Comments
 (0)