+2009-12-09 Joel Brobecker <brobecker@adacore.com>
+
+ * acinclude.m4: Update comment.
+
+2009-12-09 Joel Brobecker <brobecker@adacore.com>
+
+ * acinclude.m4: Link against in-tree libiconv by adding
+ libiconv.a to the LIBS instead of using -liconv.
+ * configure: Regenerate.
+
+2009-12-08 Phil Muldoon <pmuldoon@redhat.com>
+
+ PR python/10804
+
+ * python/py-type.c (typy_range): New Function.
+
+2009-12-07 Doug Evans <dje@google.com>
+
+ * charset.c: Include environ.h.
+ (ignore_line_p): New function.
+ (find_charset_names): Handle older versions of iconv that print
+ human-readable output even if stdout is not a tty.
+
+2009-12-07 Kevin Buettner <kevinb@redhat.com>
+
+ * configure.tgt: Add rx-*-elf target.
+ * rx-tdep.c: New target.
+ * NEWS: Announce Renesas RX support.
+
+2009-12-07 Tristan Gingold <gingold@adacore.com>
+
+ * symfile.h (struct sym_fns): Adjust comment on sym_read.
+ * symfile.c (syms_from_objfile): Pass all symfile flags to sym_read.
+ * dbxread.c (dbx_symfile_read): Rename mainline to symfile_flags,
+ adjust header comment.
+ * elfread.c (elf_symfile_read): Ditto.
+ * somread.c (som_symfile_read): Ditto.
+ * xcoffread.c (xcoff_initial_scan): Ditto.
+ * coffread.c (coff_symfile_read): Rename mainline to symfile_flags.
+ * machoread.c (macho_symfile_read): Ditto.
+ * mipsread.c (mipscoff_symfile_read): Ditto.
+
+2009-12-07 Tristan Gingold <gingold@adacore.com>
+
+ * dbxread.c (dbx_symfile_read): No need to test mainline to call
+ init_psymbol_list.
+ * xcoffread.c (xcoff_initial_scan): Ditto;
+ * coffread.c (coff_symfile_read): Remove call to init_psymbol_list.
+ * elfread.c (elf_symfile_read): Ditto.
+ * machoread.c (macho_symfile_read): Ditto.
+
+2009-12-04 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * valops.c (value_struct_elt_for_reference): Do not rely on
+ field order.
+
+2009-12-03 Richard Ward <richard.j.ward1@googlemail.com>
+
+ * python/py-type.c (convert_field): New attribute "is_base_class".
+
+2009-12-03 Tom Tromey <tromey@redhat.com>
+
+ * python/python.c (gdbpy_parse_and_eval): New function.
+ (GdbMethods): Add "parse_and_eval".
+
+2009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * linux-thread-db.c (find_new_threads_once): Change errp and err types
+ to td_err_e.
+ (thread_db_find_new_threads_2): Change err type to td_err_e.
+
+2009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
+
+ PR gdb/11022
+
+ * breakpoint.c (invalidate_bp_value_on_memory_change):
+ New function.
+ (_initialize_breakpoint): Add it as memory change observer.
+
+2009-12-03 Tristan Gingold <gingold@adacore.com>
+
+ * machoread.c (macho_sym_fns): Set sym_segment routine.
+
+2009-12-02 Paul Pluzhnikov <ppluzhnikov@google.com>
+
+ * ada-lang.c (ada_value_assign): Use observer_notify_memory_changed.
+ * valops.c (value_assign): Likewise.
+ * defs.h (deprecated_memory_changed_hook): Remove.
+ * top.c (deprecated_memory_changed_hook): Likewise.
+ * interps.c (clear_interpreter_hooks): Adjust.
+
+2009-12-02 Tristan Gingold <gingold@adacore.com>
+
+ * symfile.h (dwarf2_build_psymtabs): Remove mainline parameter in
+ prototype.
+ * dwarf2read.c (dwarf2_build_psymtabs): Remove mainline paramter in
+ definition, simplify code assuming it is always 0.
+ * coffread.c (coff_symfile_read): Adjust call.
+ * elfread.c (elf_symfile_read): Ditto.
+ * machoread.c (macho_symfile_read): Explicitely calls
+ init_psymbol_list if mainline is set.
+
+2009-12-02 Tristan Gingold <gingold@adacore.com>
+
+ * dwarf2read.c (dwarf2_build_psymtabs_easy): Remove mainline parameter.
+ (dwarf2_build_psymtabs_hard): Ditto.
+ (dwarf2_build_psymtabs): Ajust calls.
+ * stabsread.h (elfstab_build_psymtabs): Remove mainline parameter on
+ the prototype.
+ (coffstab_build_psymtabs): Ditto.
+ (stabsect_build_psymtabs): Ditto.
+ * dbxread.c (coffstab_build_psymtabs): Remove mainline parameter on
+ the definition.
+ (elfstab_build_psymtabs): Ditto.
+ (stabsect_build_psymtabs): Ditto.
+ * coffread.c (coff_symfile_read): Adjust call.
+ * elfread.c (elf_symfile_read): Ditto.
+ * somread.c (som_symfile_read): Ditto.
+
+2009-12-02 Tristan Gingold <gingold@adacore.com>
+
+ * charset.c (_initialize_charset): Set a default value to
+ auto_host_charset_name if empty.
+
+2009-12-01 Joseph Myers <joseph@codesourcery.com>
+
+ * gcore.c: Include solib.h.
+ (gcore_create_callback): Call solib_keep_data_in_core when
+ considering not saving memory in core file.
+ * solib-svr4.c (svr4_keep_data_in_core): New.
+ (_initialize_svr4_solib): Initialize
+ svr4_so_ops.keep_data_in_core.
+ * solib.c (solib_keep_data_in_core): New.
+ * solib.h (solib_keep_data_in_core): Declare.
+ * solist.h (struct target_so_ops): Add keep_data_in_core.
+
+2009-11-30 Joseph Myers <joseph@codesourcery.com>
+
+ * configure: Regenerate.
+
+2009-11-28 Vladimir Prus <vladimir@codesourcery.com>
+
+ * target.c (target_terminal_inferior): Use target_can_async_p, not
+ target_is_async_p.
+
+2009-11-27 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * s390-nat.c (s390_can_use_hw_breakpoint): Only support breakpoints
+ of type bp_hardware_watchpoint.
+
+2009-11-27 Joel Brobecker <brobecker@adacore.com>
+
+ * ada-lang.c: Apply some corrections to the previous comment addition.
+
+2009-11-26 Joel Brobecker <brobecker@adacore.com>
+
+ * ada-lang.c: Update the comment explaining how to evaluate
+ Ada expressions.
+
+2009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
+
+ PR gdb/8704
+
+ * breakpoint.c (find_condition_and_thread): Correct task error message.
+ * c-exp.y (yylex): Stop before "thread N", "task N", or abbreviations
+ of those.
+
+2009-11-24 Joel Brobecker <brobecker@adacore.com>
+
+ * acinclude.m4: Include ../config/zlib.m4.
+ * configure.ac: Use AM_ZLIB to check for zlib support.
+ * configure: Regenerate.
+
+2009-11-24 Joel Brobecker <brobecker@adacore.com>
+
+ * 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 <pedro@codesourcery.com>
+
+ * record.c (init_record_ops, init_record_core_ops): Actually
+ install record_stopped_data_address.
+
+2009-11-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ * dwarf2read.c [HAVE_MMAP] (MAP_FAILED): Define if missing.
+
+2009-11-23 Tom Tromey <tromey@redhat.com>
+
+ * dwarf2read.c (find_partial_die): Don't reassign to 'back_to'.
+
+2009-11-23 Michael Snyder <msnyder@vmware.com>
+
+ * NEWS: Mention hw watchpoint fix for process record.
+
+2009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
+
+ * 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 <pedro@codesourcery.com>
+
+ Make hardware breakpoints work for process repord.
+
+ * record.c (record_wait): Only adjust PC on software breakpoints
+ hits.
+
+2009-11-22 Pedro Alves <pedro@codesourcery.com>
+ Michael Snyder <msnyder@vmware.com>
+
+ 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 <pedro@codesourcery.com>
+
+ * 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 <pedro@codesourcery.com>
+
+ * breakpoint.h (struct breakpoint) <watchpoint_thread>: 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 <jan.kratochvil@redhat.com>
+
+ * 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 <jan.kratochvil@redhat.com>
+
+ 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 <jan.kratochvil@redhat.com>
+ Pedro Alves <pedro@codesourcery.com>
+
+ 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 <msnyder@vmware.com>
+
+ * 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 <pedro@codesourcery.com>
+
+ * breakpoint.c (update_global_location_list): Fix duplicate
+ locations detection.
+
+2009-11-20 Pedro Alves <pedro@codesourcery.com>
+
+ * 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 <brobecker@adacore.com>
+
+ * ada-lang.c (discrete_type_p): TYPE_CODE_BOOL is also a discrete type.
+
+2009-11-19 Joel Brobecker <brobecker@adacore.com>
+
+ * completer.c (complete_line_internal): Make sure the command
+ completer is not NULL before calling it.
+
+2009-11-19 Jerome Guitton <guitton@adacore.com>
+
+ * 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 <brobecker@adacore.com>
+
+ 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 <brobecker@adacore.com>
+
+ * ada-lang.c (ada_decode): Add handling of "TB" suffixes for
+ task bodies.
+
+2009-11-19 Joel Brobecker <brobecker@adacore.com>
+
+ * 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 <pedro@codesourcery.com>
+
+ * breakpoint.c (breakpoint_address_bits): Visit all locations'
+ gdbarchs, not the breakpoint's gdbarch.
+
+2009-11-18 Vladimir Prus <vladimir@codesourcery.com>
+
+ * 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 <tromey@redhat.com>
+
+ * symtab.c (symbol_set_names): Correctly set 'name' on symbol when
+ lookup name differs.
+
+2009-11-18 Tristan Gingold <gingold@adacore.com>
+
+ * machoread.c (macho_oso_symfile): Fix typo. Add comments.
+
+2009-11-17 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * dbxread.c (set_namestring): Remove cast to unsigned. Check N_STRX
+ overflow.
+
+2009-11-17 Nathan Sidwell <nathan@codesourcery.com>
+
+ * features/m68k-core.xml: New file.
+
+2009-11-17 Nathan Sidwell <nathan@codesourcery.com>
+
+ * regformats/reg-cf.dat: New file.
+
+2009-11-17 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * 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 <jan.kratochvil@redhat.com>
+
+ Fix wrong debug output with `set debug infrun 1'.
+ * gdb/infrun.c (handle_inferior_event <debug_infrun>): 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 <tromey@redhat.com>
+
+ * 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 <pedro@codesourcery.com>
+
+ * 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 <pedro@codesourcery.com>
+
+ * 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) <breakpoints_not_allowed>:
+ New field.
+ * infrun.c (handle_inferior_event): Clear it.
+ * linux-nat.c (linux_child_follow_fork): Set it.
+
+2009-11-13 Doug Evans <dje@google.com>
+
+ * 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 <dan@codesourcery.com>
* inline-frame.c (find_inline_frame_state): Check for changed PC