aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-06-02 21:01:55 +0000
committerAndrew Cagney <cagney@redhat.com>2004-06-02 21:01:55 +0000
commit2060536186591d118d3d3f251ac803f745bd4225 (patch)
treea69a6e57fc846a5799d279ba75a7632aad40b467
parent1da28ab05f6e368b4be1b53e1c2bb887b635994c (diff)
downloadfsf-binutils-gdb-2060536186591d118d3d3f251ac803f745bd4225.zip
fsf-binutils-gdb-2060536186591d118d3d3f251ac803f745bd4225.tar.gz
fsf-binutils-gdb-2060536186591d118d3d3f251ac803f745bd4225.tar.bz2
2004-06-02 Albert Chin-A-Young <china@thewrittenword.com>
Committed by Andrew Cagney. * gdb/dictionary.c, gdb/gdbtypes.h: Remove trailing comma after last enum constant to avoid error from IBM C compiler.
-rw-r--r--gdb/ChangeLog7
-rw-r--r--gdb/dictionary.c2
-rw-r--r--gdb/gdbtypes.h2
3 files changed, 9 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 26ce8b8..e1b2b2a 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,10 @@
+2004-06-02 Albert Chin-A-Young <china@thewrittenword.com>
+
+ Committed by Andrew Cagney.
+ * gdb/dictionary.c, gdb/gdbtypes.h: Remove trailing comma
+ after last enum constant to avoid error from IBM C
+ compiler.
+
2004-06-02 Jim Blandy <jimb@redhat.com>
* ppc-linux-nat.c (store_register, fetch_register): Rename 'mess'
diff --git a/gdb/dictionary.c b/gdb/dictionary.c
index a5f1a0e..09851ef 100644
--- a/gdb/dictionary.c
+++ b/gdb/dictionary.c
@@ -99,7 +99,7 @@ enum dict_type
/* Symbols are stored in a fixed-size array. */
DICT_LINEAR,
/* Symbols are stored in an expandable array. */
- DICT_LINEAR_EXPANDABLE,
+ DICT_LINEAR_EXPANDABLE
};
/* The virtual function table. */
diff --git a/gdb/gdbtypes.h b/gdb/gdbtypes.h
index a1141d7..c0696ad 100644
--- a/gdb/gdbtypes.h
+++ b/gdb/gdbtypes.h
@@ -136,7 +136,7 @@ enum type_code
TYPE_CODE_TEMPLATE, /* C++ template */
TYPE_CODE_TEMPLATE_ARG, /* C++ template arg */
- TYPE_CODE_NAMESPACE, /* C++ namespace. */
+ TYPE_CODE_NAMESPACE /* C++ namespace. */
};
/* For now allow source to use TYPE_CODE_CLASS for C++ classes, as an