Further fix the documentation in struct quick_symbol_functions
[deliverable/binutils-gdb.git] / gdb / xml-syscall.c
index 271b2400670893f8cf1e8d19e44a8e7f3e43c1e1..d4261966503480df1ef891270f76d7ffdce5e79b 100644 (file)
@@ -195,6 +195,7 @@ syscall_start_syscall (struct gdb_xml_parser *parser,
                         _("Unknown attribute name '%s'."), attrs[i].name);
     }
 
+  gdb_assert (name);
   syscall_create_syscall_desc (data->sysinfo, name, number);
 }
 
@@ -280,7 +281,7 @@ static void
 init_sysinfo (void)
 {
   /* Should we re-read the XML info for this target?  */
-  if (my_gdb_datadir && strcmp (my_gdb_datadir, gdb_datadir) != 0)
+  if (my_gdb_datadir && filename_cmp (my_gdb_datadir, gdb_datadir) != 0)
     {
       /* The data-directory changed from the last time we used it.
         It means that we have to re-read the XML info.  */
This page took 0.024513 seconds and 4 git commands to generate.