public inbox for
help / color / mirror / Atom feed
* [SCM]  tromey/remove-obj_section: reverse-20080717-branchpoint-13980-gffd8ebb
@ 2013-02-26 18:04 tromey
  0 siblings, 0 replies; only message in thread
From: tromey @ 2013-02-26 18:04 UTC (permalink / raw)
  To: archer-commits

The branch, tromey/remove-obj_section has been created
        at  ffd8ebb1d97635e16fa5b7b714883179148cf6f5 (commit)

- Log -----------------------------------------------------------------
commit ffd8ebb1d97635e16fa5b7b714883179148cf6f5
Author: Tom Tromey <>
Date:   Fri Feb 22 12:39:24 2013 -0700

    add README.archer

commit b0cd83ac9404b160ff687d5d51b707f399b8217a
Author: Tom Tromey <>
Date:   Tue Jan 15 14:39:17 2013 -0700

    add a couple of debugging tweaks
    first, have "maint info sections" show the section index.
    Second, have "maint print msymbols" avoid a crash and
    show the "spurious section" case explicitly.
    	* maint.c (print_bfd_section_info): Print the section index.
    	* symmisc.c (dump_msymbols): Print the section index.

commit 6b13ddff1832921a0e5f0e29c95cac14fac09131
Author: Tom Tromey <>
Date:   Wed Jan 30 14:07:54 2013 -0700

    remove obj_section from symbols
    note fixup_section change
    note stabsread change
    	PR symtab/8424:
    	* blockframe.c (find_pc_partial_function_gnu_ifunc): Check
    	* breakpoint.c (resolve_sal_pc): Update.
    	* elfread.c (elf_gnu_ifunc_record_cache): Update.
    	* findvar.c (struct minsym_lookup_data) <objfile>: New field.
    	(minsym_lookup_iterator_cb): Use it.
    	(default_read_var_value): Update.
    	* hppa-hpux-tdep.c (hppa64_hpux_in_solib_call_trampoline):
    	* infcmd.c (jump_command): Update.
    	* linespec.c (minsym_found): Update.
    	* maint.c (maintenance_translate_address): Update.
    	* minsyms.c (lookup_minimal_symbol_by_pc_section_1): Update.
    	(prim_record_minimal_symbol_full): Don't set SYMBOL_OBJ_SECTION.
    	* parse.c (write_exp_msymbol): Update.
    	* printcmd.c (address_info): Update.
    	* psymtab.c (find_pc_sect_psymbol): Update.
    	(fixup_psymbol_section): Check SYMBOL_SECTION, not
    	(add_psymbol_to_bcache): Correctly initialize SYMBOL_SECTION.
    	Don't initialize SYMBOL_OBJ_SECTION.
    	* spu-tdep.c (spu_catch_start): Update.
    	* stabsread.c (define_symbol): Don't set SYMBOL_SECTION.
    	* symmisc.c (dump_msymbols, print_symbol): Update.
    	* symtab.c (fixup_section): Don't set 'obj_section'.  Change
    	how fallback section is computed.
    	(fixup_symbol_section): Update.
    	(find_pc_sect_symtab, find_function_start_sal, skip_prologue_sal):
    	(allocate_symbol, initialize_symbol, allocate_template_symbol):
    	Initialize SYMBOL_SECTION.
    	* symtab.h (struct general_symbol_info) <section>: Update comment.
    	<obj_section>: Remove.
    	(SYMBOL_OBJ_SECTION): Add 'objfile' argument.  Rewrite.
    	(SYMBOL_OBJFILE): New macro.

commit 28e67b5650873de15255e9db0532a2a6b468c1c0
Author: Tom Tromey <>
Date:   Thu Dec 13 14:04:30 2012 -0700

    remove the bfd_section argument from minsym creation
    	* coffread.c (record_minimal_symbol): Update.
    	* dbxread.c (record_minimal_symbol): Update.
    	* elfread.c (record_minimal_symbol): Update.
    	* machoread.c (macho_symtab_add_minsym): Update.
    	* mdebugread.c (record_minimal_symbol, parse_partial_symbols):
    	* minsyms.c (prim_record_minimal_symbol): Update.
    	(prim_record_minimal_symbol_full): Remove 'bfd_section'
    	(prim_record_minimal_symbol_and_info): Likewise.
    	* minsyms.h (prim_record_minimal_symbol_full)
    	(prim_record_minimal_symbol_and_info): Update.
    	* symtab.c (allocate_symbol, initialize_symbol)
    	(allocate_template_symbol): Initialize SYMBOL_SECTION.
    	* xcoffread.c (record_minimal_symbol, scan_xcoff_symtab):

commit d386cc9d814a49697946c655b556276b12aba6a0
Author: Tom Tromey <>
Date:   Tue Jan 29 13:26:44 2013 -0700

    add an assertion proving that obj_section is redundant

commit 3d22dc9516f74464eb5171f52904b41ba8e074a7
Author: Tom Tromey <>
Date:   Fri Dec 14 11:41:45 2012 -0700

    big somread fixup
    	* som.c (bfd_section_from_som_symbol): No longer static.
    	* som.h (bfd_section_from_som_symbol): Declare.
    	PR symtab/8423:
    	* solib-som.c (som_solib_section_offsets): Use BFD section
    	indices.  Set offsets for all sections.
    	* somread.c (som_symtab_read): Compute BFD section for
    	symbol.  Use prim_record_minimal_symbol_and_info.
    	(som_symfile_read): Fix comment.
    	(struct find_section_offset_arg): New.
    	(find_section_offset, set_section_index): New functions.
    	(som_symfile_offsets): Use set_section_index to compute
    	section indices.

commit 2ab0592b21e3dd1d0bef16835a4b8e9800311ed4
Author: Tom Tromey <>
Date:   Tue Jan 29 12:38:11 2013 -0700

    use a synthetic BFD section index when needed
    BFD may report a symbol belonging to one of the special "std"
    sections, like bfd_com_section_ptr.  These sections have section index
    0 and are not associated with a particular BFD.
    This patch introduces a new synthetic section index managed by gdb,
    then updates various users to use it instead.
    	* coffread.c (cs_to_section): Use gdb_bfd_section_index.
    	* elfread.c (record_minimal_symbol, elf_symtab_read): Use
    	* gdb_bfd.c (gdb_bfd_section_index, gdb_bfd_count_sections):
    	New functions.
    	* gdb_bfd.h (gdb_bfd_section_index, gdb_bfd_count_sections):
    	* machoread.c (macho_symtab_add_minsym, macho_symfile_offsets):
    	* objfiles.c (add_to_objfile_sections_full): New function.
    	(add_to_objfile_sections): Use it.
    	(build_section_table): Rewrite.
    	(objfile_relocate1): Use gdb_bfd_section_index.  Update.
    	* objfiles.h (obj_section_offset): Use gdb_bfd_section_index.
    	(struct objfile) <sections>: Update comment.
    	(ALL_OBJFILE_OSECTIONS): Skip sections where the_bfd_section
    	is NULL.
    	(ALL_OBJSECTIONS): Use it.
    	* solib-dsbt.c (dsbt_relocate_main_executable): Update.
    	* solib-frv.c (frv_relocate_main_executable): Update.
    	* solib-target.c (solib_target_relocate_section_addresses):
    	Use gdb_bfd_section_index.
    	* symfile.c (build_section_addr_info_from_section_table):
    	Use gdb_bfd_section_index.
    	(build_section_addr_info_from_bfd, place_section): Likewise.
    	* symtab.c (fixup_section): Update.
    	* xcoffread.c (find_targ_sec): Use gdb_bfd_section_index.

commit 0c786437812d9b584e6a7079e390196f84237b24
Author: Tom Tromey <>
Date:   Tue Dec 11 09:41:55 2012 -0700

    an initial conversion to bound minsyms
    	* minsyms.h (struct bound_minimal_symbol): New.
    	(lookup_minimal_symbol_and_objfile): Return bound_minimal_symbol.
    	Remove objfile argument.
    	(lookup_minimal_symbol_by_pc_section, lookup_minimal_symbol_by_pc):
    	Return bound_minimal_symbol.
    	* minsyms.c (lookup_minimal_symbol_by_pc_1)
    	(lookup_minimal_symbol_by_pc_section, lookup_minimal_symbol_by_pc):
    	Return bound_minimal_symbol.
    	(in_gnu_ifunc_stub): Update.
    	(lookup_minimal_symbol_and_objfile): Return bound_minimal_symbol.
    	Remove 'objfile_p' argument.
    	(lookup_solib_trampoline_symbol_by_pc): Update.
    	* ada-tasks.c, amd64-windows-tdep.c, arm-tdep.c,
    	arm-wince-tdep.c, block.c, blockframe.c, breakpoint.c,
    	c-valprint.c, dwarf2loc.c, elfread.c, frame.c, frv-tdep.c,
    	glibc-tdep.c, gnu-v2-abi.c, gnu-v3-abi.c, hppa-hpux-tdep.c,
    	i386-tdep.c, ia64-tdep.c, infcall.c, infcmd.c, jit.c,
    	linux-fork.c, m32c-tdep.c, m68hc11-tdep.c, maint.c,
    	mips-tdep.c, p-valprint.c, parse.c, ppc-linux-tdep.c,
    	ppc-sysv-tdep.c, printcmd.c, rs6000-tdep.c, sh64-tdep.c,
    	stack.c, symtab.c, tui/tui-disasm.c: Update.

commit 6c2e5306929865d7137a2e6e417b4eaa334c8b2c
Author: Tom Tromey <>
Date:   Mon Dec 17 12:22:30 2012 -0700

    fix Ada symbol caching to avoid objfile link
    	* ada-lang.c (ada_decode_symbol): Check and set 'ada_mangled'.
    	Use symbol's obstack, not an objfile.
    	* coffread.c (process_coff_symbol): Update.
    	* dwarf2read.c (fixup_go_packaging, new_symbol_full): Update.
    	* jv-lang.c (add_class_symbol): Update.
    	* mdebugread.c (new_symbol): Update.
    	* minsyms.c (prim_record_minimal_symbol_full)
    	(terminate_minimal_symbol_table): Update.
    	* psymtab.c (add_psymbol_to_bcache): Clear entire symbol.  Update.
    	* stabsread.c (define_symbol, read_enum_type): Update.
    	* symtab.c (symbol_set_demangled_name, symbol_get_demangled_name):
    	Handle Ada specially.
    	(symbol_set_language): Add 'obstack' argument.
    	(symbol_set_names): Update.
    	(symbol_natural_name, symbol_demangled_name): Always use
    	* symtab.h (struct general_symbol_info)
    	<language_specific::obstack>: New field.
    	<ada_mangled>: New field.
    	(SYMBOL_SET_LANGUAGE): Add 'obstack' argument.
    	(symbol_set_language): Update.

commit 072c32c971bd6ec7beefc25816a72658cc774f24
Author: Tom Tromey <>
Date:   Mon Dec 17 11:55:20 2012 -0700

    make symbol_set_demangled_name take an obstack
    	* symtab.c (symbol_init_cplus_specific, symbol_set_demangled_name):
    	Take an obstack, not an objfile.
    	(symbol_set_names): Update.
    	* symtab.h (symbol_set_demangled_name): Update.

commit 7299ccd6d76cb3432c40a75bf0f9f098832ef32e
Author: Tom Tromey <>
Date:   Wed Dec 12 11:34:21 2012 -0700

    move symbol allocation to a new function
    	* coffread.c (process_coff_symbol, coff_read_enum_type): Call
    	* dwarf2read.c (fixup_go_packaging): Call allocate_symbol.
    	(read_func_scope): Call allocate_template_symbol.
    	(new_symbol_full): Call allocate_symbol.
    	* jit.c (finalize_symtab): Call allocate_symbol.
    	* jv-lang.c (add_class_symbol): Call allocate_symbol.
    	* mdebugread.c (parse_symbol, new_block): Call allocate_symbol.
    	* stabsread.c (patch_block_stabs, define_symbol, read_enum_type)
    	(common_block_end): Call allocate_symbol.
    	* symtab.c (allocate_symbol, initialize_symbol)
    	(allocate_template_symbol): New functions.
    	* symtab.c (allocate_symbol, initialize_symbol)
    	(allocate_template_symbol): Declare.
    	* xcoffread.c (process_xcoff_symbol): Call initialize_symbol.


Repository for Project Archer.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-02-26 18:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-26 18:04 [SCM] tromey/remove-obj_section: reverse-20080717-branchpoint-13980-gffd8ebb tromey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).