aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-08-182009-08-18 Doug Kwan <dougkwan@google.com>Doug Kwan7-54/+165
* dynobj.cc (Sized_dynobj::setup): Take a Target object instead of an elcpp::Ehdr as parameter. Adjust call to set_target. * dynobj.h (Sized_dynobj::setup): Take a Target object instead of an elfcpp::Ehdr as parameter. * object.cc (Object::set_target): Remove the version that looks up a target and sets it. (Sized_relobj::setup): Take a Target object instead of an elfcpp::Ehdr as parameter. Adjust call to set_target. (make_elf_sized_object): Find target and ask target to make an ELF object. * object.h: (Object::set_target): Remove the version that looks up a target and sets it. (Sized_relobj::setup): Take a Target object instead of an elfcpp:Ehdr as parameter. * target.cc: Include dynobj.h. (Target::do_make_elf_object_implementation): New. (Target::do_make_elf_object): New. * target.h (Target::make_elf_object): New template declaration. (Target::do_make_elf_object): New method declarations. (Target::do_make_elf_object_implementation): New template declaration.
2009-08-18Fix obvious fix.Kai Tietz1-1/+1
CVS: ----------------------------------------------------------------------
2009-08-182009-08-18 Kai Tietz <kai.tietz@onevision.com>Kai Tietz3-0/+100
* config/obj-coff-seh.c: Add copyright notice. * config/obj-coff-seh.h: Add copyright notice. Add x64 specific macros from coff/pe.h header.
2009-08-182009-08-18 Sterling Augustine <sterling@tensilica.com>Sterling Augustine2-11/+13
* config/tc-xtensa.c (xtensa_create_xproperty_segments): Use sizeof instead of hard-coded value. (add_xt_block_frags): Remove unused local variable. (frag_flags_to_number): Change return type to flagword. Remove unused local variable.
2009-08-182009-08-17 Sterling Augustine <sterling@jaw.hq.tensilica.com>Sterling Augustine2-5/+12
* config/tc-xtensa.c (xtensa_frob_label): move call to do_align_targets to set frag_type only.
2009-08-18 * utils.c (add_internal_problem_command): Free set_doc andTom Tromey4-2/+19
show_doc. * remote.c (add_packet_config_cmd): Free set_doc and show_doc. * language.c (add_language): Free language_set_doc.
2009-08-18 * Makefile.in (ALL_TARGET_OBS): Remove prologue-value.o, solib.o.Tom Tromey2-2/+5
2009-08-18*** empty log message ***gdbadmin1-1/+1
2009-08-18daily updateAlan Modra1-1/+1
2009-08-17 * symfile.c (reread_symbols): Call objfiles_changed *before*Ulrich Weigand2-3/+8
calling clear_symtab_users.
2009-08-172009-08-17 Michael Snyder <msnyder@vmware.com>Michael Snyder3-0/+105
* amd64-tdep.c: Add a frame unwinder for function epilogues. (amd64_in_function_epilogue_p): New function. (amd64_epilogue_frame_sniffer): New function. (amd64_epilogue_frame_cache): New function. (amd64_epilogue_frame_this_id): New function. (amd64_epilogue_frame_unwind): New struct frame_unwind. (amd64_init_abi): Hook the new unwinder. * amd64-linux-tdep.c (amd64_linux_init_abi): Set gdbarch to use SVR4 method for skip_trampoline_code.
2009-08-17Add missed files.Kai Tietz2-0/+1465
2009-08-172009-08-17 Kai Tietz <kai.tietz@onevision.com>Kai Tietz7-10/+403
* config/obj-coff-seh.c: New file. * config/obj-coff-seh.h: Likewise. * config/obj-coff.c (obj-coff-seh.c): Add include. (coff_pseudo_table): Add new .seh... commands. * config/obj-coff.h (obj_coff_seh_do_final): Add new function prototype. (obj_coff_generate_pdata): New obj-coff hook. * gas/write.c (size_seg): Avoid sizing of already sized sections. (write_object_file): Call conditional hook objc_coff_generate_pdata. * Makefile.am: Add dependencies for new files. * Makefile.in: Regenerated.
2009-08-172009-08-17 Pedro Alves <pedro@codesourcery.com>>Pedro Alves2-7/+15
* objfiles.c (objfile_relocate): Relocate the entry point before relocating the section offsets. Flush the section map before resetting breakpoints.
2009-08-17 * ld-elf/linkonce1.d: Accept "UNUSED" as part of the name of anNick Clifton3-2/+8
unused reloc. * ld-elf/linkonce2.d: Likewise.
2009-08-17 * binutils-all/strip-10.d: Accept "<OS specific>: 10" for the typeNick Clifton2-1/+6
of the UNIQUE symbol.
2009-08-17 * config/tc-microblaze.c: Include safe-ctype.h instad of ctype.h.Nick Clifton2-14/+21
(parse_reg): Use safe-ctype.h macros. (parse_exp): Likewise. (md_assemble): Likewise.
2009-08-17 * readelf.c (is_32bit_abs_reloc): Treat R_PARISC_SECREL32 as aNick Clifton2-1/+8
32-bit absolute reloc for the purposes of processing debug sections.
2009-08-17 * config.sub, config.guess: Update from upstream sources.Ben Elliston3-11/+25
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