diff options
author | Tom Tromey <tromey@adacore.com> | 2020-07-27 09:53:32 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2020-07-27 09:54:05 -0600 |
commit | a4089f524fbcf176f3d4aae43a35e3c6effcc854 (patch) | |
tree | c5f6f804d8aa76e54c8306a781a2af9d4497cb35 | |
parent | 32377a8037eefae8091f345546f52370ed515399 (diff) | |
download | binutils-gdb-a4089f524fbcf176f3d4aae43a35e3c6effcc854.tar.gz |
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.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/gcore.h | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 1d00d15e176..bc6e6e5af21 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2020-07-27 Tom Tromey <tromey@adacore.com> + + * gcore.h (load_corefile): Don't declare. + 2020-07-27 Tom de Vries <tdevries@suse.de> * configure.ac: Fix sys/sockets.h -> sys/socket.h typo. diff --git a/gdb/gcore.h b/gdb/gcore.h index 9b85e46b601..64bfe128ef8 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); |