aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-05-23 * elf-bfd.h: Comment typo fix.Alan Modra4-74/+41
* elf32-ppc.c (struct ppc_elf_dyn_relocs): Delete. Replace with struct elf_dyn_relocs throughout. * elf64-ppc.c (struct ppc_dyn_relocs): Likewise.
2011-05-23 * elf32-frv.c: Use info->callbacks->einfo throughout file in linkerAlan Modra4-213/+196
functions rather than warning callback or _bfd_error_handler. * elf32-ppc.c: Likewise. * elf64-ppc.c: Likewise. * elf32-ppc.c (ppc_elf_tls_optimize): Use %H in __tls_get_addr lost arg error. * elf64-ppc.c (ppc64_elf_tls_optimize): Likewise.
2011-05-23 * ldmisc.c (vfinfo): Add %H.Alan Modra3-8/+24
* ldmain.c (reloc_overflow): Use %H rather than %C. (reloc_dangerous, unattached_reloc): Likewise.
2011-05-23 PR 12763Alan Modra4-6/+39
bfd/ * elf.c (assign_file_positions_for_load_sections): Set sh_offset for .tbss, and page align same for all SHT_NOBITS sections. ld/ * ldlang.c (lang_output_section_find_by_flags): Match orphan .sdata2 like sections to existing .sdata2, and similarly for orphan TLS sections. * emultempl/elf32.em (place_orphan): Exclude .tbss from orphan_bss.
2011-05-23 PR 12763Alan Modra2-2/+7
* ld-elf/binutils.exp: Don't run tdata3 for hppa64.
2011-05-23*** empty log message ***gdbadmin1-1/+1
2011-05-23daily updateAlan Modra1-1/+1
2011-05-22daily updateAlan Modra1-1/+1
2011-05-22*** empty log message ***gdbadmin1-1/+1
2011-05-21* sparc-nat.c (sparc_fetch_inferior_registers): Explicitly supplyMark Kettenis4-3/+14
zero as the value for %g0 in the register cache. * sparc-tdep.c (sparc32_supply_gregset): Likewise. * sparc64-tdep.c (sparc64_supply_gregset): Likewise.
2011-05-21 * ld-cris/tls-e-tpoffcomm1.d: Adjust for PR12763 change removingHans-Peter Nilsson2-18/+21
empty program header.
2011-05-21daily updateAlan Modra1-1/+1
2011-05-21*** empty log message ***gdbadmin1-1/+1
2011-05-202011-05-20 Pedro Alves <pedro@codesourcery.com>Pedro Alves2-7/+12
* infrun.c (proceed): Set previous_inferior_ptid here. (init_wait_for_inferior): Initialize previous_inferior_ptid from inferior_ptid, not null_ptid. (wait_for_inferior): Don't initialize previous_inferior_ptid here. (fetch_inferior_event): Nor here.
2011-05-202011-05-20 Pedro Alves <pedro@codesourcery.com>Pedro Alves2-1/+7
gdb/ * inf-loop.c (inferior_event_handler): Only output a message if verbose.
2011-05-20 * MAINTAINERS: Update my e-mail address.Luis Machado2-1/+5
2011-05-202011-05-20 Pedro Alves <pedro@codesourcery.com>Pedro Alves2-4/+21
Cope with async mode. gdb/testsuite/ * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test into gdb_test + mi_expect_stop.
2011-05-202011-05-20 Pedro Alves <pedro@codesourcery.com>Pedro Alves2-4/+5
gdb/testsuite/ * gdb.mi/basics.c: Don't include stdio.h or unistd.h. (callme): Remove printf call.
2011-05-202011-05-20 Pedro Alves <pedro@codesourcery.com>Pedro Alves2-0/+8
* infrun.c (proceed): Switch the inferior event loop to INF_EXEC_COMPLETE if the target refused to resume from a vfork/fork.
2011-05-202011-05-20 Pedro Alves <pedro@codesourcery.com>Pedro Alves5-36/+73
gdb/ * infcmd.c: Include "inf-loop.h". (step_once): When stepping into an inline subroutine, pretend the target has run. If the target can async, switch the inferior event loop to INF_EXEC_COMPLETE. * inferior.h (user_visible_resume_ptid): Declare. * infrun.c (user_visible_resume_ptid): New function, factored out from `resume'. (resume): Use it. * mi/mi-main.c (mi_execute_async_cli_command): Remove assertion that the current thread is running. Merge async and sync branches.
2011-05-202011-05-20 Pedro Alves <pedro@codesourcery.com>Pedro Alves2-13/+15
gdb/ * infcmd.c (step_1): Simplify synchronous case.
2011-05-20 PR 12763Alan Modra4-27/+61
* ld-elf/tdata3.s: New test. * ld-elf/tbss3.s: New test. * ld-elf/binutils.exp: Consolidate tbss and tdata tests.
2011-05-20 PR 12763Alan Modra2-12/+35
* elf.c (_bfd_elf_make_section_from_shdr): Set up TLS section LMAs from PT_TLS header. (_bfd_elf_map_sections_to_segments): Don't create a final PT_LOAD segment if just for .tbss. (assign_file_positions_for_load_sections): Don't report "can't allocate in segment" errors for .tbss. (assign_file_positions_for_non_load_sections): Don't set p_filesz from SHT_NOBITS section filepos.
2011-05-202011-05-20 Pedro Alves <pedro@codesourcery.com>Pedro Alves2-40/+72
gdb/ * tracepoint.c: Include exceptions.h. (TFILE_PID): Move higher in file. (tfile_open): Delay pushing the tfile target until we're assured the tfile header is present in the file. Wrap reading the initial newline-terminated lines in TRY_CATCH. Pop the target if the initial setup failed. Add the tfile's thread immediately aftwards, before any non-essential setup. Don't skip post_create_inferior if there are no traceframes present in the file. (tfile_close): Remove redundant check for null before xfree call. (tfile_thread_alive): New function. (init_tfile_ops): Register it as to_thread_alive callback.
2011-05-202011-05-20 Pedro Alves <pedro@codesourcery.com>Pedro Alves2-5/+4
gdb/ * tracepoint.c (tfile_open): Delete #if 0'd code.
2011-05-20 * lib/gdb.exp (gdb_test_list_exact): Suggest use of doublePierre Muller3-4/+11
quote pattern to avoid problems with Cygwin/mingw expect versions. * gdb.base/default.exp (show convenience): Use double quote pattern for regular expressions.
2011-05-20 ld/testsuite/Bernd Schmidt15-136/+473
* ld-tic6x/pcr-reloc.d: New test. * ld-tic6x/pcr-reloc.s: New test. gas/testsuite/ * gas/tic6x/pcr-relocs.d: New test. * gas/tic6x/pcr-relocs.s: New test. * gas/tic6x/pcr-relocs-undef.d: New test. * gas/tic6x/pcr-relocs-undef.s: New test. * gas/tic6x/reloc-bad-2.s: Update for pcr_offset. * gas/tic6x/reloc-bad-2.l: Update for pcr_offset. bfd/ * elf32-tic6x.c (elf32_tic6x_howto_table): Add entries for R_C6000_PCR_H16 and R_C6000_PCR_L16. (elf32_tic6x_relocate_section): Handle them. gas/ * config/tc-tic6x.c (tic6x_operators): Add "pcr_offset". (tic6x_parse_name): Handle it. (tic6x_fix_new_exp): Handle O_pcr_offset. (tic6x_fix_adjustable): Return 0 for the new relocs. (md_apply_fix): Handle them. (tc_gen_reloc): Likewise. * config/tc-tic6x.h (tic6x_fix_info): Add a fix_subsy member.
2011-05-20gdb/Jan Kratochvil5-13/+161
Fix -readnow for -gdwarf-4 unused type units. * dwarf2read.c (struct signatured_type): Remove the field offset. (create_signatured_type_table_from_index): Remove its initialization. (create_debug_types_hash_table): Likewise. Initialize per_cu.offset instead. Add a complaint call. (process_psymtab_comp_unit): Change assignment to gdb_assert. (process_type_comp_unit, lookup_die_type, dump_die_shallow) (lookup_signatured_type_at_offset, read_signatured_type) (write_one_signatured_type): Update the field for per_cu. gdb/testsuite/ Fix -readnow for -gdwarf-4 unused type units. * gdb.dwarf2/dw4-sig-type-unused.S: New file. * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
2011-05-20*** empty log message ***gdbadmin1-1/+1
2011-05-20daily updateAlan Modra1-1/+1
2011-05-19 * python/py-inferior.c (python_inferior_exit): UseTom Tromey2-2/+8
target_gdbarch. (python_on_resume): Likewise.
2011-05-192011-05-19 Matt Rice <ratmice@gmail.com>Tom Tromey2-0/+6
* breakpoint.c (bpstat_do_actions_1): Call prevent_dont_repeat.
2011-05-192011-05-19 Hui Zhu <teawater@gmail.com>Hui Zhu2-0/+10
* tracepoint.c (tfile_trace_find): Return directly when num is -1.
2011-05-19 * v850-opc.c (cmpf.[sd]): Reverse the order of the reg1 and reg2Nick Clifton2-4/+9
operands.
2011-05-192011-05-19 Hui Zhu <teawater@gmail.com>Hui Zhu2-1/+5
* xcoffread.c (read_xcoff_symtab): Initialize fcn_aux_saved.
2011-05-19*** empty log message ***gdbadmin1-1/+1
2011-05-18 * dwarf2read.c (dwarf2_add_field): Constify.Tom Tromey5-5/+13
* value.c (value_static_field): Constify. * gdbtypes.h (struct main_type) <field.field_location.physname>: Now const. * ax-gdb.c (gen_static_field): Constify
2011-05-18gdb/Jan Kratochvil5-0/+87
* linux-nat.c (kill_callback): Use SIGKILL first. gdb/testsuite/ * gdb.base/kill-after-signal.c: New file. * gdb.base/kill-after-signal.exp: New file.
2011-05-18Remove one use of sprintf in ada-lang.c (print_it_exception)Joel Brobecker2-1/+5
This is just a minor cleanup of an ARI violation. As this affects code that is normally unreachable (you'd need a runtime where the unit providing the exception hook has been compiled without debugging information), I tested this manually by commenting out the code just above, thus forcing this part of the code to be exercised. gdb/ChangeLog: * ada-lang.c (print_it_exception): Avoid use of sprintf. Tested on x86_64-linux.
2011-05-18 PR binutils/12753Nick Clifton6-1/+55
* nm.c (filter_symbols): Treat unique symbols as global symbols. * doc/binutils.texi (nm): Mention that some lowercase letters actually indicate global symbols. * lib/utils-lib.exp (run_dump_test): Allow nm as a program. * binutils-all/nm.exp: Test running "nm -g" on an object file containing a unique symbol.
2011-05-18 * value.c (value_fn_field): Constify.Tom Tromey11-29/+58
* symtab.c (gdb_mangle_name): Constify. * stabsread.c (update_method_name_from_physname): Make 'physname' argument const. * p-typeprint.c (pascal_type_print_method_args): Make arguments const. Use explicit fputc_filtered loop. (pascal_type_print_base): Constify. * p-lang.h (pascal_type_print_method_args): Update. * linespec.c (add_matching_methods): Constify. (add_constructors): Likewise. * jv-typeprint.c (java_type_print_base): Constify. * gdbtypes.h (struct cplus_struct_type) <fn_fieldlist.fn_field.physname>: Now const. * dwarf2read.c (compute_delayed_physnames): Constify. (dwarf2_add_member_fn): Likewise. * c-typeprint.c (c_type_print_base): Constify. Use cleanups.
2011-05-18 * gas/arm/req.l: Updated expected warning message.Nick Clifton2-1/+5
2011-05-182011-05-18 Pedro Alves <pedro@codesourcery.com>Pedro Alves2-2/+17
gdb/ * infrun.c (resume): Mention which is the current thread, and its current PC in debug output. (prepare_to_proceed): Mention the thread switching in debug output.
2011-05-18 * linux-thread-db.c (try_thread_db_load_from_pdir_1): Fix absoluteTom Tromey2-31/+33
path check. Use xmalloc and cleanups. (try_thread_db_load_from_dir): Use xmalloc and cleanups.
2011-05-18 PR ld/12761Nick Clifton5-12/+45
* elflink.c (elf_link_add_object_symbols): Process .gnu.warning sections when building shared libraries. * lib/ld-lib.exp (run_cc_link_tests): Add an optional 8th parameter - an expected warning message from the linker. * ld-elf/shared.exp (build_tests): Expect a warning message when building the libbarw.so library. * ld-elf/shared.exp: Run library building tests even when not building a native toolchain.
2011-05-18 PR gas/12754Nick Clifton2-1/+7
* config/tc-tic30.c (ordinal_names): Allow translation of the ordinal names.
2011-05-18 PR ld/12778Nick Clifton2-2/+8
* elf32-arm.c (elf32_arm_gc_sweep_hook): Use the computed dynamic reloc pointer.
2011-05-18 * config/tc-arm.c (s_unreq): Reword warning message to make itNick Clifton5-5/+15
easier to translate. * config/tc-ia64.c (md_show_usage): Add note for translators. * configure.in (ALL_LINGUAS): Add "fi". * configure: Regenerate.
2011-05-182011-05-18 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-11/+27
* xcofflink.c (xcoff_link_add_symbols): Handle C_DWARF symbols. (xcoff_sweep): Always keep dwarf sections. (xcoff_link_input_bfd): Handle dwarf symbols and sections.
2011-05-18bfdTristan Gingold13-23/+392
2011-05-18 Tristan Gingold <gingold@adacore.com> * libxcoff.h (struct xcoff_dwsect_name): New type. (XCOFF_DWSECT_NBR_NAMES): New macro. (xcoff_dwsect_names): Declare. * coffcode.h (sec_to_styp_flags): Handle xcoff dwarf sections. (styp_to_sec_flags): Ditto. (coff_new_section_hook): Ditto. (coff_slurp_symbol_table): Handle C_DWARF and C_INFO. * coff-rs6000.c (xcoff_dwsect_name): New variable. gas 2011-05-18 Tristan Gingold <gingold@adacore.com> * config/tc-ppc.h (ppc_tc_sy): Reorder fields. Put size into an union with dw. (OBJ_COPY_SYMBOL_ATTRIBUTES): Adjust. (ppc_xcoff_end): Declare. (md_end): Define. * config/tc-ppc.c: Add includes for xcoff. (ppc_dwsect): New function. (md_pseudo_table): Add dwsect. (struct dw_subsection): New. (dw_sections): New. (ppc_change_debug_section): New function. (ppc_xcoff_end): Ditto. (ppc_function): Adjust for ppc_tc_sy. (ppc_symbol_new_hook): Ditto. (ppc_frob_symbol): Ditto. (ppc_frob_section): Do not set vma for debug sections. (ppc_fix_adjustable): Return true for debug sections. * config/obj-coff.c: Add includes for xcoff. (coff_frob_section): Handle dwarf section. gas/testsuite 2011-05-18 Tristan Gingold <gingold@adacore.com> * gas/ppc/xcoff-dwsect-1-32.d: New test. * gas/ppc/xcoff-dwsect-1-64.d: Ditto. * gas/ppc/xcoff-dwsect-1.s: New file. * gas/ppc/aix.exp (do_align_test): Add tests.