aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2008-08-21 21:22:39 +0000
committerDaniel Jacobowitz <drow@false.org>2008-08-21 21:22:39 +0000
commit6a94242bfd60f6252412627b3998cec258e77ea6 (patch)
treefa15329d1ccb5418fc3bcba2644e108230e2d7f6 /gdb
parent5045add04b998b68602ab49f04cbf3ca4d422d54 (diff)
downloadgdb-6a94242bfd60f6252412627b3998cec258e77ea6.zip
gdb-6a94242bfd60f6252412627b3998cec258e77ea6.tar.gz
gdb-6a94242bfd60f6252412627b3998cec258e77ea6.tar.bz2
* xcoffread.c (SYMNAME_ALLOC): Correct syntax.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/xcoffread.c2
2 files changed, 5 insertions, 1 deletions
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 <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
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. */