aboutsummaryrefslogtreecommitdiff
path: root/gdb/elfread.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2011-08-09 12:51:47 +0000
committerPedro Alves <palves@redhat.com>2011-08-09 12:51:47 +0000
commit7f86f0587f4dedecb5dffdbe6484cd25eb9a6966 (patch)
treef75afdc5affc47982cc16ceefa9e807cf25ef8a1 /gdb/elfread.c
parent5e239b84ac58a9edfc0d942ef751a78aac4c007b (diff)
downloadgdb-7f86f0587f4dedecb5dffdbe6484cd25eb9a6966.zip
gdb-7f86f0587f4dedecb5dffdbe6484cd25eb9a6966.tar.gz
gdb-7f86f0587f4dedecb5dffdbe6484cd25eb9a6966.tar.bz2
2011-08-09 Pedro Alves <pedro@codesourcery.com>
gdb/ * elfread.c (elf_symtab_read): Ditto. * maint.c (maintenance_command): Ditto. * somread.c (som_symtab_read): Ditto. * solib.c (solib_find, solib_map_sections, update_solib_list) (solib_add, info_sharedlibrary_command, solib_name_from_address) (solib_create_inferior_hook, in_solib_dynsym_resolve_code) (sharedlibrary_command, no_shared_libraries): Rework comments. * solib-irix.c (locate_base, disable_break, enable_break) (irix_solib_create_inferior_hook, irix_solib_create_inferior_hook) (irix_current_sos, irix_open_symbol_file_object) (irix_special_symbol_handling): Ditto. * solib-sunos.c (locate_base, first_link_map_member) (sunos_current_sos, disable_break, enable_break) (sunos_special_symbol_handling, sunos_solib_create_inferior_hook): Ditto. * solib-svr4.c (bfd_lookup_symbol, elf_locate_base, locate_base) (open_symbol_file_object, svr4_current_sos, enable_break) (svr4_special_symbol_handling, svr4_solib_create_inferior_hook): Ditto. * solib-frv.c (bfd_lookup_symbol, open_symbol_file_object) (frv_current_sos, enable_break, frv_special_symbol_handling) (frv_solib_create_inferior_hook): Ditto. * solist.h (struct target_so_ops): Extend the comments of the special_symbol_handling, current_sos and open_symbol_file_object methods.
Diffstat (limited to 'gdb/elfread.c')
-rw-r--r--gdb/elfread.c17
1 files changed, 2 insertions, 15 deletions
diff --git a/gdb/elfread.c b/gdb/elfread.c
index 998a96e..a309a2c 100644
--- a/gdb/elfread.c
+++ b/gdb/elfread.c
@@ -206,18 +206,7 @@ record_minimal_symbol (const char *name, int name_len, int copy_name,
bfd_section, objfile);
}
-/*
-
- LOCAL FUNCTION
-
- elf_symtab_read -- read the symbol table of an ELF file
-
- SYNOPSIS
-
- void elf_symtab_read (struct objfile *objfile, int type,
- long number_of_symbols, asymbol **symbol_table)
-
- DESCRIPTION
+/* Read the symbol table of an ELF file.
Given an objfile, a symbol table, and a flag indicating whether the
symbol table contains regular, dynamic, or synthetic symbols, add all
@@ -227,9 +216,7 @@ record_minimal_symbol (const char *name, int name_len, int copy_name,
defined in the ELF symbol table, which can be used to locate
the beginnings of sections from each ".o" file that was linked to
form the executable objfile. We gather any such info and record it
- in data structures hung off the objfile's private data.
-
- */
+ in data structures hung off the objfile's private data. */
#define ST_REGULAR 0
#define ST_DYNAMIC 1