]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* language.h (struct language_defn): Remove unused field
authorStan Shebs <shebs@codesourcery.com>
Wed, 3 Aug 1994 19:15:42 +0000 (19:15 +0000)
committerStan Shebs <shebs@codesourcery.com>
Wed, 3 Aug 1994 19:15:42 +0000 (19:15 +0000)
la_longest_float.
(longest_float): Remove, no longer used.
* language.c (unknown_language_defn, auto_language_defn,
local_language_defn): Remove init of la_longest_float field.
* c-lang.c (c_language_defn, cplus_language_defn,
asm_language_defn): Ditto.
* m2-lang.c (m2_language_defn): Ditto.

gdb/ChangeLog
gdb/c-lang.c
gdb/language.c
gdb/language.h
gdb/m2-lang.c

index db556736b4a274096497e7351dd70c9a36fb400a..0f95634babbe8e63f4bdc6ac45cb40ff90460ecd 100644 (file)
@@ -1,3 +1,14 @@
+Wed Aug  3 12:05:13 1994  Stan Shebs  (shebs@andros.cygnus.com)
+
+       * language.h (struct language_defn): Remove unused field
+       la_longest_float.
+       (longest_float): Remove, no longer used.
+       * language.c (unknown_language_defn, auto_language_defn,
+       local_language_defn): Remove init of la_longest_float field.
+       * c-lang.c (c_language_defn, cplus_language_defn,
+       asm_language_defn): Ditto.
+       * m2-lang.c (m2_language_defn): Ditto.
+
 Tue Aug  2 10:58:34 1994  Stan Shebs  (shebs@andros.cygnus.com)
 
        * defs.h (bfd_read, bfd_seek): Remove declarations.
index 422bde8f34db95b9b463d7b2b0092983eb305d0a..98d09eb43b5832b46c5857cbb8b043243b9d22a5 100644 (file)
@@ -405,7 +405,6 @@ const struct language_defn c_language_defn = {
   c_print_type,                        /* Print a type using appropriate syntax */
   c_val_print,                 /* Print a value using appropriate syntax */
   c_value_print,               /* Print a top-level value */
-  &builtin_type_double,                /* longest floating point type */ /*FIXME*/
   {"",     "",    "",  ""},    /* Binary format info */
   {"0%lo",  "0",   "o", ""},   /* Octal format info */
   {"%ld",   "",    "d", ""},   /* Decimal format info */
@@ -428,7 +427,6 @@ const struct language_defn cplus_language_defn = {
   c_print_type,                        /* Print a type using appropriate syntax */
   c_val_print,                 /* Print a value using appropriate syntax */
   c_value_print,               /* Print a top-level value */
-  &builtin_type_double,                /* longest floating point type */ /*FIXME*/
   {"",      "",    "",   ""},  /* Binary format info */
   {"0%lo",   "0",   "o",  ""}, /* Octal format info */
   {"%ld",    "",    "d",  ""}, /* Decimal format info */
@@ -451,7 +449,6 @@ const struct language_defn asm_language_defn = {
   c_print_type,                        /* Print a type using appropriate syntax */
   c_val_print,                 /* Print a value using appropriate syntax */
   c_value_print,               /* Print a top-level value */
-  &builtin_type_double,                /* longest floating point type */ /*FIXME*/
   {"",     "",    "",  ""},    /* Binary format info */
   {"0%lo",  "0",   "o", ""},   /* Octal format info */
   {"%ld",   "",    "d", ""},   /* Decimal format info */
index 4a3b6a0ee6ae1d0b5f73f1b34cf88f42a43d33d6..c06decb0e9d55b3c0700a89c6222fc1129e47d0c 100644 (file)
@@ -1194,7 +1194,6 @@ const struct language_defn unknown_language_defn = {
   unk_lang_print_type,         /* Print a type using appropriate syntax */
   unk_lang_val_print,          /* Print a value using appropriate syntax */
   unk_lang_value_print,                /* Print a top-level value */
-  &builtin_type_error,         /* longest floating point type */
   {"",      "",    "",   ""},  /* Binary format info */
   {"0%lo",   "0",   "o",  ""}, /* Octal format info */
   {"%ld",    "",    "d",  ""}, /* Decimal format info */
@@ -1218,7 +1217,6 @@ const struct language_defn auto_language_defn = {
   unk_lang_print_type,         /* Print a type using appropriate syntax */
   unk_lang_val_print,          /* Print a value using appropriate syntax */
   unk_lang_value_print,                /* Print a top-level value */
-  &builtin_type_error,         /* longest floating point type */
   {"",      "",    "",   ""},  /* Binary format info */
   {"0%lo",   "0",   "o",  ""}, /* Octal format info */
   {"%ld",    "",    "d",  ""}, /* Decimal format info */
@@ -1241,7 +1239,6 @@ const struct language_defn local_language_defn = {
   unk_lang_print_type,         /* Print a type using appropriate syntax */
   unk_lang_val_print,          /* Print a value using appropriate syntax */
   unk_lang_value_print,                /* Print a top-level value */
-  &builtin_type_error,         /* longest floating point type */
   {"",      "",    "",   ""},  /* Binary format info */
   {"0%lo",   "0",   "o",  ""}, /* Octal format info */
   {"%ld",    "",    "d",  ""}, /* Decimal format info */
index a4ec6fb52347d4f51b284d1cfbb4df3409e05696..e9a2effd7141c32506e9dec0352a94d24363869b 100644 (file)
@@ -149,10 +149,6 @@ struct language_defn
   int (*la_value_print) PARAMS ((struct value *, GDB_FILE *,
                                 int, enum val_prettyprint));
 
-  /* Longest floating point type */
-
-  struct type **la_longest_float;
-
   /* Base 2 (binary) formats. */
 
   struct language_format_info la_binary_format;
@@ -169,7 +165,6 @@ struct language_defn
 
   struct language_format_info la_hex_format;
 
-
   /* Table for printing expressions */
 
   const struct op_print *la_op_print_tab;
@@ -240,9 +235,6 @@ set_language PARAMS ((enum language));
    the current setting of working_lang, which the user sets
    with the "set language" command. */
 
-/* Returns some built-in types */
-#define        longest_float()         (*current_language->la_longest_float)
-
 #define create_fundamental_type(objfile,typeid) \
   (current_language->la_fund_type(objfile, typeid))
 
index c12b7ddf5d6c2eb1dc745f4d954a0e1c8d4b8c4c..8d2f2a58e231b2c497fb1d74e082bfb48ee759f0 100644 (file)
@@ -407,7 +407,6 @@ const struct language_defn m2_language_defn = {
   m2_print_type,               /* Print a type using appropriate syntax */
   m2_val_print,                        /* Print a value using appropriate syntax */
   c_value_print,               /* Print a top-level value */
-  &builtin_type_m2_real,       /* longest floating point type */
   {"",      "",   "",   ""},   /* Binary format info */
   {"%loB",   "",   "o",  "B"}, /* Octal format info */
   {"%ld",    "",   "d",  ""},  /* Decimal format info */