diff options
author | Tom Tromey <tromey@redhat.com> | 2013-03-21 16:18:48 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2013-03-21 16:18:48 +0000 |
commit | d76488d84eb95326e157d8deca0f626914036667 (patch) | |
tree | 392adf35e3043814a077bf3b6fd3243d0632e6c9 /gdb/ChangeLog | |
parent | a72e5169d65104858d32f9090406a072b0fbf5fd (diff) | |
download | gdb-d76488d84eb95326e157d8deca0f626914036667.zip gdb-d76488d84eb95326e157d8deca0f626914036667.tar.gz gdb-d76488d84eb95326e157d8deca0f626914036667.tar.bz2 |
* symfile.c (alloc_section_addr_info): Update header. Don't set
'num_sections' field.
(build_section_addr_info_from_section_table): Set 'num_sections'.
(build_section_addr_info_from_bfd): Likewise.
(build_section_addr_info_from_objfile): Remove dead loop
condition.
(free_section_addr_info): Unconditionally call xfree.
(relative_addr_info_to_section_offsets, addrs_section_sort)
(addr_info_make_relative, syms_from_objfile_1): Remove dead loop
condition.
(syms_from_objfile_1): Remove dead 'if' condition. Check
'num_sections'.
(add_symbol_file_command): Set 'num_sections'.
* symfile-mem.c (symbol_file_add_from_memory): Set
'num_sections'.
* somread.c (som_symfile_offsets): Remove dead loop condition.
* machoread.c (macho_symfile_offsets): Remove dead 'if'.
* jit.c (jit_bfd_try_read_symtab): Set 'num_sections'.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b9a6df6..ee3f8c4 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,26 @@ 2013-03-21 Tom Tromey <tromey@redhat.com> + * symfile.c (alloc_section_addr_info): Update header. Don't set + 'num_sections' field. + (build_section_addr_info_from_section_table): Set 'num_sections'. + (build_section_addr_info_from_bfd): Likewise. + (build_section_addr_info_from_objfile): Remove dead loop + condition. + (free_section_addr_info): Unconditionally call xfree. + (relative_addr_info_to_section_offsets, addrs_section_sort) + (addr_info_make_relative, syms_from_objfile_1): Remove dead loop + condition. + (syms_from_objfile_1): Remove dead 'if' condition. Check + 'num_sections'. + (add_symbol_file_command): Set 'num_sections'. + * symfile-mem.c (symbol_file_add_from_memory): Set + 'num_sections'. + * somread.c (som_symfile_offsets): Remove dead loop condition. + * machoread.c (macho_symfile_offsets): Remove dead 'if'. + * jit.c (jit_bfd_try_read_symtab): Set 'num_sections'. + +2013-03-21 Tom Tromey <tromey@redhat.com> + * tracepoint.h (decode_agent_options): Add 'trace_string' argument. * tracepoint.c (decode_agent_options): Add 'trace_string' |