aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-08-17daily updateAlan Modra1-1/+1
2009-08-17*** empty log message ***gdbadmin1-1/+1
2009-08-16 * opncls.c (bfd_close): Until BFD_IN_MEMORY has an iovec,Doug Evans2-5/+16
at least don't leak memory.
2009-08-16Sync config/ from GCC:Ralf Wildenhues7-18/+67
--- config/ChangeLog +++ config/ChangeLog @@ -19,6 +19,10 @@ * tls.m4 (GCC_CHECK_TLS): Also test TLS in a shared library when cross-compiling. +2009-06-25 Olivier Hainque <hainque@adacore.com> + + * config/mh-ppc-aix (BOOT_ADAFLAGS): Remove -mminimal-toc. + 2009-05-26 Rafael Avila de Espindola <espindola@google.com> * plugins.m4: New. @@ -39,6 +43,27 @@ "# no Tcl configs found". (SC_LOAD_TKCONFIG): Similarily for TK_BIN_DIR. +2009-04-09 Jakub Jelinek <jakub@redhat.com> + + * lead-dot.m4: Change copyright header to refer to version + 3 of the GNU General Public License and to point readers at the + COPYING3 file and the FSF's license web page. + * warnings.m4: Likewise. + +2009-02-11 Kai Tietz <kai.tietz@onevision.com> + + * mh-cygwin (LDFLAGS): Add linker option to increase stack limit + up to 8MB. + +2009-01-23 Jie Zhang <jie.zhang@analog.com> + + * tls.m4 (GCC_CHECK_EMUTLS): Define. + +2008-12-21 Andrew Pinski <pinskia@gmail.com> + + PR target/38300 + * unwind_ipinfo.m4: Darwin before 9 does not have _Unwind_GetIPInfo. + 2008-11-21 Kai Tietz <kai.tietz@onevision.com> Fix PR/25502
2009-08-16Sync include/ChangeLog-9103 from GCC to fix invalid UTF-8.Ralf Wildenhues1-1/+1
2009-08-16daily updateAlan Modra1-1/+1
2009-08-16*** empty log message ***gdbadmin1-1/+1
2009-08-15*** empty log message ***gdbadmin1-1/+1
2009-08-15daily updateAlan Modra1-1/+1
2009-08-14 * symfile.c (find_separate_debug_file): Remove double free ofDoug Evans2-1/+5
canon_name.
2009-08-142009-08-14 Pedro Alves <pedro@codesourcery.com>Pedro Alves7-50/+107
gdb/ * top.c (any_thread_of): Delete. (kill_or_detach): Use any_thread_of_process. * top.c (print_inferior_quit_action): New. (quit_confirm): Rewrite to print info about all inferiors. * target.c (dispose_inferior): New. (target_preopen): Use it. 2009-08-14 Pedro Alves <pedro@codesourcery.com> gdb/testsuite/ * gdb.threads/killed.exp, gdb.threads/manythreads.exp, gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
2009-08-14 * gold.h (FUNCTION_NAME): Define.Ian Lance Taylor2-1/+17
(gold_unreachable): Use FUNCTION_NAME.
2009-08-14* configure.in: Check for sys/select.h, termios.h, sys/socket.h,DJ Delorie6-1/+230
netinet/in.h, and netinet/tcp.h. * configure: Regenerate. * config.in: Add those headers. * main.c: Check for them. (setup_tcp_console): Disable if no networking. (main): Note missing networking or termios. * mem.c: Check for those headers. (stdin_ready): Disable if no termios. (m32c_sim_restore_console): Disable if no termios. (mem_get_byte): Disable console input if no termios.
2009-08-14* elf32-m32c.c (m32c_elf_relax_delete_bytes): Adjust symbol sizesDJ Delorie2-6/+30
if needed.
2009-08-14 * ui-file.h (ui_file_xstrdup): Mention that the length argumentPedro Alves19-41/+59
may be NULL. * ui-file.c (ui_file_xstrdup): Don't dereference LENGTH if it is NULL. * aix-thread.c (aix_thread_extra_thread_info): Pass NULL as length parameter to ui_file_xstrdup. * arm-tdep.c (_initialize_arm_tdep): Ditto. * infrun.c (print_target_wait_results): Ditto. * language.c (add_language): Ditto. * linespec.c (cplusplus_error): Ditto. * remote.c (escape_buffer): Ditto. * typeprint.c (type_to_string): Ditto. * utils.c (error_stream): Ditto. * varobj.c (value_get_print_value): Ditto. * xtensa-tdep.c (xtensa_verify_config): Replace `dummy' local with `length' local. Pass it to ui_file_xstrdup, and avoid an strlen call. * gdbarch.sh (verify_gdbarch): Ditto. * gdbarch.c: Regenerate. * cli/cli-setshow.c (do_setshow_command): Pass NULL as length parameter to ui_file_xstrdup. * python/python-frame.c (frapy_str): Ditto. * python/python-type.c (typy_str): Use the length local instead of calling strlen. * python/python-value.c (valpy_str): Pass NULL as length parameter to ui_file_xstrdup.
2009-08-14daily updateAlan Modra1-1/+1
2009-08-14*** empty log message ***gdbadmin1-1/+1
2009-08-13 * utils.c (gnu_debuglink_crc32): Store crc32_table as unsigned intDoug Evans2-1/+6
instead of unsigned long.
2009-08-13 * varobj.c (update_dynamic_varobj_children): Don't useTom Tromey6-65/+90
value_copy. * value.h: (preserve_one_value): Declare. (value_prepend_to_list, value_remove_from_list): Remove. * value.c (preserve_one_value): No longer static. (preserve_values): Call preserve_python_values. (value_prepend_to_list): Remove. (value_remove_from_list): Remove. * python/python.h (values_in_python): Don't declare. (preserve_python_values): Declare. * python/python-value.c (values_in_python): Change type. Move lower. Now static. (struct value_object): Add struct tag. <next, prev>: New fields. (valpy_dealloc): Update. (note_value): New function. (valpy_new): Use value_incref, note_value. (preserve_python_values): New function. (valpy_positive): Don't use value_copy. (value_to_value_object): Use value_incref, note_value. (convert_value_from_python): Update comment.
2009-08-13 * remote.c (remote_pid_to_str): If printing a process id and wePedro Alves2-16/+35
don't know what the remote pid could be, output "Remote target"; otherwise, use normal_pid_to_str.
2009-08-13 * language.h (longest_raw_hex_string): Remove unused declaration.Tom Tromey2-9/+4
2009-08-13merge from gccDJ Delorie5-0/+28
2009-08-132009-08-13 Pedro Alves <pedro@codesourcery.com>Pedro Alves5-216/+247
PR gdb/8869: * language.c (language, type, range, case_sensitive): Make const. (show_language_command): Don't call deprecated_show_value_hack. Special case "auto". (set_language_command): An unrecognized language is now an internal error instead of a user error. Don't call set_lang_str. (show_type_command): Don't call deprecated_show_value_hack. Special case "auto". Use warning. (set_type_command): An unrecognized type is now an internal error instead of a user error. Output type check mismatch with language here. Don't call set_type_str. (show_range_command): Don't call deprecated_show_value_hack. Special case "auto". Use warning. (set_range_command): An unrecognized range check is now an internal error instead of a warning. Output range check mismatch with language here. Don't call set_range_str. (show_case_command): Don't call deprecated_show_value_hack. Special case "auto". Use warning. (set_case_command): Don't call set_case_str. An unrecognized case check is now an internal error instead of a warning. Output range check mismatch with language here. Don't call set_case_str. (set_type_range_case): Don't call set_type_str, set_range_str or set_case_str here. (set_lang_str, set_type_str, set_range_str, set_case_str): Delete. (add_language): Install or reinstall the "set language" command here, and make it an enum command. Build the enumeration and the help string from the current list of known languages. (_initialize_language): Don't install "set language" here. Make "set check type", "set check range" and "set case-sensitive" enum commands. Register the "auto" "local" and "unknown" languages in that order. 2009-08-13 Pedro Alves <pedro@codesourcery.com> * gdb.base/default.exp: Adjust "set language test": it's now an enum command. Larger help string moved to "help set language". * gdb.base/help.exp: Adjust "help set language" expected output, now lists all known languages.
2009-08-13 Revert 2009-08-07 changes for PR gdb/8869:Pedro Alves4-205/+133
* language.c (set_language_command): Strip whitespace. (set_type_command): Likewise. (set_range_command): Likewise. * language.c (language_completer): New function. (range_or_type_completer): New function. (case_completer): New function. (_initialize_language): Set completers. * cli/cli-decode.c (add_setshow_string_cmd): Return the "set" command. (add_setshow_string_noescape_cmd): Likewise. (add_setshow_integer_cmd): Likewise. (add_setshow_uinteger_cmd): Likewise. (add_setshow_zinteger_cmd): Likewise. (add_setshow_zuinteger_cmd): Likewise. * command.h (add_setshow_string_cmd, add_setshow_string_noescape_cmd, add_setshow_uinteger_cmd, add_setshow_zinteger_cmd, add_setshow_zuinteger_cmd): Update.
2009-08-132009-08-12 Sriraman Tallam <tmsriram@google.com>Sriraman Tallam2-3/+11
* icf.cc (Icf::find_identical_sections): Issue a warning when a symbol in the --keep-unique list is not found.
2009-08-13*** empty log message ***gdbadmin1-1/+1
2009-08-13daily updateAlan Modra1-1/+1
2009-08-122009-08-12 Michael Snyder <msnyder@vmware.com>Michael Snyder2-127/+118
* remote.c (remote_add_inferior): Remove unused local. (remote_add_thread): Ditto. (read_ptid): Ditto. (remote_current_thread): Ditto. (remote_stop_ns): Ditto. (remote_parse_stop_reply): Ditto. (remote_get_pending_stop_replies): Ditto. (remote_wait_ns): Ditto. (remote_wait_as): Ditto. (send_g_packet): Ditto. (remote_fetch_registers): Ditto. (store_register_using_P): Ditto. (remote_store_registers): Ditto. (remote_remove_breakpoint): Ditto. (remote_write_qxfer): Ditto. (remote_read_qxfer): Ditto.
2009-08-12Sriraman Tallam <tmsriram@google.com>Sriraman Tallam8-1/+152
* icf.cc (Icf::find_identical_sections): Unfold symbols that have been maked as --keep-unique. (Icf::unfold_section): New function. * icf.h (Icf::unfold_section): New function. * options.h (General_options::keep_unique): New option. * testsuite/Makefile.am: Add commands to build icf_keep_unique_test. * testsuite/Makefile.in: Regenerate. * testsuite/icf_keep_unique_test.sh: New file. * testsuite/icf_keep_unique_test.cc: New file.
2009-08-12 PR 10471Cary Coutant7-3/+220
* resolve.cc (Symbol_table::resolve): Check for references from dynamic objects to hidden and internal symbols. * testsuite/Makefile.am (hidden_test.sh): New test. * testsuite/Makefile.in: Regenerate. * testsuite/hidden_test.sh: New script. * testsuite/hidden_test_1.c: New test source. * testsuite/hidden_test_main.c: New test source.
2009-08-12 * po/fi.po: Updated Finnish translation.Nick Clifton2-931/+1098
2009-08-122009-08-12 Tristan Gingold <gingold@adacore.com>Tristan Gingold3-2/+41
* ld.h (fat_user_section_struct): Add map_symbol_def_count field. * ldlang.c (hash_entry_addr_cmp): New function. (print_all_symbols): Sort the symbols by address before printing them.
2009-08-12* config/tc-mep.c (md_estimate_size_before_relax): Handle weakDJ Delorie2-0/+14
symbols correctly. (md_convert_frag): Likewise. (md_pcrel_from_section): Likewise. (mep_force_relocation): Likewise.
2009-08-12*** empty log message ***gdbadmin1-1/+1
2009-08-12daily updateAlan Modra1-1/+1
2009-08-11 * dwarf2loc.c (dwarf2_evaluate_loc_desc): Make a cleanup.Tom Tromey5-3/+39
(dwarf2_loc_desc_needs_frame): Likewise. * dwarf2expr.h (make_cleanup_free_dwarf_expr_context): Declare. * dwarf2expr.c (free_dwarf_expr_context_cleanup): New function. (make_cleanup_free_dwarf_expr_context): Likewise. * dwarf2-frame.c (execute_stack_op): Make a cleanup.
2009-08-11 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing ofNathan Froyd3-0/+9
all frame arguments. * gdb.arch/altivec-regs.exp: Likewise.
2009-08-11 From Jie Zhang <jie.zhang@analog.com>Bernd Schmidt5-8/+325
* config/tc-bfin.h (bfin_anomaly_checks): Declare. (AC_05000074): Define. (ENABLE_AC_05000074): Define. * config/tc-bfin.c (enum bfin_cpu_type): New. (bfin_cpu_t): Typedef. (bfin_cpu_type): Define. (bfin_si_revision): Define. (bfin_anomaly_checks): Define. (struct bfin_cpu): New. (bfin_cpus[]): New. (struct bfin_cpu_isa): Define. (bfin_isa): New global variable. (OPTION_MCPU): Define. (md_longopts[]): Add -mcpu option. (md_parse_option): Deal with -mcpu option and initialize bfin_anomaly_checks. * doc/c-bfin.texi: Rename BFIN to Blackfin throughout. Document -mcpu option. * config/bfin-parse.y (gen_multi_instr_1): Check anomaly 05000074.
2009-08-11gas/Bernd Schmidt10-15/+838
* config/bfin-parse.y (gen_multi_instr_1): New function. (asm): Use it instead of bfin_gen_multi_instr. (error): Add a format string when calling as_bad. * config/bfin-defs.h (insn_regmask): Declare. * config/tc-bfin.c (DREG_MASK, DREGH_MASK, DREGL_MASK, IREG_MASK): New macros. (decode_ProgCtrl_0, decode_LDSTpmod_0, decode_dagMODim_0, decode_dagMODik_0, decode_dspLDST_0, decode_LDST_0, decode_LDSTiiFP_0, decode_LDSTii_0, decode_dsp32mac_0, decode_dsp32mult_0, decode_dsp32alu_0, decode_dsp32shift_0, decode_dsp32shitimm_0, insn_regmask): New functions. gas/testsuite/ * gas/bfin/parallel.s: Add more test cases. * gas/bfin/parallel.d: Update accordingly. * gas/bfin/resource_conflict.l: New test. * gas/bfin/resource_conflict.s: New test. * gas/bfin/bfin.exp: Add resource_conflict.
2009-08-11fix typo in gas error output (this is an assembler, not a compiler)Mike Frysinger2-2/+7
2009-08-112009-08-11 Doug Kwan <dougkwan@google.com>Doug Kwan2-8/+29
* arm.cc: Update comments. (Target_arm::do_finalize_sections): Add a special PT_ARM_EXIDX segment to locate the .ARM.exidx section if present.
2009-08-11 Merge some FRV FDPIC changes into the Blackfin code.Bernd Schmidt2-142/+345
* elf32-bfin.c (struct bfinfdpic_elf_link_hash_table): Add pointer to summary reloc information. (bfinfdpic_dynamic_got_plt_info): New. (_bfin_create_got_section): Create the PLT section here. (elf32_bfinfdpic_create_dynamic_sections): Not here. (_bfinfdpic_count_nontls_entries): Move out of... (_bfinfdpic_count_got_plt_entries): ... here. (_bfinfdpic_count_relocs_fixups): Likewise. (_bfinfdpic_reset_got_plt_entries): New. (_bfinfdpic_size_got_plt): Move out of... (elf32_bfinfdpic_size_dynamic_sections): ... here. (bfinfdpic_relocate_section): Be careful not to call _bfinfdpic_add_rofixup or _bfinfdpic_add_dyn_reloc for deleted relocs. (bfinfdpic_check_discarded_relocs, bfinfdpic_elf_discard_info): New functions. (elf_backend_discard_info): Define for FD-PIC.
2009-08-11 PR 10443Nick Clifton3-0/+16
* config/tc-arm.c (do_t_mov_cmp): Do not silently ignore shifted operands. * gas/arm/t16-bad.l: Update expected messages for moves with shifted operands.
2009-08-11 * elflink.c: Add FIXMEs for some places that require octets_per_byteAlan Modra4-0/+23
adjustments. * elf-eh-frame.c: Likewise. * merge.c: Likewise.
2009-08-11 * configure.in: Remove elf-ifunc.lo from common ELF files. AddAlan Modra3-18/+24
to x86 and x86_64 configurations. * configure: Regenerate.
2009-08-11daily updateAlan Modra1-1/+1
2009-08-11*** empty log message ***gdbadmin1-1/+1
2009-08-10gdb/Jan Kratochvil4-3/+12
* objfiles.c (gdb_bfd_unref): Use the bfd_usrdata accessor. * solib.c (symbol_add_stub): Likewise. * symfile.c (symfile_bfd_open): Assert BFD_USRDATA is NULL.
2009-08-10include/coff/Jan Kratochvil2-7/+15
Fix references past allocated memory for i386-*-go32. * ti.h (COFF_ADJUST_FILEHDR_IN_POST, COFF_ADJUST_FILEHDR_OUT_POST): Reference F_TARGET_ID only when !COFF0_P.
2009-08-10bfd/Jan Kratochvil8-57/+98
Stop using bfd_usrdata in libbfd. * coff-stgo32.c (bfd_coff_go32stub): Remove. (stub_bytes, comment): Replace STUBSIZE by GO32_STUBSIZE. (adjust_filehdr_in_post): Declare the abfd parameter as unused. Replace STUBSIZE by GO32_STUBSIZE. Save now the stub in filehdr_dst->u.go32.stub. New comment with the reason. (adjust_filehdr_out_pre): Replace STUBSIZE by GO32_STUBSIZE. Substitute the removed macro bfd_coff_go32stub. (adjust_filehdr_out_post, adjust_scnhdr_in_post, adjust_scnhdr_out_pre) (adjust_scnhdr_out_post, adjust_aux_in_post, adjust_aux_out_pre) (adjust_aux_out_post): Replace STUBSIZE by GO32_STUBSIZE. (create_go32_stub, go32_stubbed_coff_bfd_copy_private_bfd_data): Replace STUBSIZE by GO32_STUBSIZE. Substitute the removed macro bfd_coff_go32stub. * coffcode.h (coff_mkobject_hook): Initialize coff->go32stub. * libcoff-in.h (coff_data_type): New field go32stub. * libcoff.h: Regenerated. include/coff/ Stop using bfd_usrdata in libbfd. * go32exe.h (struct external_filehdr_go32_exe <stub>, FILHSZ): Replace STUBSIZE by GO32_STUBSIZE. (STUBSIZE): Move the definition ... * internal.h (GO32_STUBSIZE): ... here and rename it. (struct internal_filehdr <go32stub>, F_GO32STUB): New.