From 5f9cbc8ffcc6918954c5004edf74c45e0f4d7b07 Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Thu, 7 Jul 2022 15:11:18 -0700 Subject: [PATCH] Morello: Initialize morello_capability_pseudo_type to nullptr. --- gdb/aarch64-tdep.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdb/aarch64-tdep.h b/gdb/aarch64-tdep.h index 04ef40cddf6..a2e5248c76d 100644 --- a/gdb/aarch64-tdep.h +++ b/gdb/aarch64-tdep.h @@ -163,7 +163,7 @@ struct aarch64_gdbarch_tdep : gdbarch_tdep int cap_pseudo_count; /* Types for Morello. */ - struct type *morello_capability_pseudo_type; + struct type *morello_capability_pseudo_type = nullptr; /* Returns true if the target supports capabilities. */ bool has_capability () const -- 2.47.2