aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorK. Richard Pixley <rich@cygnus>1993-02-17 21:43:45 +0000
committerK. Richard Pixley <rich@cygnus>1993-02-17 21:43:45 +0000
commit8631194dd93e6c94c574c01b190490719353cbd2 (patch)
tree115516bf6c33534cbef4fd32b3439cd2a762b068 /gdb
parent2338f9c4dd55f0bf16abcaeb65377651dd1d7c51 (diff)
downloadgdb-8631194dd93e6c94c574c01b190490719353cbd2.zip
gdb-8631194dd93e6c94c574c01b190490719353cbd2.tar.gz
gdb-8631194dd93e6c94c574c01b190490719353cbd2.tar.bz2
* language.c (struct op_print unk_op_print_tab): use the enum values
rather naked zeros as initializers. Avoids warnings from ultrix type compilers.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/language.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 369cb00..83c9b15 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+Wed Feb 17 13:40:29 1993 K. Richard Pixley (rich@cygnus.com)
+
+ * language.c (struct op_print unk_op_print_tab): use the enum
+ values rather naked zeros as initializers. Avoids warnings from
+ ultrix type compilers.
+
Tue Feb 16 00:53:20 1993 John Gilmore (gnu@cygnus.com)
* Makefile.in (VERSION): Roll to 4.7.6.
diff --git a/gdb/language.c b/gdb/language.c
index d9c7c1c..db4fb45 100644
--- a/gdb/language.c
+++ b/gdb/language.c
@@ -1198,7 +1198,7 @@ unk_lang_val_print (type, valaddr, address, stream, format, deref_ref,
static struct type ** const (unknown_builtin_types[]) = { 0 };
static const struct op_print unk_op_print_tab[] = {
- {NULL, 0, 0, 0}
+ {NULL, OP_NULL, PREC_NULL, 0}
};
const struct language_defn unknown_language_defn = {