diff options
author | Stan Shebs <shebs@codesourcery.com> | 1994-08-03 19:15:42 +0000 |
---|---|---|
committer | Stan Shebs <shebs@codesourcery.com> | 1994-08-03 19:15:42 +0000 |
commit | 043b05b26b6562d9a20d260954a66de46089408b (patch) | |
tree | 4afbc27edbab35e971406ff540530fb5f14db9f4 /gdb | |
parent | e696f6a9b92b097130cad284fea2782e4fd06220 (diff) | |
download | gdb-043b05b26b6562d9a20d260954a66de46089408b.zip gdb-043b05b26b6562d9a20d260954a66de46089408b.tar.gz gdb-043b05b26b6562d9a20d260954a66de46089408b.tar.bz2 |
* 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.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 11 | ||||
-rw-r--r-- | gdb/c-lang.c | 3 | ||||
-rw-r--r-- | gdb/language.c | 3 | ||||
-rw-r--r-- | gdb/language.h | 8 | ||||
-rw-r--r-- | gdb/m2-lang.c | 1 |
5 files changed, 11 insertions, 15 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index db55673..0f95634 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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. diff --git a/gdb/c-lang.c b/gdb/c-lang.c index 422bde8..98d09eb 100644 --- a/gdb/c-lang.c +++ b/gdb/c-lang.c @@ -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 */ diff --git a/gdb/language.c b/gdb/language.c index 4a3b6a0..c06decb 100644 --- a/gdb/language.c +++ b/gdb/language.c @@ -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 */ diff --git a/gdb/language.h b/gdb/language.h index a4ec6fb..e9a2eff 100644 --- a/gdb/language.h +++ b/gdb/language.h @@ -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)) diff --git a/gdb/m2-lang.c b/gdb/m2-lang.c index c12b7dd..8d2f2a5 100644 --- a/gdb/m2-lang.c +++ b/gdb/m2-lang.c @@ -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 */ |