X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2FChangeLog;h=661a0d6baa78cacdc39b17850a0b525b789cc710;hb=70976b65519d4f91bb0345335d7419f2f69eec8c;hp=5acaaf577be560f2b0e22cafce5cf95cb43d1c7e;hpb=b81e1ee05cf1799f6e964c623d99811132a2ae16;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 5acaaf577b..661a0d6baa 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,475 @@ +2012-07-31 Yao Qi + + * go32-nat.c: Declare _initialize_go32_nat. + * ser-go32.c: Declare _initialize_ser_dos. + * top.c (do_chdir_cleanup): Add 'static'. + +2012-07-30 Keith Seitz + + * linespec.c (linespec_lex_number): A number followed + by quotes is a valid number, too. + +2012-07-30 Tom Tromey + + * remote-sim.c (gdb_os_poll_quit): Don't check immediate_quit. + +2012-07-30 Ulrich Weigand + + * arm-linux-nat.c (arm_linux_hw_breakpoint_initialize): Do not + attempt to 4-byte-align HW breakpoint addresses for Thumb. + +2012-07-30 Andrew Burgess + + * varobj.c (varobj_invalidate_iter): All varobj must be marked as + invalid or reevaluated to prevent prevent references to possibly + delete'd type objects being left in the varobj. + +2012-07-27 Tom Tromey + Jan Kratochvil + + * copying.awk: Print buffer-read-only and vi ro markers. + * copying.c: Rebuild. + * gdbarch.sh (copyright): Print buffer-read-only and vi ro markers. + * gdbarch.c, gdbarch.h: Rebuild. + * target-descriptions.c (maint_print_c_tdesc_cmd): Print + buffer-read-only and vi ro markers. + * features/arm-with-iwmmxt.c: Rebuild. + * features/arm-with-m-fpa-layout.c: Rebuild. + * features/arm-with-m-vfp-d16.c: Rebuild. + * features/arm-with-m.c: Rebuild. + * features/arm-with-neon.c: Rebuild. + * features/arm-with-vfpv2.c: Rebuild. + * features/arm-with-vfpv3.c: Rebuild. + * features/i386/amd64-avx-linux.c: Rebuild. + * features/i386/amd64-avx.c: Rebuild. + * features/i386/amd64-linux.c: Rebuild. + * features/i386/amd64.c: Rebuild. + * features/i386/i386-avx-linux.c: Rebuild. + * features/i386/i386-avx.c: Rebuild. + * features/i386/i386-linux.c: Rebuild. + * features/i386/i386-mmx-linux.c: Rebuild. + * features/i386/i386-mmx.c: Rebuild. + * features/i386/i386.c: Rebuild. + * features/i386/x32-avx-linux.c: Rebuild. + * features/i386/x32-avx.c: Rebuild. + * features/i386/x32-linux.c: Rebuild. + * features/i386/x32.c: Rebuild. + * features/mips-dsp-linux.c: Rebuild. + * features/mips-linux.c: Rebuild. + * features/mips64-dsp-linux.c: Rebuild. + * features/mips64-linux.c: Rebuild. + * features/rs6000/powerpc-32.c: Rebuild. + * features/rs6000/powerpc-32l.c: Rebuild. + * features/rs6000/powerpc-403.c: Rebuild. + * features/rs6000/powerpc-403gc.c: Rebuild. + * features/rs6000/powerpc-405.c: Rebuild. + * features/rs6000/powerpc-505.c: Rebuild. + * features/rs6000/powerpc-601.c: Rebuild. + * features/rs6000/powerpc-602.c: Rebuild. + * features/rs6000/powerpc-603.c: Rebuild. + * features/rs6000/powerpc-604.c: Rebuild. + * features/rs6000/powerpc-64.c: Rebuild. + * features/rs6000/powerpc-64l.c: Rebuild. + * features/rs6000/powerpc-7400.c: Rebuild. + * features/rs6000/powerpc-750.c: Rebuild. + * features/rs6000/powerpc-860.c: Rebuild. + * features/rs6000/powerpc-altivec32.c: Rebuild. + * features/rs6000/powerpc-altivec32l.c: Rebuild. + * features/rs6000/powerpc-altivec64.c: Rebuild. + * features/rs6000/powerpc-altivec64l.c: Rebuild. + * features/rs6000/powerpc-cell32l.c: Rebuild. + * features/rs6000/powerpc-cell64l.c: Rebuild. + * features/rs6000/powerpc-e500.c: Rebuild. + * features/rs6000/powerpc-e500l.c: Rebuild. + * features/rs6000/powerpc-isa205-32l.c: Rebuild. + * features/rs6000/powerpc-isa205-64l.c: Rebuild. + * features/rs6000/powerpc-isa205-altivec32l.c: Rebuild. + * features/rs6000/powerpc-isa205-altivec64l.c: Rebuild. + * features/rs6000/powerpc-isa205-vsx32l.c: Rebuild. + * features/rs6000/powerpc-isa205-vsx64l.c: Rebuild. + * features/rs6000/powerpc-vsx32.c: Rebuild. + * features/rs6000/powerpc-vsx32l.c: Rebuild. + * features/rs6000/powerpc-vsx64.c: Rebuild. + * features/rs6000/powerpc-vsx64l.c: Rebuild. + * features/rs6000/rs6000.c: Rebuild. + * features/s390-linux32.c: Rebuild. + * features/s390-linux32v1.c: Rebuild. + * features/s390-linux32v2.c: Rebuild. + * features/s390-linux64.c: Rebuild. + * features/s390-linux64v1.c: Rebuild. + * features/s390-linux64v2.c: Rebuild. + * features/s390x-linux64.c: Rebuild. + * features/s390x-linux64v1.c: Rebuild. + * features/s390x-linux64v2.c: Rebuild. + * features/tic6x-c62x-linux.c: Rebuild. + * features/tic6x-c62x.c: Rebuild. + * features/tic6x-c64x-linux.c: Rebuild. + * features/tic6x-c64x.c: Rebuild. + * features/tic6x-c64xp-linux.c: Rebuild. + * features/tic6x-c64xp.c: Rebuild. + +2012-07-27 Tom Tromey + + * c-exp.y (classify_name): Avoid assignment in condition. + +2012-07-27 Roland Schwingel + + * amd64-windows-tdep.c: Include "frame.h". + (amd64_windows_skip_trampoline_code): New function. + (amd64_windows_init_abi): Add trampoline registration. + +2012-07-27 Yao Qi + + * tracepoint.c (cur_traceframe_number): Remove. + (set_tfile_traceframe): Remove. + (tfile_trace_find, tfile_fetch_registers): Update callers. + (tfile_xfer_partial, tfile_get_trace_state_variable_value): Likewise. + (tfile_open, tfile_trace_find): Likewise. + +2012-07-27 Yao Qi + + * thread.c (switch_to_thread): Don't call registers_changed. + +2012-07-26 Tom Tromey + + * Makefile.in (SFILES): Remove objc-exp.y. + (YYFILES): Remove objc-exp.c. + (YYOBJ): Remove objc-exp.o. + (local-maintainer-clean): Don't mention objc-exp.c. + * c-exp.y: Include objc-lang.h. + (%union) : New field. + (NSSTRING, SELECTOR, CLASSNAME, OBJC_LBRAC): New tokens. + (exp): Clone subscript production for OBJC_LBRAC. Add various + Objective C productions. + (msglist, msgarglist, msgarg): New productions. + (array_mod, func_mod, operator): Clone productions for + OBJC_LBRAC. + (parse_string_or_char): Handle '@' strings. + (lex_one_token): Return OBJC_LBRAC. Recognize @selector. + (classify_name): Check la_name_of_this. Recognize ObjC class + names. + * objc-exp.y: Remove. + * objc-lang.c (objc_language_defn): Use c_parse, c_error. + * objc-lang.h (objc_parse, objc_error): Don't declare. + +2012-07-26 Markus Metzger + + * python/py-inferior.c (infpy_threads): Call update_thread_list (). + +2012-07-26 Jan Kratochvil + + * auto-load.c (auto_load_info_scripts): Remove immediate_quit increment + and decrement. + +2012-07-26 Tom Tromey + + * copying.c: Rebuild. + * copying.awk: Don't use immediate_quit. Use 'no_set_class', not + 'no_class'. + +2012-07-26 Tom Tromey + + * symmisc.c (print_symbol_bcache_statistics): Use QUIT, not + immediate_quit. + (print_objfile_statistics): Likewise. + (maintenance_print_symbols): Likewise. + (maintenance_print_msymbols): Likewise. + (maintenance_print_objfiles): Likewise. + * psymtab.c (print_partial_symbols): Call QUIT. + (maintenance_print_psymbols): Likewise. Don't modify + immediate_quit. + * copying.c (show_copying_command): Don't modify immediate_quit. + (show_warranty_command): Likewise. + * cli/cli-cmds.c (show_version): Don't modify immediate_quit. + +2012-07-26 Keith Seitz + + * linespec.c (linespec_lexer_lex_number): The input + is also a valid number if the next character is a comma + or colon. + +2012-07-26 Joel Brobecker + + * NEWS: Document new --enable-libmcheck/--disable-libmcheck + configure options. + +2012-07-26 Tristan Gingold + + * machoread.c: Include gdb_bfd.h. + +2012-07-26 Tristan Gingold + + * dwarf2loc.c (locexpr_describe_location_piece): Use uint64_t for + offset. + +2012-07-26 Siddhesh Poyarekar + + * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Expand parameter + SIZE to size_t. + (dwarf2_evaluate_loc_desc): Likewise. + (dwarf2_loc_desc_needs_frame): Likewise. + (locexpr_describe_location_1): Likewise. + * dwarf2loc.h (struct dwarf2_locexpr_baton): Make SIZE as + size_t. + (struct dwarf2_loclist_baton): Likewise. + * dwarf2read.c (struct dwarf_block): Likewise. + (dump_die_shallow): Use pulongest to print dwarf_block.size. + (decode_locdesc): Expand SIZE and I to size_t. + +2012-07-25 Jan Kratochvil + + * contrib/cc-with-tweaks.sh: Put into comment path gdb/contrib/. + +2012-07-25 Joel Brobecker + + * doublest.c (convert_doublest_to_floatformat): If the exponent + is too small, treat the value as zero. If the exponent is too + large, treat the value as infinity. + +2012-07-25 Joel Brobecker + + * configure.ac: Add --enable-lmcheck configure option. + * configure: Regenerate. + +2012-07-25 Tom Tromey + + * NEWS: Mention maint info bfds. + * gdb_bfd.c (all_bfds): New global. + (gdb_bfd_ref, gdb_bfd_unref): Update all_bfds. + (print_one_bfd, maintenance_info_bfds, _initialize_gdb_bfd): + New functions. + +2012-07-25 Ralf Corsépius + + * configure.tgt: Add v850*-*-rtems*. + +2012-07-25 Tom Tromey + + * macrotab.c (macro_bcache_str): Remove cast. + +2012-07-25 Hui Zhu + + * linespec.c (linespec_lexer_lex_number): Update comments, + change the return and add check to make sure the input is + the decimal numbers. + (linespec_lexer_lex_one): If linespec_lexer_lex_number return + false, call linespec_lexer_lex_string. + +2012-07-24 Tom Tromey + + * symfile.c (symbol_file_add): Don't open BFD twice. + +2012-07-24 Marc Khouzam + + * breakpoint.c (create_breakpoint): Store condition for pending + breakpoints. + +2012-07-24 Andreas Schwab + + * m68k-tdep.c (m68k_reg_struct_return_p): Accept complex types. + (m68k_return_value): Handle complex types like structures. + (m68k_svr4_return_value): Likewise. + +2012-07-24 Marcus Shawcroft + + * gdb_bfd.c (zlib_decompress_section) : Adjust + parameters to bfd_get_section_name. + +2012-07-24 Yao Qi + + * cli/cli-setshow.c: Handle case 'var_uinteger' + and 'var_zuninteger' together. Handle case 'var_integer' and + 'var_zinteger' together. + +2012-07-23 Keith Seitz + + * linespec.c (convert_linespec_to_sal): Don't add + any symbols to the result vector if symbol_to_sal + returns zero. + +2012-07-23 Keith Seitz + + * linespec.c (decode_objc): Record the function name + in the linespec. + +2012-07-23 Tom Tromey + + * rs6000-nat.c (add_vmap): Rewrite archive loop. Fix reference + counting. + * exec.c (exec_close_1): Unconditionally release vmap's BFD. + (map_vmap): Acquire a reference to the BFD. + +2012-07-23 Siddhesh Poyarekar + + * p-valprint.c (pascal_object_print_value): Replace potentially + unsafe alloca with xmalloc/xfree. + * valops.c (search_struct_method): Likewise. + +2012-07-23 Tom Tromey + + * solib-svr4.c (enable_break): Update. + * bfd-target.h (target_bfd_reopen): Update documentation. + +2012-07-23 Tom Tromey + + * symfile.c (separate_debug_file_exists): Update. + (gdb_bfd_open_maybe_remote): Rename from bfd_open_maybe_remote. + (reread_symbols): Update. + * elfread.c (build_id_verify): Update. + * symfile.h (gdb_bfd_open_maybe_remote): Rename from + bfd_open_maybe_remote. + +2012-07-23 Tom Tromey + + * gdb_bfd.c (gdb_bfd_ref, gdb_bfd_unref): Fix comment. + +2012-07-23 Tom Tromey + + * coffread.c (coff_symfile_read): Make a cleanup for 'debugfile' + and 'abfd'. + * elfread.c (elf_symfile_read): Make a cleanup for 'debugfile' + and 'abfd'. + * jit.c (jit_bfd_try_read_symtab): Make a cleanup for 'nbfd'. + * machoread.c (macho_add_oso_symfile): Make a cleanup for + 'abfd'. + (macho_symfile_read): Make a cleanup for 'dsym_bfd'. + * objfiles.c (allocate_objfile): Acquire a new reference. + * rs6000-nat.c (add_vmap): Don't acquire a BFD reference. + * solib.c (solib_read_symbols): Don't acquire a BFD reference. + * spu-linux-nat.c (spu_symbol_file_add_from_memory): Make + a cleanup for 'nbfd'. + * symfile-mem.c (symbol_file_add_from_memory): Make a cleanup + for 'nbfd'. + * symfile.c (symbol_file_add_with_addrs_or_offsets): Don't + make a cleanup for 'abfd'. + (symbol_file_add): Make a BFD cleanup. + +2012-07-23 Tom Tromey + + * cli/cli-dump.c (bfd_openr_with_cleanup): Use gdb_bfd_openr. + (bfd_openw_with_cleanup): Use gdb_bfd_openw. + * corelow.c (core_open): Use gdb_bfd_fopen. + * dsrec.c (load_srec): Use gdb_bfd_openr. + * exec.c (exec_file_attach): Use gdb_bfd_fopen. + * gcore.c (gcore_memory_sections): Use gdb_bfd_openw. + * gdb_bfd.c (gdb_bfd_fopen, gdb_bfd_openr, gdb_bfd_openw) + (gdb_bfd_openr_iovec, gdb_bfd_openr_next_archived_file) + (gdb_bfd_fdopenr): New functions. + * gdb_bfd.h (gdb_bfd_fopen, gdb_bfd_openr, gdb_bfd_openw) + (gdb_bfd_openr_iovec, gdb_bfd_openr_next_archived_file) + (gdb_bfd_fdopenr): Declare. + * jit.c (bfd_open_from_target_memory): Use gdb_bfd_openr_iovec. + * m32-rom.c (m32r_load, m32r_upload_command): Use gdb_bfd_openr. + * machoread.c (macho_symfile_read_all_oso): Use gdb_bfd_openr, + gdb_bfd_openr_next_archived_file. + (macho_check_dsym): Use gdb_bfd_openr. + (macho_add_oso_symfile): Don't call gdb_bfd_stash_filename. + * procfs.c (insert_dbx_link_bpt_in_file): Use gdb_bfd_fdopenr. + * remote-m32r-sdi.c (m32r_load): Use gdb_bfd_openr. + * remote-mips.c (mips_load_srec, pmon_load_fast): Use + gdb_bfd_openr. + * remote.c (remote_bfd_open): Use gdb_bfd_openr_iovec. + * rs6000-nat.c (add_vmap): Use gdb_bfd_openr, gdb_bfd_fdopenr, + gdb_bfd_openr_next_archived_file. + * solib-darwin.c (darwin_solib_get_all_image_info_addr_at_init): + Use gdb_bfd_openr. + * solib-pa64.c (pa64_solib_create_inferior_hook): Use + gdb_bfd_openr. + * solib-spu.c (spu_bfd_fopen): Use gdb_bfd_openr_iovec. + * solib.c (solib_bfd_fopen): Use gdb_bfd_fopen. + * spu-linux-nat.c (spu_bfd_open): Use gdb_bfd_openr_iovec. + * symfile.c (bfd_open_maybe_remote): Use gdb_bfd_openr. + (symfile_bfd_open): Use gdb_bfd_fopen. + (generic_load): Use gdb_bfd_openr. + * windows-nat.c (windows_make_so): Use gdb_bfd_openr. + +2012-07-23 Tom Tromey + + * bfd-target.c (target_bfd_reopen): Update. + * cli/cli-dump.c (bfd_openr_with_cleanup) + (bfd_openw_with_cleanup): Update. + * corelow.c (core_open): Update. + * dsrec.c (load_srec): Update. + * exec.c (exec_file_attach): Update. + * gcore.c (create_gcore_bfd): Update. + * gdb_bfd.c (gdb_bfd_ref): Return void. + (gdb_bfd_open): Update. + * gdb_bfd.h (gdb_bfd_ref): Return void. + Update comments. + * jit.c (jit_bfd_try_read_symtab): Update. + * m32r-rom.c (m32r_load, m32r_upload_command): Update. + * machoread.c (macho_symfile_read_all_oso): Update. + (macho_check_dsym): Update. + * procfs.c (insert_dbx_link_bpt_in_file): Update. + * remote-m32r-sdi.c (m32r_load): Update. + * remote-mips.c (mips_load_srec, pmon_load_fast): Update. + * rs6000-nat.c (add_vmap): Update. + * solib-darwin.c (darwin_solib_get_all_image_info_addr_at_init): + Update. + * solib-pa64.c (pa64_solib_create_inferior_hook): Update. + * solib-spu.c (spu_bfd_open): Update. + * solib.c (solib_bfd_fopen, solib_read_symbols): Update. + * spu-linux-nat.c (spu_bfd_open): Update. + * symfile.c (bfd_open_maybe_remote, symfile_bfd_open) + (generic_load): Update. + * windows-nat.c (windows_make_so): Update. + +2012-07-22 Siddhesh Poyarekar + + * sh-tdep.c (sh_treat_as_flt_p): Remove unused variable LEN. + +2012-07-20 Jeff Kenton + + * tilegx-linux-tdep.c (tilegx_linux_sigframe_init): Fix + SIGTRAMP_FRAME unwinding. + +2012-07-20 Doug Evans + + * NEWS: Document new options "set/show use-deprecated-index-sections", + and delete reference to --use-deprecated-index-sections. + * symfile.h (use_deprecated_index_sections): Delete. + * dwarf2read.c (use_deprecated_index_sections): Make static. + (read_index_from_section): Update wording of how to load + deprecated index sections. + (_initialize_dwarf2_read): New options + "set/show use-deprecated-index-sections". + * main.c (captured_main): Delete --use-deprecated-index-sections. + +2012-07-20 Pedro Alves + + PR threads/11692 + PR gdb/12203 + + * infrun.c (handle_inferior_event) : Don't special + case minus_one_ptid. + : Ditto. + * linux-thread-db.c (thread_get_info_callback): Don't return early + if the thread is zombie. + (thread_from_lwp): Change return type to void. Rewrite stale + comment. + (attach_thread): Don't return early if the thread is zombie, + instead set its "dying" flag. + (thread_db_wait): Don't return TARGET_WAITKIND_SPURIOUS anymore. + (find_new_threads_callback): Don't return early if the thread is + zombie. + +2012-07-20 Pedro Alves + + * linux-nat.c (linux_nat_wait): Dump the passed in target options. + * target.c (target_wait): Likewise. + (str_comma_list_concat_elem, do_option, target_options_to_string): + New functions. + * target.h (target_options_to_string): Declare. + +2012-07-20 Jan Kratochvil + Tom Tromey + + * dwarf2read.c (dwarf_decode_macros) + : New cases. + (dwarf_decode_macro_bytes) : Examine 'section_is_dwz'. + 2012-07-20 Tom Tromey * dwarf2read.c (try_open_dwo_file): Don't call