aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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.
2011-05-18*** empty log message ***gdbadmin1-1/+1
2011-05-18daily updateAlan Modra1-1/+1
2011-05-17 * cp-valprint.c (cp_print_value_fields): Catch errors fromTom Tromey2-3/+18
value_static_field.
2011-05-17 * dwarf2read.c (dwarf2_get_die_type): CallTom Tromey3-15/+10
get_die_type_at_offset. * dwarf2expr.c (dwarf_get_base_type): Handle NULL return from get_base_type function.
2011-05-17 * po/fi.po: New Finnish translation.Nick Clifton3-8065/+26633
* po/fr.po: Updated French translation.
2011-05-17 * config/tc-m32r.c (md_show_usage): Fix typos in descriptions.Nick Clifton5-10/+17
* config/tc-mt.c (md_assemble): Fix typos in warning messages. * cond.c (s_else): Fix typos in error messages. * config/tc-pj.c (md_assemble): Fix typo in error message.
2011-05-17 * strsignal.c (psignal): Change second parameter to const char *.Corinna Vinschen2-2/+7
Fix comment accordingly.
2011-05-17 PR ld/12759Nick Clifton4-20/+61
* emultempl/rxelf.em (ignore_lma): New variable. (rx_elf_create_output_section_statements): Pass the setiing of ignore_lma to bfd_elf32_rx_set_target_flags. (OPTION_IGNORE_LMA): Define. (OPTION_NO_IGNORE_LMA): Define. (PARSE_AND_LIST_LONGOPTS): Add ignore lma. (PARSE_AND_LIST_OPTIONS): Add ignore lma. (PARSE_AND_LIST_ARGS_CASES): Add ignore lma. * elf32-rx.c (ignore_lma): New variable. (bfd_elf32_rx_set_target_flags): Add ignore_lma parameter. (rx_modify_program_headers): Only copy the LMA into the VMA if ignore_lma is true.
2011-05-172011-05-17 Pedro Alves <pedro@codesourcery.com>Pedro Alves2-8/+34
gdb/doc/ * gdb.texinfo (Remote Protocol) <Overview>: Mention vCont is required for multi-threading support. (Remote Protocol) <Packets>: Mention that 'c', 's', 'C', 'S' and Hc are deprecated for multi-threading debugging. Point readers at the vCont packet.
2011-05-17 PR ld/12760Alan Modra9-15/+70
include/ * bfdlink.h (struct bfd_link_callbacks <notice>): Add "flags" and "string" param. bfd/ * coff-aux.c (coff_m68k_aux_link_add_one_symbol): Adjust "notice" call. * elflink.c (elf_link_add_object_symbols): Likewise. * linker.c (_bfd_generic_link_add_one_symbol): Likewise. ld/ * ldmain.c (notice): Add "flags" and "string" param. * plugin.c (plugin_notice): Likewise. Handle indirect, warning and constructor syms.
2011-05-172011-05-17 Tomas Martinec <fyzmat@gmail.com>Pedro Alves2-0/+7
gdb/ * infrun.c (handle_inferior_event) <handling deferred step>: Clear trap_expected.
2011-05-17*** empty log message ***gdbadmin1-1/+1
2011-05-17daily updateAlan Modra1-1/+1
2011-05-16 * options.h (class General_options): Make -i a synonym for -r.Ian Lance Taylor2-3/+6
2011-05-16 * testsuite/tls_test_main.cc: Use semaphores instead of mutexes.Ian Lance Taylor2-39/+41
2011-05-16sim: tests: support .S/.c filesMike Frysinger2-9/+47
Rather than requiring all sim tests to be preprocessed .s files, add support for .S and .c files so we can easily write code using a higher level language like C. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-05-16 * python/py-auto-load.c (source_section_scripts): Mention objfileDoug Evans2-2/+8
name in warning.
2011-05-162011-05-16 Adrian Cornish <gnu@bluedreamer.com>Tom Tromey2-1/+6
* linux-i386-ipa.c (supply_static_tracepoint_registers): Pass __FILE__ and __LINE__ to internal_error.
2011-05-162011-05-16 Pedro Alves <pedro@codesourcery.com>Pedro Alves19-47/+78
gdb/testsuite/ * gdb.ada/start.exp: Call untested with the correct test filename. * gdb.arch/i386-bp_permanent.exp: Call untested with the correct test filename. Make the test's binary unique. * gdb.arch/i386-signal.exp: Call untested with the correct test filename. * gdb.arch/i386-size-overlap.exp: Ditto. * gdb.arch/Makefile.in (EXECUTABLES): Update. * gdb.base/gcore-buffer-overflow.exp: Ditto. * gdb.cp/call-c.exp: Ditto. * gdb.mi/mi-reverse.exp: Call untested with the correct test filename. Make the test's binary unique. * gdb.mi/Makefile.in (EXECUTABLES): Update. * gdb.python/py-mi.exp: Ditto. * gdb.python/Makefile.in (EXECUTABLES): Update. * gdb.reverse/i386-precsave.exp: Ditto. * gdb.reverse/i387-env-reverse.exp: Call untested with the correct test filename. * gdb.reverse/i387-stack-reverse.exp: Ditto. * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary unique. * gdb.reverse/sigall-reverse.exp: Call untested with the correct test filename. * gdb.reverse/Makefile.in (EXECUTABLES): Update. * gdb.trace/tfile.exp: Ditto.
2011-05-16Replace --private with --private-headers for objdump.H.J. Lu3-2/+8
2011-05-16 H.J. Lu <hongjiu.lu@intel.com> * ld-scripts/phdrs.exp: Replace --private with --private-headers for objdump. * ld-scripts/phdrs2.exp: Likewise.
2011-05-16Missing entry.Tristan Gingold1-0/+25
2011-05-15 Tristan Gingold <gingold@adacore.com> * od-xcoff.c: New file. * objdump.h: New file. * objdump.c: Include objdump.h (dump_private_options, objdump_private_vectors): New variables. (usage): Mention -P/--private. Display handled options. (long_options): Add -P/--private. (dump_target_specific): New function. (dump_bfd): Handle dump_private_options. (main): Handle -P. * doc/binutils.texi (objdump): Document -P/--private. * configure.in (OBJDUMP_PRIVATE_VECTORS, OBJDUMP_PRIVATE_OFILES): New variables, compute them. (od_vectors): Add vectors for private dumpers. Make them uniq. (OBJDUMP_DEFS): Add OBJDUMP_PRIVATE_VECTORS. * Makefile.am (HFILES): Add objdump.h (CFILES): Add od-xcoff.c (OBJDUMP_PRIVATE_OFILES): New variable. (objdump_DEPENDENCIES): Append OBJDUMP_PRIVATE_OFILES. (objdump_LDADD): Ditto. (EXTRA_objdump_SOURCES): Define. * Makefile.in: Regenerate. * configure: Regenerate.
2011-05-162011-05-16 Tristan Gingold <gingold@adacore.com>Tristan Gingold8-13/+1928
* od-xcoff.c: New file. * objdump.h: New file. * objdump.c: Include objdump.h (dump_private_options, objdump_private_vectors): New variables. (usage): Mention -P/--private. Display handled options. (long_options): Add -P/--private. (dump_target_specific): New function. (dump_bfd): Handle dump_private_options. (main): Handle -P. * doc/binutils.texi (objdump): Document -P/--private. * configure.in (OBJDUMP_PRIVATE_VECTORS, OBJDUMP_PRIVATE_OFILES): New variables, compute them. (od_vectors): Add vectors for private dumpers. Make them uniq. (OBJDUMP_DEFS): Add OBJDUMP_PRIVATE_VECTORS. * Makefile.am (HFILES): Add objdump.h (CFILES): Add od-xcoff.c (OBJDUMP_PRIVATE_OFILES): New variable. (objdump_DEPENDENCIES): Append OBJDUMP_PRIVATE_OFILES. (objdump_LDADD): Ditto. (EXTRA_objdump_SOURCES): Define. * Makefile.in: Regenerate. * configure: Regenerate.
2011-05-16 * ldlang.c (print_assignment): Use the symbol's section if weNathan Sidwell3-4/+30
use its value. * ldexp.c (exp_fold_tree_1): Skip self-assignment. Expand comment on copying symbol type.
2011-05-16 * gas/cris/rd-brokw-pic-1.d, gas/cris/rd-brokw-pic-2.d,Hans-Peter Nilsson6-0/+22
gas/cris/rd-fragtest-pic.d: Gate on targets cris-*-*elf* and cris-*-linux-gnu. * gas/cris/pic-err-2.s, gas/cris/pic-err-3.s: New tests.
2011-05-16 * config/tc-cris.c (md_parse_option) <OPTION_PIC>: Error if notHans-Peter Nilsson3-1/+15
emitting ELF object. (md_show_usage): Only mention --pic if the assembler can generate ELF objects. * doc/c-cris.texi (CRIS-Opt): Mention that generating ELF is a prerequisite for --pic being a valid option.
2011-05-16 * linux-thread-db.c (try_thread_db_load_from_pdir_1): New function.Doug Evans2-22/+46
(try_thread_db_load_from_pdir): Call it. If unable to find libthread_db in directory of libpthread, see if we're looking at the separate-debug-info copy.
2011-05-16 PR ld/12760Alan Modra2-3/+14
* plugin.c (plugin_notice): Set u.undef.abfd for symbols made undefweak.
2011-05-16 * ldlang.c (lang_leave_output_section_statement): Don't copyAlan Modra2-2/+9
previous lma_region if given address.
2011-05-16*** empty log message ***gdbadmin1-1/+1
2011-05-16daily updateAlan Modra1-1/+1
2011-05-15include/Alan Modra4-3/+9
* bfdlink.h (struct bfd_link_hash_entry): Remove u.undef.weak field. bfd/ * linker.c (_bfd_generic_link_add_one_symbol): Don't init u.undef.weak.
2011-05-15bfd/Richard Sandiford7-21/+54
* elfxx-mips.c (_bfd_mips_elf_check_relocs): Record both local and global GOT entries for GOT_PAGE relocations against global symbols. ld/testsuite/ * lib/ld-lib.exp (run_ld_link_tests): Simplify pass/fail logic. Fail if the link command fails and if no test rules are defined. * ld-mips-elf/reloc-6a.s, ld-mips-elf/reloc-6b.s: New tests. * ld-mips-elf/mips-elf.exp: Run them.
2011-05-15 * python/py-autoload.c (print_script): Print "Missing" instead ofDoug Evans4-6/+27
"No" for missing scripts. (info_auto_load_scripts): Tweak "Loaded" column to fit "Missing". doc/ * gdb.texinfo (Auto-loading): Document printing of missing scripts.
2011-05-15*** empty log message ***gdbadmin1-1/+1
2011-05-15daily updateAlan Modra1-1/+1
2011-05-14sim: bfin: allow pushing of SPMike Frysinger2-2/+6
The hardware respects this insn, and some code (like the on-chip bootrom) uses it, so allow it. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-05-14sim: bfin: implement loop back support in the UARTsMike Frysinger4-23/+62
The UART has a LOOP_ENA bit in its MCR register where writes to the THR go to the RBR. Implement support for this mode. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-05-142011-05-14 Yao Qi <yao@codesourcery.com>Yao Qi2-4/+9
* gdb.trace/tfile.c(add_memory_block): Store address in unsigned type.
2011-05-14 * ui-file.c (stdio_file_write_async_safe): Add comment.Doug Evans2-0/+7
2011-05-142011-05-14 Hui Zhu <teawater@gmail.com>Hui Zhu2-1/+6
* ui-file.c (stdio_file_write_async_safe): Add empty check for build.
2011-05-14 * gas/all/gas.exp: Fix typo last change.Alan Modra2-1/+5
2011-05-14*** empty log message ***gdbadmin1-1/+1
2011-05-14daily updateAlan Modra1-1/+1
2011-05-13 Support $pdir and $sdir in libthread-db-search-path.Doug Evans8-104/+256
* NEWS: Mention $sdir,$pdir. * gdb_thread_db.h (LIBTHREAD_DB_SEARCH_PATH): Add $sdir:$pdir. * linux-thread-db.c (try_thread_db_load_from_pdir): New function. (try_thread_db_load_from_sdir): New function. (try_thread_db_load_from_dir): New function. (thread_db_load_search): Handle $pdir, $sdir. Remove trying of system directories if search of libthread-db-search-path fails, that is now done via $sdir. (has_libpthread): New function. (thread_db_load): Remove search for libthread_db in directory of libpthread, that is now done via $pdir. gdbserver/ * thread-db.c (try_thread_db_load_from_sdir): New function. (try_thread_db_load_from_dir): New function. (thread_db_load_search): Handle $sdir, ignore $pdir. Remove trying of system directories if search of libthread-db-search-path fails, that is now done via $sdir. doc/ * gdb.texinfo (Threads): Document $sdir,$pdir. (Server): Document $pdir exception.
2011-05-13 * NEWS: Mention "info auto-load-scripts".Doug Evans10-72/+420
* python/py-auto-load.c (struct auto_load_pspace_info): New member script_not_found_warning_printed. (init_loaded_scripts_info): Renamed from create_loaded_scripts_hash, all callers updated. Initialize script_not_found_warning_printed. (get_auto_load_pspace_data_for_loading): New function. (maybe_add_script): New function. (source_section_scripts): Simplify. Only print one warning regardless of the number of auto-load scripts not found. (clear_section_scripts): Clear script_not_found_warning_printed. (auto_load_objfile_script): Record script in hash table. (count_matching_scripts): New function. (maybe_print_script): Renamed from maybe_print_section_script, all callers updated. Rewrite to use ui_out_*. (info_auto_load_scripts): Renamed from maintenance_print_section_scripts, all callers updated. (gdbpy_initialize_auto_load): "maintenance print section-scripts" renamed as "info auto-load-scripts". doc/ * gdb.texinfo (Auto-loading): Document "info auto-load-scripts". testsuite/ * gdb.python/py-objfile-script.exp: New file. * gdb.python/py-objfile-script.c: New file. * gdb.python/py-objfile-script-gdb.py: New file. * testsuite/gdb.python/py-section-script.exp: Test "info auto-load-scripts".
2011-05-13fix >80 cols in earlier entryDoug Evans2-2/+4
2011-05-13fix >80 column entry in earlier entryDoug Evans1-1/+2