aboutsummaryrefslogtreecommitdiff
path: root/gdb/gcore.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2020-07-27 09:53:32 -0600
committerTom Tromey <tromey@adacore.com>2020-07-27 09:54:05 -0600
commita4089f524fbcf176f3d4aae43a35e3c6effcc854 (patch)
treec5f6f804d8aa76e54c8306a781a2af9d4497cb35 /gdb/gcore.h
parent32377a8037eefae8091f345546f52370ed515399 (diff)
downloadbinutils-a4089f524fbcf176f3d4aae43a35e3c6effcc854.zip
binutils-a4089f524fbcf176f3d4aae43a35e3c6effcc854.tar.gz
binutils-a4089f524fbcf176f3d4aae43a35e3c6effcc854.tar.bz2
Remove unused declaration from gcore.h
gcore.h declares load_corefile, but there are no other mentions of this in the source. This patch removes it. Tested by grep and rebuilding. gdb/ChangeLog 2020-07-27 Tom Tromey <tromey@adacore.com> * gcore.h (load_corefile): Don't declare.
Diffstat (limited to 'gdb/gcore.h')
-rw-r--r--gdb/gcore.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/gcore.h b/gdb/gcore.h
index 9b85e46..64bfe12 100644
--- a/gdb/gcore.h
+++ b/gdb/gcore.h
@@ -24,7 +24,6 @@
extern gdb_bfd_ref_ptr create_gcore_bfd (const char *filename);
extern void write_gcore_file (bfd *obfd);
-extern bfd *load_corefile (char *filename, int from_tty);
extern int objfile_find_memory_regions (struct target_ops *self,
find_memory_region_ftype func,
void *obfd);