From 6a94242bfd60f6252412627b3998cec258e77ea6 Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Thu, 21 Aug 2008 21:22:39 +0000 Subject: [PATCH] * xcoffread.c (SYMNAME_ALLOC): Correct syntax. --- gdb/ChangeLog | 4 ++++ gdb/xcoffread.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 43eddfc..b795305 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2008-08-21 Daniel Jacobowitz + + * xcoffread.c (SYMNAME_ALLOC): Correct syntax. + 2008-08-21 Ulrich Weigand * findvar.c (locate_var_value): Do not call get_frame_arch diff --git a/gdb/xcoffread.c b/gdb/xcoffread.c index 25fefca..54e2aba 100644 --- a/gdb/xcoffread.c +++ b/gdb/xcoffread.c @@ -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. */ -- 2.7.4