From 4dc13854e578ca23e81646636213c36f12b98e6f Mon Sep 17 00:00:00 2001 From: Fred Fish Date: Tue, 6 Nov 2001 23:38:15 +0000 Subject: [PATCH] 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. --- gdb/ChangeLog | 15 +++++++++++++++ gdb/complaints.c | 3 --- gdb/dbxread.c | 4 ---- gdb/dwarf2read.c | 3 --- gdb/dwarfread.c | 1 - gdb/exec.c | 2 -- gdb/hpread.c | 3 --- gdb/hpread.h | 3 --- gdb/mdebugread.c | 5 ----- gdb/os9kread.c | 3 --- gdb/stack.c | 1 - gdb/symfile.c | 2 -- gdb/tracepoint.c | 1 - 13 files changed, 15 insertions(+), 31 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 89e5d2956d..5d10493598 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 b29d3c6a57..04e49a2397 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 75a1ba70f5..2b04043607 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 f9716b2770..16a3e23080 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 a78b199d95..6eb0a0b06e 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 24048f70b1..6e4e85b4a1 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 3f781f4588..afd0b0a6c0 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 5eef32f005..85e6a30ca9 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 8ce2d0f23b..c9e3490a5c 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 591161c1d1..a7448d47d5 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 4c7e5fa38f..d780854734 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 010726de6e..b460862375 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 57d2ae2a29..45794e64bd 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);