[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 01/21] gdbstub/internals.h: clean up include guard
From: |
Alex Bennée |
Subject: |
[PATCH v2 01/21] gdbstub/internals.h: clean up include guard |
Date: |
Thu, 5 Jan 2023 16:43:00 +0000 |
Use something more specific to avoid name clashes.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
gdbstub/internals.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/gdbstub/internals.h b/gdbstub/internals.h
index eabb0341d1..b444f24ef5 100644
--- a/gdbstub/internals.h
+++ b/gdbstub/internals.h
@@ -6,12 +6,12 @@
* SPDX-License-Identifier: GPL-2.0-or-later
*/
-#ifndef _INTERNALS_H_
-#define _INTERNALS_H_
+#ifndef GDBSTUB_INTERNALS_H
+#define GDBSTUB_INTERNALS_H
bool gdb_supports_guest_debug(void);
int gdb_breakpoint_insert(CPUState *cs, int type, hwaddr addr, hwaddr len);
int gdb_breakpoint_remove(CPUState *cs, int type, hwaddr addr, hwaddr len);
void gdb_breakpoint_remove_all(CPUState *cs);
-#endif /* _INTERNALS_H_ */
+#endif /* GDBSTUB_INTERNALS_H */
--
2.34.1
- [PATCH v2 00/21] gdbstub: re-organise to for better compilation behaviour, Alex Bennée, 2023/01/05
- [PATCH v2 02/21] target/arm: fix handling of HLT semihosting in system mode, Alex Bennée, 2023/01/05
- [PATCH v2 01/21] gdbstub/internals.h: clean up include guard,
Alex Bennée <=
- [PATCH v2 03/21] gdbstub: fix-up copyright and license files, Alex Bennée, 2023/01/05
- [PATCH v2 04/21] gdbstub: Make syscall_complete/[gs]et_reg target-agnostic typedefs, Alex Bennée, 2023/01/05
- [PATCH v2 06/21] gdbstub: move GDBState to shared internals header, Alex Bennée, 2023/01/05
- [PATCH v2 08/21] gdbstub: move fromhex/tohex routines to internals, Alex Bennée, 2023/01/05
- [PATCH v2 05/21] gdbstub: define separate user/system structures, Alex Bennée, 2023/01/05
- [PATCH v2 07/21] includes: move tb_flush into its own header, Alex Bennée, 2023/01/05
- [PATCH v2 09/21] gdbstub: make various helpers visible to the rest of the module, Alex Bennée, 2023/01/05