[PATCH] [AArch64, obv] Fix include guard naming for arch/aarch64-mte-linux.h

Luis Machado luis.machado@arm.com
Tue Jul 5 13:36:39 GMT 2022


It should be ARCH_AARCH64_MTE_LINUX_H as opposed to ARCH_AARCH64_LINUX_H.

It was probably a copy/pasto.
---
 gdb/arch/aarch64-mte-linux.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gdb/arch/aarch64-mte-linux.h b/gdb/arch/aarch64-mte-linux.h
index a57e8b225d6..0771ef728af 100644
--- a/gdb/arch/aarch64-mte-linux.h
+++ b/gdb/arch/aarch64-mte-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_LINUX_H
-#define ARCH_AARCH64_LINUX_H
+#ifndef ARCH_AARCH64_MTE_LINUX_H
+#define ARCH_AARCH64_MTE_LINUX_H
 
 #include "gdbsupport/common-defs.h"
 
@@ -81,4 +81,4 @@ extern void aarch64_mte_pack_tags (gdb::byte_vector &tags);
    first unpacked element.  Otherwise leave it in the unpacked vector.  */
 extern void aarch64_mte_unpack_tags (gdb::byte_vector &tags, bool skip_first);
 
-#endif /* ARCH_AARCH64_LINUX_H */
+#endif /* ARCH_AARCH64_MTE_LINUX_H */
-- 
2.25.1



More information about the Gdb-patches mailing list