aboutsummaryrefslogtreecommitdiff
path: root/gdbsupport/common-debug.h
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2021-04-23 14:03:30 -0400
committerSimon Marchi <simon.marchi@polymtl.ca>2021-04-23 14:03:39 -0400
commit4d6840c33529db663d7ccc231ba43c0a16320f51 (patch)
treeb846bb42676e7de327f3143b308e0eec0a974e2f /gdbsupport/common-debug.h
parentf5e98b7d675230fdfee794afa5ebae1fbc2893a2 (diff)
downloadgdb-4d6840c33529db663d7ccc231ba43c0a16320f51.zip
gdb-4d6840c33529db663d7ccc231ba43c0a16320f51.tar.gz
gdb-4d6840c33529db663d7ccc231ba43c0a16320f51.tar.bz2
gdbsupport: include preprocessor.h in common-debug.h
While doing some changes, some code failed to compile because it used the scoped_debug_start_end macro, but couldn't find the CONCAT macro. Fix that by making common-debug.h include preprocessor.h, the header file that provides CONCAT. gdbsupport/ChangeLog: * common-debug.h: Include preprocessor.h. Change-Id: Ibf863a932a18cba9a57b4bd72df538ef52d39127
Diffstat (limited to 'gdbsupport/common-debug.h')
-rw-r--r--gdbsupport/common-debug.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdbsupport/common-debug.h b/gdbsupport/common-debug.h
index 0536740..7288b69 100644
--- a/gdbsupport/common-debug.h
+++ b/gdbsupport/common-debug.h
@@ -20,6 +20,8 @@
#ifndef COMMON_COMMON_DEBUG_H
#define COMMON_COMMON_DEBUG_H
+#include "gdbsupport/preprocessor.h"
+
/* Set to true to enable debugging of hardware breakpoint/
watchpoint support code. */