diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-11-06 02:52:28 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-11-06 02:52:28 +0000 |
commit | 7be0c536371055e9b15403d88f6149bbd656df37 (patch) | |
tree | 8fc23efc4b7690903d4882a3371fe211c1eab07b /gdb/elfread.c | |
parent | 2003-11-05 Michael Chastain <mec@shout.net> (diff) | |
download | binutils-gdb-7be0c536371055e9b15403d88f6149bbd656df37.tar.gz binutils-gdb-7be0c536371055e9b15403d88f6149bbd656df37.tar.bz2 binutils-gdb-7be0c536371055e9b15403d88f6149bbd656df37.zip |
2003-11-05 Andrew Cagney <cagney@redhat.com>
* xcoffread.c (find_linenos): Replace "sec_ptr" and "bfd" with
"struct bfd_section" and "struct bfd".
* target.h (struct section_table): Ditto.
* rs6000-nat.c (xcoff_relocate_core): Ditto.
* solib-svr4.c (elf_locate_base): Ditto.
* pa64solib.c (dld_cache_t): Ditto.
* objfiles.h (struct obj_section): Ditto.
* objfiles.c (add_to_objfile_sections): Ditto.
* exec.c (bfdsec_to_vmap): Ditto.
(add_to_section_table): Ditto.
(build_section_table): Ditto.
* corelow.c (get_core_register_section): Ditto.
* coffread.c (find_linenos): Ditto.
* elfread.c (elf_interpreter): Delete #if0'd function.
* mips-tdep.c (mips_dump_tdep): Delete code prinint VX_NUM_REGS.
* config/sparc/tm-vxsparc.h (VX_NUM_REGS): Delete macro.
* config/mips/tm-vxmips.h (VX_NUM_REGS): Delete macro.
* config/m68k/tm-vx68.h (VX_NUM_REGS): Delete macro.
* arch-utils.h (generic_cannot_extract_struct_value_address):
Delete declaration.
* wince.c (_initialize_wince): Fix multi-line string.
* ia64-tdep.c (floatformat_valid): Convert to ISO C.
Diffstat (limited to 'gdb/elfread.c')
-rw-r--r-- | gdb/elfread.c | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/gdb/elfread.c b/gdb/elfread.c index 9ac30aeeb9f..75384a5020c 100644 --- a/gdb/elfread.c +++ b/gdb/elfread.c @@ -104,35 +104,6 @@ elf_locate_sections (bfd *ignore_abfd, asection *sectp, void *eip) } } -#if 0 /* Currently unused */ - -char * -elf_interpreter (bfd *abfd) -{ - sec_ptr interp_sec; - unsigned size; - char *interp = NULL; - - interp_sec = bfd_get_section_by_name (abfd, ".interp"); - if (interp_sec) - { - size = bfd_section_size (abfd, interp_sec); - interp = alloca (size); - if (bfd_get_section_contents (abfd, interp_sec, interp, (file_ptr) 0, - size)) - { - interp = savestring (interp, size - 1); - } - else - { - interp = NULL; - } - } - return (interp); -} - -#endif - static struct minimal_symbol * record_minimal_symbol_and_info (char *name, CORE_ADDR address, enum minimal_symbol_type ms_type, char *info, /* FIXME, is this really char *? */ |