This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Fix xcoffread build
- From: Daniel Jacobowitz <drow at false dot org>
- To: gdb-patches at sourceware dot org
- Date: Thu, 21 Aug 2008 17:23:22 -0400
- Subject: Fix xcoffread build
Sorry, didn't realize I needed --enable-targets=all to compile this
file. Obvious syntax problem checked in.
--
Daniel Jacobowitz
CodeSourcery
2008-08-21 Daniel Jacobowitz <dan@codesourcery.com>
* xcoffread.c (SYMNAME_ALLOC): Correct syntax.
Index: xcoffread.c
===================================================================
RCS file: /cvs/src/src/gdb/xcoffread.c,v
retrieving revision 1.62
diff -u -p -r1.62 xcoffread.c
--- xcoffread.c 21 Aug 2008 18:14:39 -0000 1.62
+++ xcoffread.c 21 Aug 2008 21:12:41 -0000
@@ -1427,7 +1427,7 @@ read_xcoff_symtab (struct partial_symtab
#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. */