aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>2001-11-06 23:38:15 +0000
committerFred Fish <fnf@specifix.com>2001-11-06 23:38:15 +0000
commit4dc13854e578ca23e81646636213c36f12b98e6f (patch)
treed972d85bdee1894ac062cab0e4972f3e85f9f574
parentdf054029496971368397b80788073d048f51fa7a (diff)
downloadgdb-4dc13854e578ca23e81646636213c36f12b98e6f.zip
gdb-4dc13854e578ca23e81646636213c36f12b98e6f.tar.gz
gdb-4dc13854e578ca23e81646636213c36f12b98e6f.tar.bz2
2001-11-06 Fred Fish <fnf@redhat.com>
* 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.
-rw-r--r--gdb/ChangeLog15
-rw-r--r--gdb/complaints.c3
-rw-r--r--gdb/dbxread.c4
-rw-r--r--gdb/dwarf2read.c3
-rw-r--r--gdb/dwarfread.c1
-rw-r--r--gdb/exec.c2
-rw-r--r--gdb/hpread.c3
-rw-r--r--gdb/hpread.h3
-rw-r--r--gdb/mdebugread.c5
-rw-r--r--gdb/os9kread.c3
-rw-r--r--gdb/stack.c1
-rw-r--r--gdb/symfile.c2
-rw-r--r--gdb/tracepoint.c1
13 files changed, 15 insertions, 31 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 89e5d29..5d10493 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,18 @@
+2001-11-06 Fred Fish <fnf@redhat.com>
+
+ * 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 <ac131313@redhat.com>
* MAINTAINERS: Update Andrew Cagney's responsibilities. Mention
diff --git a/gdb/complaints.c b/gdb/complaints.c
index b29d3c6..04e49a2 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 75a1ba7..2b04043 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 f9716b2..16a3e23 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 a78b199..6eb0a0b 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 24048f7..6e4e85b 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 3f781f4..afd0b0a 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 5eef32f..85e6a30 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 8ce2d0f..c9e3490 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 591161c..a7448d4 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 4c7e5fa..d780854 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 010726d..b460862 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 57d2ae2..45794e6 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);