[binutils-gdb] gdb: fix include guard in arch/aarch64-gcs-linux.h
Simon Marchi
simark@sourceware.org
Sat Aug 30 13:23:27 GMT 2025
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=40915a1db7e0c76e4ab63225d6b481a91ce289e4
commit 40915a1db7e0c76e4ab63225d6b481a91ce289e4
Author: Simon Marchi <simon.marchi@polymtl.ca>
Date: Sat Aug 30 09:22:00 2025 -0400
gdb: fix include guard in arch/aarch64-gcs-linux.h
Fix:
$ gdb/check-include-guards.py gdb/arch/aarch64-gcs-linux.h
gdb/arch/aarch64-gcs-linux.h:20: wrong symbol in ifndef
Change-Id: I7586d5c22abe11501f59439df2b4a73bff7d201e
Diff:
---
gdb/arch/aarch64-gcs-linux.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/gdb/arch/aarch64-gcs-linux.h b/gdb/arch/aarch64-gcs-linux.h
index 9366caa7289..922c779d139 100644
--- a/gdb/arch/aarch64-gcs-linux.h
+++ b/gdb/arch/aarch64-gcs-linux.h
@@ -17,8 +17,8 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#ifndef ARCH_AARCH64_GCS_LINUX_H
-#define ARCH_AARCH64_GCS_LINUX_H
+#ifndef GDB_ARCH_AARCH64_GCS_LINUX_H
+#define GDB_ARCH_AARCH64_GCS_LINUX_H
#include <stdint.h>
@@ -41,4 +41,4 @@ struct user_gcs
#endif /* GCS_MAGIC */
-#endif /* ARCH_AARCH64_GCS_LINUX_H */
+#endif /* GDB_ARCH_AARCH64_GCS_LINUX_H */
More information about the Gdb-cvs
mailing list