Change gcc_target_options to return std::string
[binutils-gdb.git] / gdb / aarch64-linux-tdep.c
index a375c3b137d657faf22bf9c041e84e3f07ba404f..3ec08d1c76e655c0113ee6b951af6d1b1abc62a6 100644 (file)
@@ -1429,11 +1429,11 @@ aarch64_linux_syscall_record (struct regcache *regcache,
 
 /* Implement the "gcc_target_options" gdbarch method.  */
 
-static char *
+static std::string
 aarch64_linux_gcc_target_options (struct gdbarch *gdbarch)
 {
   /* GCC doesn't know "-m64".  */
-  return NULL;
+  return {};
 }
 
 static void