X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2FChangeLog;h=a1056d7d61b59081086c336985ab24fb4c4a7926;hb=3dba1c9899d02d3dde715498124073c23638fd6f;hp=77ec5c0f1f3693b62e07b8c850e428e34705650c;hpb=07b7cff327f1a5ca633e24408cc3be62d4bb4c01;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 77ec5c0f1f..a1056d7d61 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,751 @@ +2009-11-24 Joel Brobecker + + * breakpoint.c (expand_line_sal_maybe): Adjust adjust the SAL + past the function prologue in the case where we were given only + one SAL. + +2009-11-24 Pedro Alves + + * record.c (init_record_ops, init_record_core_ops): Actually + install record_stopped_data_address. + +2009-11-23 Rainer Orth + + * dwarf2read.c [HAVE_MMAP] (MAP_FAILED): Define if missing. + +2009-11-23 Tom Tromey + + * dwarf2read.c (find_partial_die): Don't reassign to 'back_to'. + +2009-11-23 Michael Snyder + + * NEWS: Mention hw watchpoint fix for process record. + +2009-11-23 Paul Pluzhnikov + + * cli/cli-cmds.c (disassemble_command): Split on comma. + (init_cli_cmds): Update help. + * NEWS: Mention incompatible change to 'disassemble'. + +2009-11-22 Pedro Alves + + Make hardware breakpoints work for process repord. + + * record.c (record_wait): Only adjust PC on software breakpoints + hits. + +2009-11-22 Pedro Alves + Michael Snyder + + Make hardware watchpoints work for process record. + + * breakpoint.c (hardware_watchpoint_inserted_in_range): New. + * breakpoint.h (hardware_watchpoint_inserted_in_range): Declare. + * record.c (record_beneath_to_stopped_by_watchpoint) + (record_beneath_to_stopped_data_address, record_hw_watchpoint): + New globals. + (record_exec_insn): Check for watchpoint hits. + (tmp_to_stopped_by_watchpoint, tmp_to_stopped_data_address): New + globals. + (record_open): Set tmp_to_stopped_by_watchpoint, + tmp_to_stopped_data_address, + record_beneath_to_stopped_by_watchpoint and + record_beneath_to_stopped_data_address. + (record_wait): Report watchpoint hits to the core. Update and + extend comments. + (record_stopped_by_watchpoint): New. + (record_stopped_data_address): New. + (init_record_ops): Install them. + (init_record_core_ops): Ditto. + +2009-11-21 Pedro Alves + + * breakpoint.c (update_watchpoint): Skip creating locations and + reading the selected frame if there's no execution. + (bpstat_stop_status): Use is_hardware_watchpoint. If not + stopping, update watchpoints and the global location list, instead + of removing and inserting all breakpoints. + (breakpoint_address_is_meaningful): Hardware watchpoints also have + a meaningful target address. + (watchpoint_locations_match): New. + (breakpoint_locations_match): New. + (watch_command_1): Create the watchpoint breakpoint without any + location initially. Use update_watchpoint to create the + watchpoint locations. + (update_global_location_list): Use breakpoint_locations_match, so + watchpoint locations are handled too. Also detect duplicate + watchpoint locations. + +2009-11-21 Pedro Alves + + * breakpoint.h (struct breakpoint) : New field. + * breakpoint.c (watchpoint_in_thread_scope): New. + (update_watchpoint): Skip if the local watchpoint's thread doesn't + match the current thread, or if the current thread is running. + (watchpoint_check): Ditto. + (watch_command_1): Set the watchpoint's watchpoint_thread field. + +2009-11-20 Jan Kratochvil + + * breakpoint.c (bp_location_compare): Change parameter a to ap and b to + bp. New variables a and b. + (bp_location_compare_for_qsort): Remove. + (update_global_location_list): Use now bp_location_compare. + +2009-11-20 Jan Kratochvil + + Fix repeated rwatch output. + * amd64-linux-nat.c (amd64_linux_dr_set, amd64_linux_dr_set_control) + (amd64_linux_dr_set_addr, amd64_linux_dr_reset_addr) + (amd64_linux_dr_get_status): New comments. + (amd64_linux_dr_unset_status): New function. + (_initialize_amd64_linux_nat): Install it. + * i386-linux-nat.c (i386_linux_dr_get, i386_linux_dr_set) + (i386_linux_dr_set_control, i386_linux_dr_set_addr) + (i386_linux_dr_reset_addr, i386_linux_dr_get_status): New comments. + (i386_linux_dr_unset_status): New function. + (_initialize_i386_linux_nat): Install it. + * i386-nat.c (I386_DR_WATCH_MASK): New macro. + (I386_DR_WATCH_HIT): Use I386_DR_WATCH_MASK. + (i386_insert_aligned_watchpoint): Call i386_dr_low.unset_status. + * i386-nat.h (struct i386_dr_low_type): Extend comments for + set_control, set_addr, reset_addr and get_status. New unset_status. + * breakpoint.c (update_watchpoint): Extend the comment. + +2009-11-20 Jan Kratochvil + Pedro Alves + + Fix reordered watchpoints triggered in other threads during all-stop. + + * linux-nat.c (resume_callback, linux_nat_resume): Clear + stopped_by_watchpoint. + (save_sigtrap, linux_nat_stopped_by_watchpoint) + (linux_nat_stopped_data_address): New. + (stop_wait_callback, linux_nat_filter_event): Call save_sigtrap. + (linux_nat_add_target): Install linux_nat_stopped_by_watchpoint + and linux_nat_stopped_data_address. + * linux-nat.h (struct lwp_info): New fields stopped_by_watchpoint, + stopped_data_address_p and stopped_data_address. + +2009-11-20 Michael Snyder + + * target.h (struct target_ops): New methods to_get_bookmark + and to_goto_bookmark. + (target_get_bookmark): New macro. + (target_goto_bookmark): New macro. + * target.c (dummy_get_bookmark): New function, default implementation. + (dummy_goto_bookmark): New function, default implementation. + (update_current_target): Inherit new methods. + * record.c (record_get_bookmark): New function. + (record_goto_bookmark): New function. + (init_record_ops): Set to_get_bookmark and to_goto_bookmark methods. + * reverse.c (struct bookmark): New type. + (save_bookmark_command): New function (command). + (delete_bookmark_command): New function (command). + (goto_bookmark_command): New function (command). + (bookmarks_info): New function (command). + (_initialize_reverse): Add new bookmark commands. + * command.h (enum command_class): Add class_bookmark. + * NEWS: Mention bookmark commands. + +2009-11-20 Pedro Alves + + * breakpoint.c (update_global_location_list): Fix duplicate + locations detection. + +2009-11-20 Pedro Alves + + * infrun.c (handle_inferior_event): Hardware hatchpoint traps are + never random signals. + * breakpoint.c (update_global_location_list): Always delete + immediately delete hardware watchpoint locations and other + locations whose target address isn't meaningful. Update comment + explaining the hazard of moribund locations. + +2009-11-19 Joel Brobecker + + * ada-lang.c (discrete_type_p): TYPE_CODE_BOOL is also a discrete type. + +2009-11-19 Joel Brobecker + + * completer.c (complete_line_internal): Make sure the command + completer is not NULL before calling it. + +2009-11-19 Jerome Guitton + + * ada-lang.c (packed_array_type): Rename to... + (constrained_packed_array_type): ...and update comment. + (decode_packed_array, decode_constrained_packed_array): Ditto. + (decode_packed_array_type, decode_constrained_packed_array_type): + Ditto. + (ada_is_constrained_packed_array_type): New function. + (ada_is_unconstrained_packed_array_type): New function. + (decode_packed_array_bitsize): New function, extracted from + decode_packed_array_type. + (ada_type_of_array): Add support for unconstrained packed arrays. + (ada_coerce_to_simple_array_ptr, ada_coerce_to_simple_array) + (ada_array_bound_from_type, ada_array_bound, ada_array_length) + (ada_prefer_type, to_fixed_array_type, ada_evaluate_subexp): Resync. + * ada-lang.h (ada_is_packed_array_type, + ada_is_constrained_packed_array_type): Renaming. + * ada-valprint.c (ada_val_print_1): Resync. + * ada-typeprint.c (print_array_type, ada_print_type): Resync. + +2009-11-19 Joel Brobecker + + Wrong function used to perform address addition/subtraction. + * ada-lang.c (ada_type_match): Stop making TYPE_CODE_VOID + a wildcard matching any type. For types that we don't already + handle specifically, make sure that both types have the same code. + +2009-11-19 Joel Brobecker + + * ada-lang.c (ada_decode): Add handling of "TB" suffixes for + task bodies. + +2009-11-19 Joel Brobecker + + * ada-lang.c (ada_remove_Xbn_suffix): New function. + (find_old_style_renaming_symbol): Add handling for function suffixes + present in the name of various procedures. + Do not overwrite the function symbol's name. + +2009-11-19 Pedro Alves + + * breakpoint.c (breakpoint_address_bits): Visit all locations' + gdbarchs, not the breakpoint's gdbarch. + +2009-11-18 Vladimir Prus + + * cli/cli-script.c (process_next_line): Recognize 'end' + even when the line has leading space and we're not parsing + commands. + +2009-11-18 Tom Tromey + + * symtab.c (symbol_set_names): Correctly set 'name' on symbol when + lookup name differs. + +2009-11-18 Tristan Gingold + + * machoread.c (macho_oso_symfile): Fix typo. Add comments. + +2009-11-17 Jan Kratochvil + + * dbxread.c (set_namestring): Remove cast to unsigned. Check N_STRX + overflow. + +2009-11-17 Nathan Sidwell + + * features/m68k-core.xml: New file. + +2009-11-17 Nathan Sidwell + + * regformats/reg-cf.dat: New file. + +2009-11-17 Daniel Jacobowitz + + * m68k-tdep.c (m68k_register_name): Check fpregs_present. + (m68k_gdbarch_init): Remove a duplicate of set_gdbarch_fp0_regnum. + +2009-11-17 Jan Kratochvil + + Fix wrong debug output with `set debug infrun 1'. + * gdb/infrun.c (handle_inferior_event ): New variable + old_chain. Temporarily switch INFERIOR_PTID. + * target.h (target_stopped_by_watchpoint): Extend the comment. + (target_stopped_data_address): New comment. + +2009-11-16 Tom Tromey + + * xcoffread.c (scan_xcoff_symtab): Update. + * symfile.h (add_psymbol_to_list): Update prototype. + * symfile.c (add_psymbol_to_bcache): Add copy_name argument. + (add_psymbol_to_list): Likewise. + * stabsread.c (define_symbol): Update. + * mdebugread.c (parse_partial_symbols): Update. + (handle_psymbol_enumerators): Update. + (new_symbol): Update. + * dbxread.c (read_dbx_symtab): Update. + * coffread.c (process_coff_symbol): Update. + * symtab.h (prim_record_minimal_symbol_full): Declare. + (SYMBOL_SET_NAMES): Add copy_name argument. + * symtab.c (struct demangled_name_entry): New struct. + (hash_demangled_name_entry): New function. + (eq_demangled_name_entry): Likewise. + (create_demangled_names_hash): Use new functions. + (symbol_set_names): Use struct demangled_name_entry. Add + copy_name argument. + * minsyms.c (prim_record_minimal_symbol_full): New function. + (prim_record_minimal_symbol_and_info): Use it. + * elfread.c (record_minimal_symbol): Add name_len and copy_name + arguments. Call prim_record_minimal_symbol_full. + (elf_symtab_read): Add copy_names argument. + (elf_symfile_read): Update calls to elf_symtab_read. + * dwarf2read.c (add_partial_symbol): Don't copy symbol names. + (load_partial_dies): Likewise. + (new_symbol): Likewise. + * cp-namespace.c (check_one_possible_namespace_symbol): Don't save + name on the obstack. Update call to SYMBOL_SET_NAMES. + +2009-11-15 Pedro Alves + + * infrun.c (handle_inferior_event): When handling a fork or vfork + event, check if the bpstat causes a stop, instead of if it + explains the signal. + * breakpoint.c (bpstat_causes_stop): New. + * breakpoint.h (bpstat_causes_stop): Declare. + +2009-11-15 Pedro Alves + + * breakpoint.c (should_be_inserted): Don't insert breakpoints if + the pspace doesn't allow breakpoints. + (insert_breakpoint_locations): Remove waiting_for_vfork_done + special case. Expect watchpoints that shouldn't be inserted, to + not be inserted. + * progspace.h (struct program_space) : + New field. + * infrun.c (handle_inferior_event): Clear it. + * linux-nat.c (linux_child_follow_fork): Set it. + +2009-11-13 Doug Evans + + * dcache.c (dcache_hit, dcache_read_line): Tweak comments. + (dcache_peek_byte, dcache_init, dcache_xfer_memory): Ditto. + * target.c (memory_xfer_partial): Tweak comments. + (target_xfer_partial, target_write_memory): Add comment. + (target_read_partial): Remove note from 2003-10-21. + (target_read, target_write): Add comments. + +2009-11-13 Daniel Jacobowitz + + * inline-frame.c (find_inline_frame_state): Check for changed PC + here... + (inline_frame_sniffer): ... not here. + +2009-11-13 Daniel Jacobowitz + + * ui-file.c (stdio_file_read): Call gdb_select before read. + +2009-11-13 Maciej W. Rozycki + + * mips-tdep.c (mips_insn16_frame_this_id): Mark the outermost + frame. + (mips_insn32_frame_this_id): Likewise. + +2009-11-13 Maciej W. Rozycki + + * elfread.c (elf_symtab_read): Only mark a minimal symbol as + special if it actually exists. Merge the checks for this + conditions. + +2009-11-13 Kazu Hirata + Maxim Kuvyrkov + + * remote-fileio.c (remote_fileio_request): Send Ctrl-C if it is + pending. + * remote-fileio.h: Update the prototype for remote_fileio_request. + * remote.c (struct remote_state): Add ctrlc_pending_p. + (remote_open_1): Clear ctrlc_pending_p. + (remote_stop_as): Set ctrlc_pending_p to 1. + (remote_wait_as): Pass ctrlc_pending_p to remote_fileio_request. + +2009-11-13 Daniel Jacobowitz + + * arm-tdep.c (arm_skip_stub): Recognize RealView veneer functions. + +2009-11-13 Maciej W. Rozycki + + * breakpoint.c (update_watchpoint): Only fiddle with frames for + local watchpoints. + +2009-11-13 Pedro Alves + + * infrun.c (handle_inferior_event): Set stop_print_frame on + TARGET_WAITKIND_LOADED events, if stopping on solib-events. + +2009-11-13 Doug Evans + + * dcache.c (dcache_block): Replace member newer with next,prev. + (dcache_struct): Delete member newest. + (block_func): New typedef. + (append_block, remove_block, for_each_block): New functions. + (invalidate_block, free_block): New functions. + (dcache_invalidate): Update + (dcache_invalidate_line, dcache_alloc): Update to use new list + accessors. + (dcache_free): Ditto. Fix memory leak. + +2009-11-13 Paul Pluzhnikov + + * python/py-prettyprint.c (print_string_repr): Suppress + address printing + +2009-11-13 Tristan Gingold + + * avr-tdep.c (avr_push_dummy_call): Fix endianness issue and avoid + overlap between returned structure and return address/parameters. + +2009-11-12 Daniel Jacobowitz + + * remote-fileio.c (remote_fileio_func_read): Limit console + reads to 16K. + +2009-11-12 Daniel Jacobowitz + Paul Brook + + * c-typeprint.c (c_type_print_base): Skip artificial fields. + Use get_vptr_fieldno to skip the vtable pointer. + * dwarf2read.c (dwarf2_add_field): Set FIELD_ARTIFICIAL on artificial + fields. + (dwarf2_add_member_fn): Complain about virtual member functions + without DW_AT_vtable_elem_location and force TYPE_CPLUS_DYNAMIC. + * gdbtypes.c (get_vptr_fieldno): Update comment. + * gdbtypes.h (struct cplus_struct_type): Add is_dynamic. + (TYPE_CPLUS_DYNAMIC): New macro. + * gnu-v3-abi.c (gnuv3_dynamic_class): New. + (gnuv3_get_vtable): Rewrite to use gnuv3_dynamic_class. Move higher. + (gnuv3_rtti_type, gnuv3_get_virtual_fn, gnuv3_baseclass_offset): Use + gnuv3_get_vtable. + * varobj.c (cplus_class_num_children, cplus_describe_child): Skip + artificial fields. Use get_vptr_fieldno to skip the vtable pointer. + +2009-11-12 Paul Brook + Daniel Jacobowitz + + * dwarf2read.c (dwarf2_add_member_fn): Calculate virtual function + offset for classes without DW_AT_containing_type. + +2009-11-12 Paul Brook + Daniel Jacobowitz + + * dwarf2read.c (struct field_info): Add baseclasses. + (dwarf2_add_field): Add base classes to a separate list. + (dwarf2_attach_fields_to_type): Merge base classes and fields. + +2009-11-12 Daniel Jacobowitz + + * dwarf2read.c (process_psymtab_comp_unit): Initialize per_cu backlink + at the same time as the forward link. + (load_partial_comp_unit): Initialize per_cu links before calling + init_cu_die_reader. + +2009-11-11 Paul Pluzhnikov + + PR gdb/10838 + * linux-thread-db.c (thread_db_info): New member. + (disable_thread_event_reporting): Call td_ta_clear_event. + +2009-11-11 Keith Seitz + + * linespec.c (lookup_prefix_sym): Lookup the symbol + in both STRUCT_DOMAIN and VAR_DOMAIN. + +2009-11-11 Michael Snyder + + * darwin-nat-info.c: Update copyright. + * dbxread.c: Ditto. + * gdbarch.sh: Ditto. + * gdbarch.c: Ditto. + * gdbarch.h: Ditto. + * inline-frame.c: Ditto. + * inline-frame.h: Ditto. + * s390-nat.c: Ditto. + +2009-11-11 Michael Snyder + + * findvar.c (top level): Fix and add comments. + +2009-11-10 Keith Seitz + + * c-exp.y (operator_stoken): New function. + (OPERATOR): New token. + (NEW): New token. + (DELETE): New token. + (operator): New rule. + (name): Add operator. + (ident_tokens): Add "new", "delete", and "operator". + * gdbtypes.c (rank_one_type): Don't complain about + void pointer conversion badness if both types are + void pointers. + +2009-11-11 Jan Kratochvil + + * symfile.c (separate_debug_file_exists): Change parameter parent_name + to parent_objfile. New variables parent_stat and abfd_stat. Call + strcmp and then bfd_stat functions to verify if NAME matches. + (find_separate_debug_file): Update the passed parameter at caller. + +2009-11-11 Jan Kratochvil + + * objfiles.c (objfile_relocate): Update also the field psymtabs_addrmap. + +2009-11-11 Jan Kratochvil + + * configure.ac: Call ACX_LARGEFILE. + * aclocal.m4: Call m4_include for ../config/largefile.m4 and + ../config/plugins.m4. + * configure: Regenerate. + * config.in: Regenerate. + +2009-11-10 Keith Seitz + + * c-exp.y: Add new rule for resolving method overloads. + * eval.c (make_params): New function. + (free_param_types): New function. + (evaluate_subexp_standard): Pass expect_type to value_aggregate_elt. + Handle case TYPE_INSTANCE. + (evaluate_subexp_for_address): Pass expect_type to value_aggregate_elt. + * expression.h (enum exp_opcode): Add TYPE_INSTANCE. + (compare_parameters): Add declaration. + * parse.c (operator_length_standard): Add TYPE_INSTANCE. + * valops.c (value_aggregate_elt): Add new expect_type parameter. + Pass expect_type to value_struct_elt_for_reference. + (value_struct_elt_for_reference): Add expect_type parameter and use + compare_parameters. + Check for overload matches with and without artificial parameters. + Skip artificial methods. + (compare_parameters): New function. + * value.h (value_aggregate_elt): Add new expect_type parameter. + +2009-11-10 Joseph Myers + + * solib-svr4.c (enable_break): Call + gdbarch_convert_from_func_ptr_addr on results of looking up + fallback symbol names. + +2009-11-10 Daniel Gutson + + * procfs.c (procfs_do_thread_registers): Added a call to fetch + register values before saving them in the core file + through the gcore command. + (procfs_corefile_thread_callback): Removed the backup of + inferior_ptid before calling procfs_do_thread_registers since + the function already saves and restores it before returning. + +2009-11-10 Michael Snyder + + * dcache.c (dcache_invalidate_line): Remove block from used list + when adding it to freed list. + +2009-11-10 Michael Snyder + + * dcache.c: Fix typo, shorten long lines in comment. + +2009-11-10 Tristan Gingold + + * avr-tdep.c: Add AVR_PSEUDO_PC_REGNUM and AVR_NUM_PSEUDO_REGS. + (struct gdbarch_tdep): Add void_type, func_void_type and pc_type + fields. + (avr_register_name): Add "pc" name, renames "PC" to "PC2". + (avr_register_type): Handle AVR_PSEUDO_PC_REGNUM. + (avr_write_pc): Fix indentation. + (avr_pseudo_register_read): New function. + (avr_pseudo_register_write): New function. + (avr_frame_prev_register): Handle AVR_PSEUDO_PC_REGNUM. + (avr_gdbarch_init): Create types for pc. Register pseudo regs. + +2009-11-10 Tristan Gingold + + * avr-tdep.c (avr_integer_to_address): New function. + (avr_gdbarch_init): Set integer_to_address. + +2009-11-10 Tristan Gingold + + * avr-tdep.c (avr_skip_prologue): First try to skip prologue + using skip_prologue_using_sal. + +2009-11-10 Tristan Gingold + + * avr-tdep.c (avr_extract_return_value): Remove. + (avr_return_value): Mostly rewritten. Fix handling for structures. + (avr_push_dummy_call): Handle struct_return. + +2009-11-10 Tristan Gingold + + * avr-tdep.c (avr_scan_prologue): Decode instructions used for + small stack allocation. + Adjust code for prologue that don't write SP. + +2009-11-10 Tristan Gingold + + * avr-tdep.c (avr_make_saddr): Return 0 for NULL. + +2009-11-10 Tristan Gingold + + * avr-tdep.c (avr_dwarf_reg_to_regnum): New function. + (avr_gdbarch_init): Call set_gdbarch_dwarf2_reg_to_regnum. + +2009-11-09 Sebastien Granjoux + + PR mi/9583: + * symtab.c (find_line_symtab, append_exact_match_to_sals) + (expand_line_sal): Use full filename when setting breakpoints if + available + +2009-11-09 Cary Coutant + + * dwarf2read.c (read_import_statement): Don't clobber original cu. + +2009-11-09 Tom Tromey + + * python/python.c (execute_gdb_command): Copy the argument text. + +2009-11-06 Vladimir Prus + + * m68k-tdep.c (m68k_convert_register_p): Correct + messup. + +2009-11-06 Vladimir Prus + + * m68k-tdep.c (m68k_convert_register_p): Compare with + the actual type of fp registers, not one of the possible + values. + +2009-11-06 Vladimir Prus + + Prevent program output from mix with "^running". + + gdb/ + * mi/mi-interp.c (mi_on_resume): Output token + and "^running" together, so that nothing else gets + in between. + +2009-11-05 Daniel Jacobowitz + + * dwarf2read.c (struct dwarf2_cu): Remove ranges_offset and + has_ranges_offset. + (struct partial_die_info): Remove language, has_stmt_list, dirname, + and line_offset. + (dwarf2_build_include_psymtabs): Take a die_info. Handle a missing + line table. + (dwarf2_get_pc_bounds): Take PST argument. Pass it + to dwarf2_ranges_read. Update all callers. + (init_cu_die_reader): Move earlier. + (dwarf2_find_base_address): New function. + (process_psymtab_comp_unit): Rewrite to use a full DIE for the + compilation unit. Use dwarf2_get_pc_bounds and + dwarf2_find_base_address. + (load_comp_unit): Rewrite to use a full DIE for the compilation unit. + (process_full_comp_unit): Use dwarf2_find_base_address. + (read_partial_die): Remove support for attributes only used + in the compilation unit DIE. + * symfile.c (allocate_psymtab): Make FILENAME const. + (start_psymtab_common): Likewise. + * symfile.h (allocate_psymtab, start_psymtab_common): Update + prototypes. + +2009-11-05 Tom Tromey + + * symmisc.c (print_symbol_bcache_statistics): Print filename cache + statistics. + (print_objfile_statistics): Likewise. + * symfile.c (reread_symbols): Initialize filename_cache. + (allocate_symtab): Cache the file name. + (allocate_psymtab): Likewise. + * solib-sunos.c (allocate_rt_common_objfile): Initialize + filename_cache. + * objfiles.h (struct objfile) : New field. + * objfiles.c (allocate_objfile): Initialize filename_cache. + (free_objfile): Free filename_cache. + +2009-11-05 Tom Tromey + + * symfile.c (add_psymbol_to_bcache): Make 'psymbol' static again. + Zero the 'value' field. + +2009-11-05 Doug Evans + + * amd64-tdep.c (amd64_init_frame_cache): Enhance comment describing + saved_regs. + +2009-11-05 Daniel Jacobowitz + + * top.c (execute_command): Select a frame before checking the current + language. Only output a message if verbose. + +2009-11-05 Tom Tromey + + * symtab.h (SYMBOL_SET_LINKAGE_NAME): Update comment. + * symfile.c (allocate_symtab): Don't use obsavestring on a + constant string. + * stabsread.c (define_symbol): Don't use obsavestring on a + constant string. + * mdebugread.c (parse_type): Don't use obsavestring on a constant + string. + (new_symtab): Likewise. + * elfread.c (elf_symtab_read): Don't use obsavestring on a + constant string. + +2009-11-04 Tom Tromey + + * symfile.c (add_psymbol_to_bcache): Don't copy name. Make + 'psymbol' non-static. + +2009-11-03 Paul Pluzhnikov + + * linux-thread-db.c (disable_thread_event_reporting): Adjust. + +2009-11-03 Joel Brobecker + + * MAINTAINERS (Responsible Maintainers): Add Tristan Gingold as + maintainer of the avr target. + +2009-11-02 Daniel Jacobowitz + + * elfread.c (elf_symfile_segments): Do not warn about + uninitialized sections outside of load segments. + +2009-11-02 Jan Kratochvil + + * symfile.c (build_id_to_debug_filename): New variable debugdir. Move + variables size, s and data into a new inner block. Change xmalloc for + alloca, use direct BUILDID->SIZE there now. Loop for the + DEBUG_FILE_DIRECTORY components. + (find_separate_debug_file): New variable debugdir and debugdir_end. + Loop for the DEBUG_FILE_DIRECTORY components. + (_initialize_symfile): For "debug-file-directory" use plural and note + one can use multiple components now. + +2009-11-02 Jan Kratochvil + + * symfile.c (find_separate_debug_file): Initialize dir, debugfile and + canon_name to NULL. Change alloca to xmalloc, newly call xfree for it. + New label cleanup_return_debugfile, jump to it from the failure paths. + +2009-11-02 Andrew Cagney + + * symfile.c (separate_debug_file_exists): When the CRCs mismatch + print a warning. + (find_separate_debug_file): Pass in the objfile's name. + +2009-11-02 Jan Kratochvil + + Remove INVALID_ENTRY_POINT. + * frame.c (inside_entry_func): New variable entry_point. Return 0 if + the entry point is not known. + * solib-irix.c (enable_break): Likewise. + * objfiles.c (init_entry_point_info): Stop using INVALID_ENTRY_POINT. + Initialize EI.ENTRY_POINT_P. + (entry_point_address): Rename to ... + (entry_point_address_query): ... a new function. Use EI.ENTRY_POINT_P. + (entry_point_address): New function. + (objfile_relocate): Use EI.ENTRY_POINT_P. + * objfiles.h (struct entry_info): Simplify entry_point comment. New + field entry_point_p. + (INVALID_ENTRY_POINT): Remove. + (entry_point_address_query): New prototype. + * solib-frv.c (enable_break): Check for NULL SYMFILE_OBJFILE and its + EI.ENTRY_POINT_P. Return 0 if ".interp" is not found. + +2009-11-01 Michael Snyder + + * NEWS (New Commands): Mention record save/restore. + +2009-10-31 Michael Snyder + + * breakpoint.c (bpstat_stop_status): Fix broken comment. + 2009-10-31 Pedro Alves * record.c (record_restore, cmd_record_save): Debug output goes to @@ -96,6 +844,11 @@ * target.c (dummy_find_memory_regions): Change output. (dummy_make_corefile_notes): Ditto. +2009-10-26 Tristan Gingold + + * charset.c (_initialize_charset): Set a default value to + auto_host_charset_name if empty. + 2009-10-26 Tristan Gingold * avr-tdep.c (avr_push_dummy_call): Handle avr6 architecture.