From: Fred Fish Date: Tue, 6 Nov 2001 23:38:15 +0000 (+0000) Subject: 2001-11-06 Fred Fish X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4dc13854e578ca23e81646636213c36f12b98e6f;p=binutils-gdb.git 2001-11-06 Fred Fish * complaints.c (info_verbose): Remove unneeded decl, is in defs.h. * dbxread.c: Ditto * dwarf2read.c: Ditto. * dwarfread.c: Ditto. * exec.c: Ditto. * hpread.c: Ditto. * hpread.h: Ditto. * mdebugread.c: Ditto. * os9kread.c: Ditto. * stack.c: Ditto. * symfile.c: Ditto. * tracepoint.c: Ditto. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 89e5d2956d1..5d104935987 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,18 @@ +2001-11-06 Fred Fish + + * complaints.c (info_verbose): Remove unneeded decl, is in defs.h. + * dbxread.c: Ditto + * dwarf2read.c: Ditto. + * dwarfread.c: Ditto. + * exec.c: Ditto. + * hpread.c: Ditto. + * hpread.h: Ditto. + * mdebugread.c: Ditto. + * os9kread.c: Ditto. + * stack.c: Ditto. + * symfile.c: Ditto. + * tracepoint.c: Ditto. + 2001-11-06 Andrew Cagney * MAINTAINERS: Update Andrew Cagney's responsibilities. Mention diff --git a/gdb/complaints.c b/gdb/complaints.c index b29d3c6a576..04e49a23979 100644 --- a/gdb/complaints.c +++ b/gdb/complaints.c @@ -51,9 +51,6 @@ static unsigned int stop_whining = 0; static int complaint_series = 0; -/* External variables and functions referenced. */ - -extern int info_verbose; /* Functions to handle complaints during symbol reading. */ diff --git a/gdb/dbxread.c b/gdb/dbxread.c index 75a1ba70f5e..2b04043607a 100644 --- a/gdb/dbxread.c +++ b/gdb/dbxread.c @@ -124,10 +124,6 @@ struct symloc static enum language psymtab_language = language_unknown; -/* Nonzero means give verbose info on gdb action. From main.c. */ - -extern int info_verbose; - /* The BFD for this file -- implicit parameter to next_symbol_text. */ static bfd *symfile_bfd; diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index f9716b27701..16a3e23080e 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -554,9 +554,6 @@ static struct complaint dwarf2_unsupported_const_value_attr = "unsupported const value attribute form: '%s'", 0, 0 }; -/* Externals references. */ -extern int info_verbose; /* From main.c; nonzero => verbose */ - /* local function prototypes */ static void dwarf2_locate_sections (bfd *, asection *, PTR); diff --git a/gdb/dwarfread.c b/gdb/dwarfread.c index a78b199d95d..6eb0a0b06ed 100644 --- a/gdb/dwarfread.c +++ b/gdb/dwarfread.c @@ -241,7 +241,6 @@ typedef unsigned int DIE_REF; /* Reference to a DIE */ /* External variables referenced. */ -extern int info_verbose; /* From main.c; nonzero => verbose */ extern char *warning_pre_print; /* From utils.c */ /* The DWARF debugging information consists of two major pieces, diff --git a/gdb/exec.c b/gdb/exec.c index 24048f70b13..6e4e85b4a12 100644 --- a/gdb/exec.c +++ b/gdb/exec.c @@ -72,8 +72,6 @@ static void init_exec_ops (void); void _initialize_exec (void); -extern int info_verbose; - /* The target vector for executable files. */ struct target_ops exec_ops; diff --git a/gdb/hpread.c b/gdb/hpread.c index 3f781f45883..afd0b0a6c0a 100644 --- a/gdb/hpread.c +++ b/gdb/hpread.c @@ -127,9 +127,6 @@ struct symloc #define SYMLOC(p) ((struct symloc *)((p)->read_symtab_private)) /* FIXME: Shouldn't this stuff be in a .h file somewhere? */ -/* Nonzero means give verbose info on gdb action. */ -extern int info_verbose; - /* Complaints about the symbols we have encountered. */ extern struct complaint string_table_offset_complaint; extern struct complaint lbrac_unmatched_complaint; diff --git a/gdb/hpread.h b/gdb/hpread.h index 5eef32f005e..85e6a30ca9d 100644 --- a/gdb/hpread.h +++ b/gdb/hpread.h @@ -131,9 +131,6 @@ struct symloc #define SYMLOC(p) ((struct symloc *)((p)->read_symtab_private)) /* FIXME: Shouldn't this stuff be in a .h file somewhere? */ -/* Nonzero means give verbose info on gdb action. */ -extern int info_verbose; - /* Complaints about the symbols we have encountered. */ extern struct complaint string_table_offset_complaint; extern struct complaint lbrac_unmatched_complaint; diff --git a/gdb/mdebugread.c b/gdb/mdebugread.c index 8ce2d0f23bd..c9e3490a5c5 100644 --- a/gdb/mdebugread.c +++ b/gdb/mdebugread.c @@ -146,11 +146,6 @@ struct symloc #define SC_IS_BSS(sc) ((sc) == scBss || (sc) == scSBss) #define SC_IS_UNDEF(sc) ((sc) == scUndefined || (sc) == scSUndefined) - -/* Things we import explicitly from other modules */ - -extern int info_verbose; - /* Various complaints about symbol reading that don't abort the process */ static struct complaint bad_file_number_complaint = diff --git a/gdb/os9kread.c b/gdb/os9kread.c index 591161c1d10..a7448d47d59 100644 --- a/gdb/os9kread.c +++ b/gdb/os9kread.c @@ -95,9 +95,6 @@ static int psymfile_depth = 0; /* keep symbol table file nested depth */ static int symfile_depth = 0; -/* Nonzero means give verbose info on gdb action. From main.c. */ -extern int info_verbose; - extern int previous_stab_code; /* Name of last function encountered. Used in Solaris to approximate diff --git a/gdb/stack.c b/gdb/stack.c index 4c7e5fa38f0..d7808547342 100644 --- a/gdb/stack.c +++ b/gdb/stack.c @@ -108,7 +108,6 @@ struct frame_info *parse_frame_specification (char *); static void frame_info (char *, int); extern int addressprint; /* Print addresses, or stay symbolic only? */ -extern int info_verbose; /* Verbosity of symbol reading msgs */ extern int lines_to_list; /* # of lines "list" command shows by default */ /* The "selected" stack frame is used by default for local and arg access. diff --git a/gdb/symfile.c b/gdb/symfile.c index 010726de6ec..b4608623750 100644 --- a/gdb/symfile.c +++ b/gdb/symfile.c @@ -95,8 +95,6 @@ struct complaint unknown_option_complaint = /* External variables and functions referenced. */ -extern int info_verbose; - extern void report_transfer_performance (unsigned long, time_t, time_t); /* Functions this file defines */ diff --git a/gdb/tracepoint.c b/gdb/tracepoint.c index 57d2ae2a29d..45794e64bd2 100644 --- a/gdb/tracepoint.c +++ b/gdb/tracepoint.c @@ -61,7 +61,6 @@ #define MAX_AGENT_EXPR_LEN 184 -extern int info_verbose; extern void (*readline_begin_hook) (char *, ...); extern char *(*readline_hook) (char *); extern void (*readline_end_hook) (void);