[pushed] gdb: add forward declarations in maint.h
Checks
Commit Message
From: Simon Marchi <simon.marchi@polymtl.ca>
Editing maint.h with clangd shows some errors about obj_section and
objfile being unknown. Add some forward declarations for them.
Change-Id: Ic4dd12a371198fdf740892254a8f2c1fae2846b9
---
gdb/maint.h | 3 +++
1 file changed, 3 insertions(+)
base-commit: 52c5091dfb18113156d645500ab86b600f1cdfe0
@@ -22,6 +22,9 @@
#include "gdbsupport/run-time-clock.h"
#include <chrono>
+struct obj_section;
+struct objfile;
+
extern void set_per_command_time (int);
extern void set_per_command_space (int);