* xcoffread.c (SYMNAME_ALLOC): Correct syntax.
authorDaniel Jacobowitz <drow@false.org>
Thu, 21 Aug 2008 21:22:39 +0000 (21:22 +0000)
committerDaniel Jacobowitz <drow@false.org>
Thu, 21 Aug 2008 21:22:39 +0000 (21:22 +0000)
gdb/ChangeLog
gdb/xcoffread.c

index 43eddfc1e5d728b225f409914da48ffdbcecaad8..b795305b93f1a8cbfb892b01541d1e18e6ecdb9e 100644 (file)
@@ -1,3 +1,7 @@
+2008-08-21  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * xcoffread.c (SYMNAME_ALLOC): Correct syntax.
+
 2008-08-21  Ulrich Weigand  <uweigand@de.ibm.com>
 
        * findvar.c (locate_var_value): Do not call get_frame_arch
index 25fefca4fb73c1076431c1f4ee31a83be4f4bca8..54e2abaf8ad40e05e1ec84970cb466a3f0184d5d 100644 (file)
@@ -1427,7 +1427,7 @@ read_xcoff_symtab (struct partial_symtab *pst)
 
 
 #define        SYMNAME_ALLOC(NAME, ALLOCED)    \
-  (ALLOCED) ? (NAME) : obsavestring ((NAME), strlen (NAME), &objfile->objfile_obstack);
+  ((ALLOCED) ? (NAME) : obsavestring ((NAME), strlen (NAME), &objfile->objfile_obstack))
 
 
 /* process one xcoff symbol. */