X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=gdb%2FChangeLog;h=6fa76d67c5ff02068c8f9af454b245ac1c3b3995;hb=87784a4754fe23d02ee8392357a8291ff2b6ed79;hp=d02a3dbd09c5ed0f277ffd77d590ed76e058b0b7;hpb=a35ddb4476da3a002ea623ad3e1ac72821f9f0be;p=binutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d02a3dbd09c..6fa76d67c5f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,496 @@ +2011-12-22 Tom Tromey + + * value.c (struct value) : Now bitfields. Move to top. + : Move earlier. + +2011-12-21 Tom Tromey + + * minsyms.h: Rearrange. Document header and all functions. + * minsyms.c: Move some comments to minsyms.h. + +2011-12-21 Tom Tromey + + * symtab.h: Include minsyms.h. + (prim_record_minimal_symbol, prim_record_minimal_symbol_full) + (prim_record_minimal_symbol_and_info, msymbol_hash_iw) + (msymbol_hash, SYMBOL_HASH_NEXT, msymbol_objfile) + (lookup_minimal_symbol, lookup_minimal_symbol_text) + (lookup_minimal_symbol_solib_trampoline) + (lookup_minimal_symbol_by_pc_name, lookup_minimal_symbol_by_pc) + (iterate_over_minimal_symbols, lookup_minimal_symbol_and_objfile) + (lookup_minimal_symbol_by_pc_section) + (lookup_solib_trampoline_symbol_by_pc) + (init_minimal_symbol_collection) + (make_cleanup_discard_minimal_symbols, install_minimal_symbols) + (msymbols_sort): Move to minsyms.h. + * objfiles.c (terminate_minimal_symbol_table): Move to minsyms.c. + * minsyms.c (terminate_minimal_symbol_table): Move from + objfiles.c. + * minsyms.h: New file. + +2011-12-21 Tom Tromey + + * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence): Use + ALL_OBJFILE_MSYMBOLS. + (hppa_hpux_find_dummy_bpaddr): Likewise. + * jit.c (jit_object_close_impl): Use + terminate_minimal_symbol_table. + +2011-12-21 Tom Tromey + + * elfread.c (elf_symtab_read): Put the filename in the filename + bcache. + +2011-12-21 Tom Tromey + + * symtab.h (struct minimal_symbol) : Now const. + +2011-12-21 Ulrich Weigand + + PR tdep/12797 + * arm-tdep.c (arm_return_value): Handle complex types. + +2011-12-21 Andreas Schwab + + * ppc-linux-nat.c (create_watchpoint_request): Only use ranged + watchpoints when supported. + +2011-12-21 Jan Kratochvil + + * symfile.c (objfilep): New typedef and new DEF_VEC_P. + (reread_symbols): Remove variable reread_one, new variables + new_objfiles, all_cleanups and ix. Use new_objfiles instead of + reread_one. Push changed objfiles to new_objfiles, call + observer_notify_new_objfile for them later. + +2011-12-21 Joel Brobecker + + * psymtab.c (expand_symtabs_matching_via_partial): Match + the partial symbols using their SYMBOL_SEARCH_NAME. + * symfile.h (struct quick_symbol_functions): Udate the + documentation of expand_symtabs_matching. + * dwarf2read.c (write_psymbols): Use SYMBOL_SEARCH_NAME instead + of SYMBOL_NATURAL_NAME in index entry. + +2011-12-21 Joel Brobecker + + * linespec.c (locate_first_half): Add handling of Ada operators + when the current language is Ada. + +2011-12-21 Joel Brobecker + + * objfiles.c (insert_section_p): Do not detect overlay sections + if overlay debugging is off. + +2011-12-21 Joel Brobecker + + * ada-lang.c (is_name_suffix): Add handling of "TKB" suffixes. + Update function documentation. + * dictionary.c (dict_hash): Ignore "TKB" suffixes in hash + computation. + +2011-12-20 Pedro Alves + Jan Kratochvil + + * linux-nat.c (add_lwp): Don't call linux_nat_new_thread on the + first LWP. + * amd64-linux-nat.c (update_debug_registers_callback): Instantiate + `lwp->arch_private' if NULL. + (amd64_linux_prepare_to_resume): Do nothing if `lwp->arch_private' + is NULL. + * i386-linux-nat.c (update_debug_registers_callback): Instantiate + `lwp->arch_private' if NULL. + (i386_linux_prepare_to_resume): Do nothing if `lwp->arch_private' + is NULL. + +2011-12-19 Doug Evans + + * python/py-auto-load.c (info_auto_load_scripts): Pass address of + scripts vector to collect_matching_scripts. + (collect_matching_scripts): Update. + +2011-12-19 Jan Kratochvil + + * symfile.c (reread_symbols): Move free_objfile_separate_debug, + preserve_values, sym_finish and clear_objfile_data calls before BFD + close. Move free_objfile_separate_debug as the very first call. New + comment on the ordering. + +2011-12-19 Ulrich Weigand + + * s390-tdep.c (s390_push_dummy_call): Set addressing mode bit + in return PSWA. + +2011-12-19 Tom Tromey + + * symtab.h (add_minsym_to_hash_table): Don't declare. + * minsyms.c (add_minsym_to_hash_table): Now static. + +2011-12-19 Joel Brobecker + + * elfread.c (elf_symtab_read): Ignore undefined symbols with + nonzero addresses if they do not correspond to a .plt section + when one is available in the objfile. + +2011-12-17 Andreas Schwab + + * cp-name-parser.y (cp_merge_demangle_parse_infos): Don't use + obstack_empty_p. + +2011-12-17 Mark Kettenis + + * amd64obsd-tdep.c (amd64obsd_init_abi): Don't set + regset_from_core_section. + (amd64obsd_core_init_abi): New function that sets + regset_from_core_section. + (_initialize_amd64obsd_tdep): Use amd64obsd_core_init_abi for + traditional core dumps. + +2011-12-17 Mark Kettenis + + * amd64obsd-tdep.c (amd64obsd_sigtramp_p): Detect new signal + trampoline to be introduced in OpenBSD 5.0. + +2011-12-17 Jan Kratochvil + + Fix build regression from the PR threads/10729 fix. + * s390-nat.c (s390_insert_watchpoint, s390_remove_watchpoint): Use LP, + not LP->PTID. + +2011-12-16 Andrey Smirnov + + * mi/mi-main.c (mi_cmd_list_thread_groups): Rename `optind' and + `optarg' to `oind' and `oarg', respectively(-Wshadow). + (mi_cmd_data_read_memory): Ditto. + (mi_cmd_data_read_memory_bytes): Ditto. + (mi_cmd_data_write_memory): Ditto. + +2011-12-16 Andrey Smirnov + + * mi/mi-getopt.c (mi_getopt): Rename `optind' and `optarg' to + `oind' and `oarg', respectively(-Wshadow). + (mi_valid_noargs): Ditto. + +2011-12-16 Andrey Smirnov + + * mi/mi-cmd-var.c (print_varobj): Rename `optind' and `optarg' to + `oind' and `oarg', respectively(-Wshadow). + +2011-12-16 Andrey Smirnov + + * mi/mi-cmd-target.c (mi_cmd_target_file_get): Rename `optind' and + `optarg' to `oind' and `oarg', respectively(-Wshadow). + (mi_cmd_target_file_put): Ditto. + (mi_cmd_target_file_delete): Ditto. + +2011-12-16 Andrey Smirnov + + * mi/mi-cmd-env.c (mi_cmd_env_path): Rename `optind' and + `optarg' to `oind' and `oarg', respectively(-Wshadow). + (mi_cmd_env_dir): Ditto. + +2011-12-16 Andrey Smirnov + + * mi/mi-cmd-disas.c (mi_cmd_disassemble): Rename `optind' and + `optarg' to `oind' and `oarg', respectively(-Wshadow). + +2011-12-16 Andrey Smirnov + + * mi/mi-cmd-break.c (mi_cmd_break_insert): Rename `optind' and + `optparg' to `oind' and `oarg', respectively(-Wshadow). + (mi_cmd_break_watch): Ditto. + +2011-12-16 Tom Tromey + + * linespec.c (collect_symbols): Call maybe_add_address after + calling symbol_to_sal. + (minsym_found): Call maybe_add_address here. + (search_minsyms_for_name): Don't call maybe_add_address. + +2011-12-16 Tom Tromey + + * linespec.c (struct collect_info) : Remove field. + (decode_objc): Update. + (find_method): Update. + (decode_variable): Update. + (struct minsym_and_objfile): New. + (struct collect_minsyms): New. + (classify_mtype): New function. + (compare_msyms): Likewise. + (add_minsym): Likewise. + (check_minsym): Remove. + (search_minsyms_for_name): Sort minsyms and apply only those with + top priority. + +2011-12-16 Tom Tromey + + * cli/cli-cmds.c (filter_sals): Filter out sals with NULL symtab. + +2011-12-16 Pedro Alves + + * inf-loop.c: Include top.h. + (inferior_event_handler): Call check_frame_language. + * top.c (check_frame_language_change): New, factored out from ... + (execute_command): ... this. Use check_frame_language_change. + * top.h (check_frame_language_change): Declare. + +2011-12-16 asmwarrior (obvious fix) + + * windows-nat.c (cygwin_get_dr, cygwin_get_dr7): Add missing + prototypes. + +2011-12-16 Doug Evans + + * NEWS: Add entry for stdio gdbserver. + +2011-12-16 Phil Muldoon + + * python/python.c: Define python_excp_enums. + (eval_python_from_control_command): Do not call gdbpy_print_stack. + (python_command): Ditto. + (gdbpy_print_stack): Rewrite to use new enum constants. + (maint_set_python): Remove function. + (maint_show_python): Ditto. + (_initialize_python): Do not add "maint" commands. Add "set/show + python print-stack commands". + * NEWS: Update to reflect removal for "maint set/show + print-stack" + +2011-12-15 Doug Evans + + * exceptions.c (catcher_list_size): New function. + (last_message): Delete. + (exception_messages, exception_messages_size): New static globals. + (throw_it): Use exception_messages array to handle nested calls. + +2011-12-15 Tom Tromey + + * symfile.c (symbol_file_add_with_addrs_or_offsets): Remove bad + do_cleanups call. + +2011-12-14 Doug Evans + + * defs.h (wait_to_die_with_timeout): Declare. + * utils.c: #include "gdb_wait.h". + (sigalrm_handler, wait_to_die_with_timeout): New functions. + * ser-pipe.c: Don't #include "gdb_wait.h". + (pipe_close): Give child a chance to die on its own after closing + its stdin before SIGTERM'ing it. + +2011-12-14 Joel Brobecker + Tom Tromey + + * ada-lang.c (add_nonlocal_symbols): Initialize data to + all zeros. Remove setting of data.arg_sym to NULL. + +2011-12-14 Pedro Alves + + PR threads/10729 + + * linux-nat.c (linux_nat_new_thread): Change parameter to an lwp + pointer. + (linux_nat_prepare_to_resume): New global. + (lwp_free): New. + (purge_lwp_list): Use it. + (add_lwp): Call linux_nat_new_thread even on the first LWP. + Adjust to interface change. + (delete_lwp): Call lwp_free instead of xfree. + (detach_callback, linux_nat_detach, resume_lwp, linux_nat_resume) + (linux_handle_syscall_trap, linux_handle_extended_wait) + (linux_nat_filter_event, resume_stopped_resumed_lwps): Call + linux_nat_prepare_to_resume before resuming. + (linux_stop_lwp): New. + (linux_nat_set_new_thread): Adjust. + (linux_nat_set_prepare_to_resume): New. + * linux-nat.h (struct arch_lwp_info): Forward declare. + (struct lwp_info) : New field. + (linux_stop_lwp): Declare. + (linux_nat_set_new_thread): Adjust. + (linux_nat_set_prepare_to_resume): New. + + * i386-nat.c (DR_NADDR, DR_STATUS, DR_CONTROL) + (struct i386_debug_reg_state): Move to i386-nat.h. + (dr_mirror): Comment. + (i386_debug_reg_state): New. + (i386_update_inferior_debug_regs): Simplify. + (i386_stopped_data_address): Use the debug register state from the + inferior, not from the local cache. + * i386-nat.h (struct i386_dr_low_type): Delete reset_addr and + unset_status fields. New get_addr and get_control fields. + (DR_FIRSTADDR, DR_LASTADDR, DR_CONTROL): Moved from i386-nat.c. + (DR_NADDR, DR_STATUS): New. + (struct i386_debug_reg_state): Moved from i386-nat.c. + + * amd64-linux-nat.c (struct arch_lwp_info): New. + (amd64_linux_dr): Delete global. + (amd64_linux_dr_get_addr): New. + (amd64_linux_dr_get_control): New. + (amd64_linux_dr_unset_status): Delete. + (amd64_linux_dr_set_addr): Reimplement. + (amd64_linux_dr_reset_addr): Delete. + (update_debug_registers_callback): New. + (amd64_linux_dr_set_control): Reimplement. + (amd64_linux_dr_set_addr): Reimplement. + (amd64_linux_prepare_to_resume): New. + (amd64_linux_new_thread): Change parameter to an lwp pointer. + Reimplement. + (_initialize_amd64_linux_nat): No longer install + i386_dr_low.reset_addr and i386_dr_low.unset_status. Install + amd64_linux_dr_get_control as i386_dr_low.get_control. Install + amd64_linux_dr_get_addr as i386_dr_low.get_addr. Install + amd64_linux_prepare_to_resume. + * i386-linux-nat.c (DR_FIRSTADDR, DR_LASTADDR, DR_STATUS) + (DR_CONTROL): Delete. + (struct arch_lwp_info): New. + (i386_linux_dr): Delete global. + (i386_linux_dr_set_control): Reimplement. + (i386_linux_dr_get_addr): New. + (i386_linux_dr_set_addr): Reimplement. + (i386_linux_dr_get_control): New. + (update_debug_registers_callback): New. + (i386_linux_dr_unset_status): Delete. + (i386_linux_dr_set_addr): Reimplement. + (i386_linux_prepare_to_resume): New. + (i386_linux_new_thread): Change parameter to an lwp pointer. + Reimplement. + (_initialize_i386_linux_nat): No longer install + i386_dr_low.reset_addr and i386_dr_low.unset_status. Install + i386_linux_dr_get_control as i386_dr_low.get_control. Install + i386_linux_dr_get_addr as i386_dr_low.get_addr. Install + i386_linux_prepare_to_resume. + + * arm-linux-nat.c (arm_linux_new_thread): Change parameter to an + lwp pointer. Adjust. + * ia64-linux-nat.c (ia64_linux_new_thread): Likewise. + * mips-linux-nat.c (mips_linux_new_thread): Likewise. + * ppc-linux-nat.c (ppc_linux_new_thread): Likewise. + * s390-nat.c (s390_fix_watch_points): Likewise. + + * i386-darwin-nat.c (DR_FIRSTADDR, DR_LASTADDR, DR_STATUS) + (DR_CONTROL): Delete. + (i386_darwin_dr_reset_addr): Delete. + (i386_darwin_dr_get_addr): New. + (i386_darwin_dr_get_control): New. + * go32-nat.c + (go32_get_dr7, go32_get_dr): New. + (init_go32_ops): No longer install i386_dr_low.reset_addr. + Install go32_get_dr7 as i386_dr_low.get_control. Install + go32_get_dr as i386_dr_low.get_addr. + * i386bsd-nat.c (i386bsd_dr_get): New. + (i386bsd_dr_reset_addr): Delete. + (i386bsd_dr_get_addr): New. + (i386bsd_dr_get_status): Use i386bsd_dr_get. + (i386bsd_dr_get_control): New. + * i386bsd-nat.h (i386bsd_dr_reset_addr): Delete. + (i386bsd_dr_get_addr): New. + (i386bsd_dr_get_control): New. + * i386fbsd-nat.c (_initialize_i386fbsd_nat): No longer install + i386_dr_low.reset_addr and i386_dr_low.unset_status. Install + i386bsd_dr_get_control as i386_dr_low.get_control. Install + i386bsd_dr_get_addr as i386_dr_low.get_addr. + * windows-nat.c (init_windows_ops): No longer install + i386_dr_low.reset_addr and i386_dr_low.unset_status. Install + cygwin_get_dr7 as i386_dr_low.get_control. Install cygwin_get_dr + as i386_dr_low.get_addr. + (cygwin_get_dr): New. + (cygwin_get_dr7): New. + +2011-12-14 Pedro Alves + + * ia64-tdep.c (ia64_memory_remove_breakpoint): Use + target_write_raw_memory. + * m32r-tdep.c (m32r_memory_remove_breakpoint): Use + target_write_raw_memory. + * microblaze-linux-tdep.c + (microblaze_linux_memory_remove_breakpoint): Use + target_write_raw_memory. + * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Use + target_write_raw_memory. + +2011-12-14 Joel Brobecker + + * linespec.c (decode_line_internal): Make static. + +2011-12-14 Yao Qi + + * breakpoint.c (create_breakpoint): Set canonical.addr_string + for static tracepoint. + +2011-12-13 Joel Brobecker + + GDB 7.4 branch created (branch timestamp: 2011-12-13 13:00 UTC) + * version.in: Bump version to 7.4.50.20111213-cvs. + +2011-12-13 Joel Brobecker + + * NEWS: Create a new section for the next release branch. + Rename the section of the current branch, now that it has + been cut. + +2011-12-11 Joel Brobecker + + * ada-lang.c (ada_exception_support_info_sniffer): Improve + error message. + +2011-12-11 Joel Brobecker + + * ada-lang.c (struct ada_inferior_data) [exception_info]: + New field. + (exception_info): Delete. + (ada_exception_support_info_sniffer): Get exception_support_info + data from our per-inferior data. Adjust code accordingly. + (ada_unhandled_exception_name_addr_from_raise): Likewise. + (ada_exception_name_addr_1, ada_exception_sym_name): Ditto. + (ada_executable_changed_observer): Delete. + (_initialize_ada_language): Remove call to + observer_attach_executable_changed. + +2011-12-11 Joel Brobecker + + * ada-lang.c (ada_has_this_exception_support): Raise an error + if we could find the Ada exception hook in the Ada runtime, + but no debugging info for that hook. + +2011-12-11 Joel Brobecker + + * ada-lang.c (ada_has_this_exception_support): New function, + extracted out of ada_exception_sal and ada_exception_sal. + (ada_exception_support_info_sniffer): Simplify by using + ada_has_this_exception_support. + (ada_exception_sal): Replace unnecessary checks by assertions. + Minor simplifications. + +2011-12-10 Andrey Smirnov + + * breakpoint.c (update_global_location_list): Remove nested + definition of `b'(-Wshadow). + +2011-12-10 Andrey Smirnov + + * breakpoint.c (insert_breakpoint_locations): Rename `error' to + `error_flag'(-Wshadow). + +2011-12-10 Andrey Smirnov + + * bfd-target.c (target_bfd_reopen): Rename `bfd' to + `abfd'(-Wshadow). + +2011-12-10 Andrey Smirnov + + * annotate.c (annotate_array_section_begin): Rename `index' to + `idx'(-Wshadow). + +2011-12-10 Andrey Smirnov + + * amd64-tdep.c (amd64_get_unused_input_int_reg): Rename `index' to + `idx'(-Wshadow). + +2011-12-10 Andrey Smirnov + + * amd64-linux-tdep.c (amd64_canonicalize_syscall): Rename + `syscall' to `syscall_number'(-Wshadow). + 2011-12-10 Andrey Smirnov * ada-lang.c (remove_extra_symbols): Rename `remove' to @@ -975,6 +1468,7 @@ 2011-11-15 Doug Evans + PR gdb/8367 * NEWS: Mention new parameter basenames-may-differ. * dwarf2read.c (dw2_lookup_symtab): Avoid calling gdb_realpath if ! basenames_may_differ. @@ -1002,7 +1496,7 @@ 2011-11-14 Doug Evans - Make "!" an alias for "shell". + PR gdb/7200 Make "!" an alias for "shell". * NEWS: Add mention. * cli/cli-cmds.c (init_cli_cmds): Remove xdb_commands condition on adding "!" command, always add it.