aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2021-03-27 16:48:36 -0600
committerTom Tromey <tom@tromey.com>2021-03-27 16:48:36 -0600
commit6e23d91aa77171f8a6a20152876a5bcb5e51587d (patch)
treef453dff4f10cc8120bf1e717a5e860f16392f0e6 /gdb
parent594b8948eb660ba1634d842f605a4170bb476c7e (diff)
downloadgdb-6e23d91aa77171f8a6a20152876a5bcb5e51587d.zip
gdb-6e23d91aa77171f8a6a20152876a5bcb5e51587d.tar.gz
gdb-6e23d91aa77171f8a6a20152876a5bcb5e51587d.tar.bz2
Don't declare elf_sym_fns_lazy_psyms
An earlier patch neglected to delete a forward declaration of elf_sym_fns_lazy_psyms. This is no longer defined. This patch removes it. gdb/ChangeLog 2021-03-27 Tom Tromey <tom@tromey.com> * elfread.c (elf_sym_fns_lazy_psyms): Don't declare.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/elfread.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index bdd01c9..9e8f2f4 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2021-03-27 Tom Tromey <tom@tromey.com>
+ * elfread.c (elf_sym_fns_lazy_psyms): Don't declare.
+
+2021-03-27 Tom Tromey <tom@tromey.com>
+
* elfread.c (elf_symfile_read): Don't clear 'qf'.
2021-03-26 Lancelot Six <lsix@lancelotsix.com>
diff --git a/gdb/elfread.c b/gdb/elfread.c
index 1f48585..f5de913 100644
--- a/gdb/elfread.c
+++ b/gdb/elfread.c
@@ -71,8 +71,6 @@ struct lazy_dwarf_reader : public psymbol_functions
}
};
-extern const struct sym_fns elf_sym_fns_lazy_psyms;
-
/* The struct elfinfo is available only during ELF symbol table and
psymtab reading. It is destroyed at the completion of psymtab-reading.
It's local to elf_symfile_read. */