mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-18 13:23:10 +08:00
* 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.
This commit is contained in:
@ -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)
|
Tue Aug 2 10:58:34 1994 Stan Shebs (shebs@andros.cygnus.com)
|
||||||
|
|
||||||
* defs.h (bfd_read, bfd_seek): Remove declarations.
|
* defs.h (bfd_read, bfd_seek): Remove declarations.
|
||||||
|
@ -405,7 +405,6 @@ const struct language_defn c_language_defn = {
|
|||||||
c_print_type, /* Print a type using appropriate syntax */
|
c_print_type, /* Print a type using appropriate syntax */
|
||||||
c_val_print, /* Print a value using appropriate syntax */
|
c_val_print, /* Print a value using appropriate syntax */
|
||||||
c_value_print, /* Print a top-level value */
|
c_value_print, /* Print a top-level value */
|
||||||
&builtin_type_double, /* longest floating point type */ /*FIXME*/
|
|
||||||
{"", "", "", ""}, /* Binary format info */
|
{"", "", "", ""}, /* Binary format info */
|
||||||
{"0%lo", "0", "o", ""}, /* Octal format info */
|
{"0%lo", "0", "o", ""}, /* Octal format info */
|
||||||
{"%ld", "", "d", ""}, /* Decimal 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_print_type, /* Print a type using appropriate syntax */
|
||||||
c_val_print, /* Print a value using appropriate syntax */
|
c_val_print, /* Print a value using appropriate syntax */
|
||||||
c_value_print, /* Print a top-level value */
|
c_value_print, /* Print a top-level value */
|
||||||
&builtin_type_double, /* longest floating point type */ /*FIXME*/
|
|
||||||
{"", "", "", ""}, /* Binary format info */
|
{"", "", "", ""}, /* Binary format info */
|
||||||
{"0%lo", "0", "o", ""}, /* Octal format info */
|
{"0%lo", "0", "o", ""}, /* Octal format info */
|
||||||
{"%ld", "", "d", ""}, /* Decimal 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_print_type, /* Print a type using appropriate syntax */
|
||||||
c_val_print, /* Print a value using appropriate syntax */
|
c_val_print, /* Print a value using appropriate syntax */
|
||||||
c_value_print, /* Print a top-level value */
|
c_value_print, /* Print a top-level value */
|
||||||
&builtin_type_double, /* longest floating point type */ /*FIXME*/
|
|
||||||
{"", "", "", ""}, /* Binary format info */
|
{"", "", "", ""}, /* Binary format info */
|
||||||
{"0%lo", "0", "o", ""}, /* Octal format info */
|
{"0%lo", "0", "o", ""}, /* Octal format info */
|
||||||
{"%ld", "", "d", ""}, /* Decimal format info */
|
{"%ld", "", "d", ""}, /* Decimal format info */
|
||||||
|
@ -1194,7 +1194,6 @@ const struct language_defn unknown_language_defn = {
|
|||||||
unk_lang_print_type, /* Print a type using appropriate syntax */
|
unk_lang_print_type, /* Print a type using appropriate syntax */
|
||||||
unk_lang_val_print, /* Print a value using appropriate syntax */
|
unk_lang_val_print, /* Print a value using appropriate syntax */
|
||||||
unk_lang_value_print, /* Print a top-level value */
|
unk_lang_value_print, /* Print a top-level value */
|
||||||
&builtin_type_error, /* longest floating point type */
|
|
||||||
{"", "", "", ""}, /* Binary format info */
|
{"", "", "", ""}, /* Binary format info */
|
||||||
{"0%lo", "0", "o", ""}, /* Octal format info */
|
{"0%lo", "0", "o", ""}, /* Octal format info */
|
||||||
{"%ld", "", "d", ""}, /* Decimal 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_print_type, /* Print a type using appropriate syntax */
|
||||||
unk_lang_val_print, /* Print a value using appropriate syntax */
|
unk_lang_val_print, /* Print a value using appropriate syntax */
|
||||||
unk_lang_value_print, /* Print a top-level value */
|
unk_lang_value_print, /* Print a top-level value */
|
||||||
&builtin_type_error, /* longest floating point type */
|
|
||||||
{"", "", "", ""}, /* Binary format info */
|
{"", "", "", ""}, /* Binary format info */
|
||||||
{"0%lo", "0", "o", ""}, /* Octal format info */
|
{"0%lo", "0", "o", ""}, /* Octal format info */
|
||||||
{"%ld", "", "d", ""}, /* Decimal 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_print_type, /* Print a type using appropriate syntax */
|
||||||
unk_lang_val_print, /* Print a value using appropriate syntax */
|
unk_lang_val_print, /* Print a value using appropriate syntax */
|
||||||
unk_lang_value_print, /* Print a top-level value */
|
unk_lang_value_print, /* Print a top-level value */
|
||||||
&builtin_type_error, /* longest floating point type */
|
|
||||||
{"", "", "", ""}, /* Binary format info */
|
{"", "", "", ""}, /* Binary format info */
|
||||||
{"0%lo", "0", "o", ""}, /* Octal format info */
|
{"0%lo", "0", "o", ""}, /* Octal format info */
|
||||||
{"%ld", "", "d", ""}, /* Decimal format info */
|
{"%ld", "", "d", ""}, /* Decimal format info */
|
||||||
|
@ -149,10 +149,6 @@ struct language_defn
|
|||||||
int (*la_value_print) PARAMS ((struct value *, GDB_FILE *,
|
int (*la_value_print) PARAMS ((struct value *, GDB_FILE *,
|
||||||
int, enum val_prettyprint));
|
int, enum val_prettyprint));
|
||||||
|
|
||||||
/* Longest floating point type */
|
|
||||||
|
|
||||||
struct type **la_longest_float;
|
|
||||||
|
|
||||||
/* Base 2 (binary) formats. */
|
/* Base 2 (binary) formats. */
|
||||||
|
|
||||||
struct language_format_info la_binary_format;
|
struct language_format_info la_binary_format;
|
||||||
@ -169,7 +165,6 @@ struct language_defn
|
|||||||
|
|
||||||
struct language_format_info la_hex_format;
|
struct language_format_info la_hex_format;
|
||||||
|
|
||||||
|
|
||||||
/* Table for printing expressions */
|
/* Table for printing expressions */
|
||||||
|
|
||||||
const struct op_print *la_op_print_tab;
|
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
|
the current setting of working_lang, which the user sets
|
||||||
with the "set language" command. */
|
with the "set language" command. */
|
||||||
|
|
||||||
/* Returns some built-in types */
|
|
||||||
#define longest_float() (*current_language->la_longest_float)
|
|
||||||
|
|
||||||
#define create_fundamental_type(objfile,typeid) \
|
#define create_fundamental_type(objfile,typeid) \
|
||||||
(current_language->la_fund_type(objfile, typeid))
|
(current_language->la_fund_type(objfile, typeid))
|
||||||
|
|
||||||
|
@ -407,7 +407,6 @@ const struct language_defn m2_language_defn = {
|
|||||||
m2_print_type, /* Print a type using appropriate syntax */
|
m2_print_type, /* Print a type using appropriate syntax */
|
||||||
m2_val_print, /* Print a value using appropriate syntax */
|
m2_val_print, /* Print a value using appropriate syntax */
|
||||||
c_value_print, /* Print a top-level value */
|
c_value_print, /* Print a top-level value */
|
||||||
&builtin_type_m2_real, /* longest floating point type */
|
|
||||||
{"", "", "", ""}, /* Binary format info */
|
{"", "", "", ""}, /* Binary format info */
|
||||||
{"%loB", "", "o", "B"}, /* Octal format info */
|
{"%loB", "", "o", "B"}, /* Octal format info */
|
||||||
{"%ld", "", "d", ""}, /* Decimal format info */
|
{"%ld", "", "d", ""}, /* Decimal format info */
|
||||||
|
Reference in New Issue
Block a user