mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 20:28:28 +08:00
* elf.c (elf_find_function): Fail if not provided with a symbol
table.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2011-06-16 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
|
* elf.c (elf_find_function): Fail if not provided with a symbol
|
||||||
|
table.
|
||||||
|
|
||||||
2011-06-15 Ulrich Weigand <ulrich.weigand@linaro.org>
|
2011-06-15 Ulrich Weigand <ulrich.weigand@linaro.org>
|
||||||
|
|
||||||
* elf-bfd.h (elfcore_write_arm_vfp): Add prototype.
|
* elf-bfd.h (elfcore_write_arm_vfp): Add prototype.
|
||||||
|
@ -7391,6 +7391,9 @@ elf_find_function (bfd *abfd,
|
|||||||
enum { nothing_seen, symbol_seen, file_after_symbol_seen } state;
|
enum { nothing_seen, symbol_seen, file_after_symbol_seen } state;
|
||||||
const struct elf_backend_data *bed = get_elf_backend_data (abfd);
|
const struct elf_backend_data *bed = get_elf_backend_data (abfd);
|
||||||
|
|
||||||
|
if (symbols == NULL)
|
||||||
|
return FALSE;
|
||||||
|
|
||||||
filename = NULL;
|
filename = NULL;
|
||||||
func = NULL;
|
func = NULL;
|
||||||
file = NULL;
|
file = NULL;
|
||||||
|
Reference in New Issue
Block a user