-2007-02-28 Vladimir Prus <vladimir@codesourcery.com>
+2007-03-29 Joel Brobecker <brobecker@adacore.com>
+
+ * stabsread.c (add_undefined_type): Add extra parameter.
+ Now handles nameless types separately.
+ (struct nat): New type.
+ (noname_undefs, noname_undefs_allocated, noname_undefs_length):
+ New static variables.
+ (read_type): Update calls to add_undefined_type.
+ (add_undefined_type_noname): New function.
+ (add_undefined_type_1): Renames from add_undefined_type.
+ (cleanup_undefined_types_noname): New function.
+ (cleanup_undefined_types_1): Renames cleanup_undefined_types.
+ (cleanup_undefined_types): New handles nameless types separately.
+ (_initialize_stabsread): Initialize our new static constants.
+
+2007-03-29 Denis Pilat <denis.pilat@st.com>
+
+ * configure.ac: Test for signal.h.
+ * configure, config.in: Regenerate.
+
+2007-03-29 Denis Pilat <denis.pilat@st.com>
+
+ * stack.c (print_stack_frame): Always use LOC_AND_ADDRESS in MI output.
+ * infrun.c (normal_stop): Remove MI specific frame printing treatment.
+
+2007-03-29 Pedro Alves <pedro_alves@portugalmail.pt>
+
+ * arm-wince-tdep.c: New.
+ * config/arm/wince.mt (DEPRECATED_TM_FILE): Use tm-arm.h.
+ (MT_CFLAGS): Delete.
+ (TM_CLIBS): Delete.
+ (TDEPFILES): Add arm-wince-tdep.o, corelow.o, solib.o,
+ solib-legacy.o, solib-svr4.o, and remove wince.o.
+ * configure.tgt (arm*-*-mingw32ce*): Add.
+ * signals/signals.c [HAVE_SIGNAL_H]: Check.
+ (do_target_signal_to_host): Silence 'not used' warning.
+ * config/arm/tm-wince.h: Remove.
+
+2007-03-28 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * arch-utils.c (legacy_pc_in_sigtramp): Remove.
+ * arch-utils.h (legacy_pc_in_sigtramp): Remove.
+
+ * config/ia64/linux.mt (DEPRECATED_TM_FILE): Remove.
+ * config/ia64/tm-linux.h: Remove file.
+ * ia64-tdep.h (struct gdbarch_tdep): Add pc_in_sigtramp callback.
+ * ia64-tdep.c (ia64_sigtramp_frame_sniffer): Use it instead of
+ legacy_pc_in_sigtramp.
+ (ia64_gdbarch_init): Initialize tdep->pc_in_sigtramp.
+ * ia64-linux-tdep.c (ia64_linux_pc_in_sigtramp): Make static.
+ Remove func_name argument.
+ (ia64_linux_init_abi): Install it as tdep->pc_in_sigtramp.
+
+ * infrun.c (HAVE_STEPPABLE_WATCHPOINT): Do not redefine.
+ * target.c (update_current_target): Add to_have_steppable_watchpoint.
+ * target.h (struct target_ops): Add to_have_steppable_watchpoint.
+ (HAVE_STEPPABLE_WATCHPOINT): Define.
+
+ * config/ia64/linux.mh (NATDEPFILES): Remove core-aout.o.
+ * config/ia64/nm-linux.h (KERNEL_U_ADDR, U_REGS_OFFSET,
+ CANNOT_FETCH_REGISTER, CANNOT_STORE_REGISTER,
+ TARGET_CAN_USE_HARDWARE_WATCHPOINT, HAVE_STEPPABLE_WATCHPOINT,
+ STOPPED_BY_WATCHPOINT, target_stopped_data_address,
+ target_insert_watchpoint, target_remove_watchpoint): Remove.
+ (FETCH_INFERIOR_REGISTERS): Define.
+ * ia64-linux-nat.c (ia64_register_addr): Make static.
+ (ia64_cannot_fetch_register, ia64_cannot_store_register): Likewise.
+ (ia64_linux_insert_watchpoint): Make static. Remove ptid_p argument.
+ (ia64_linux_remove_watchpoint): Likewise. Add type argument.
+ (ia64_linux_stopped_data_address): Make static. Add target_ops.
+ (ia64_linux_stopped_by_watchpoint): Make static.
+ (ia64_linux_can_use_hw_breakpoint): New function.
+ (ia64_linux_fetch_register, ia64_linux_fetch_registers): Likewise.
+ (ia64_linux_store_register, ia64_linux_store_registers): Likewise.
+ (_initialize_ia64_linux_nat): Install register and watchpoint ops.
+
+2007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
+
+ * linespec.c: Include language.h.
+ (find_methods): Add language parameter. Call
+ lookup_symbol_in_language. Pass language down.
+ (add_matching_methods): Likewise. Call
+ lookup_symbol_in_language.
+ (add_constructors): Likewise.
+ (find_method): Pass sym_class to collect_methods.
+ (collect_methods): Add sym_class parameter. Pass language
+ down.
+ * symtab.c (lookup_symbol): Rename to ...
+ (lookup_symbol_in_language): ... this. Add language
+ parameter. Use passed language instead of current_language.
+ (lookup_symbol): New as wrapper around
+ lookup_symbol_in_language.
+ (lookup_symbol_aux): Add language parameter. Use passed
+ language instead of current_language.
+ (search_symbols): Indent.
+ * symtab.h (enum language): Forward declare.
+ (lookup_symbol_in_language): Declare.
+ (lookup_symbol): Update description.
+ * ada-lang.h (lookup_symbol_in_language): Remove declaration.
+ * ada-lang.c (restore_language): Remove.
+ (lookup_symbol_in_language): Remove.
+
+2007-03-27 Pedro Alves <pedro_alves@portugalmail.pt>
+
+ * breakpoint.c (bpstat_num): Add int *num parameter.
+ * breakpoint.h (bpstat_num): Likewise.
+ * infcmd.c (continue_command): Adjust to new bpstat_num
+ interface.
+ (program_info): Likewise.
+
+2007-03-27 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * config/sh/tm-sh.h: Remove file.
+ * config/sh/embed.mt (DEPRECATED_TM_FILE): Remove.
+ * config/sh/linux.mt (DEPRECATED_TM_FILE): Remove.
+ * config/sh/nbsd.mt (DEPRECATED_TM_FILE): Remove.
+ * config/sh/tm-wince.h: Do not include "sh/tm-sh.h".
+
+2007-03-27 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * config/sh/tm-sh.h (DEPRECATED_BIG_REMOTE_BREAKPOINT,
+ DEPRECATED_LITTLE_REMOTE_BREAKPOINT): Remove.
+ * remote.c: Remove code under #ifdef DEPRECATED_REMOTE_BREAKPOINT,
+ DEPRECATED_BIG_REMOTE_BREAKPOINT, DEPRECATED_LITTLE_REMOTE_BREAKPOINT.
+ * sh-tdep.c (sh_breakpoint_from_pc): Return remote breakpoint
+ sequence if target_shortname is "remote".
+
+2007-03-27 Anton Blanchard <anton@samba.org>
+
+ * rs6000-tdep.c (rs6000_frame_cache): Use tdep->lr_frame_offset
+ instead of wordsize when looking for the LR in a stack frame.
+
+2007-03-27 Andreas Schwab <schwab@suse.de>
+ Daniel Jacobowitz <dan@codesourcery.com>
+
+ * dwarf2-frame.c (dwarf2_frame_eh_frame_regnum): Rename to...
+ (dwarf2_frame_adjust_regnum): ...this. Make static. Add eh_frame_p
+ argument. Update all callers.
+ (struct dwarf2_frame_ops): Replace eh_frame_regnum with adjust_regnum.
+ (dwarf2_frame_set_eh_frame_regnum): Rename to...
+ (dwarf2_frame_set_adjust_regnum): ...this. Update argument type.
+ * dwarf2frame.h (dwarf2_frame_set_eh_frame_regnum): Rename to...
+ (dwarf2_frame_set_adjust_regnum): ...this.
+ (dwarf2_frame_eh_frame_regnum): Delete prototype.
+ * rs6000-tdep.c: Include "dwarf2-frame.h".
+ (rs6000_adjust_frame_regnum): Define.
+ (rs6000_gdbarch_init): Enable use of DWARF CFI frame unwinder.
+ Register rs6000_adjust_frame_regnum.
+
+ * Makefile.in (rs6000-tdep.o): Update dependencies.
+
+2007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
+
+ * Makefile.in: Add support for a "pdf" target.
+
+2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * amd64-tdep.c (amd64_init_frame_cache): New function.
+ (amd64_alloc_frame_cache, amd64_skip_prologue): Use it.
+
+2007-03-26 Nigel Stephens <nigel@mips.com>
+ Maciej W. Rozycki <macro@mips.com>
+
+ * ui-out.c (ui_out_field_core_addr): Truncate address to
+ TARGET_ADDR_BIT size before printing.
+
+2007-03-22 Nigel Stephens <nigel@mips.com>
+ Maciej W. Rozycki <macro@mips.com>
+
+ * remote-mips.c (mips_xfer_memory): Update prototype.
+
+2007-03-22 Joel Brobecker <brobecker@adacore.com>
+
+ * symfile.h: #include "symtab.h"
+
+2007-03-22 Denis Pilat <denis.pilat@st.com>
+
+ * utils.c (pagination_on_command, pagination_off_command):
+ Remove useless prototypes.
+
+2007-03-21 Pierre Muller <muller@ics.u-strasbg.fr>
+
+ Fix PR pascal/2232.
+ * p-valprint.c (pascal_object_print_value): Use type_name_no_tag
+ instead of TYPE_NAME for object base class name.
+
+
+2007-03-19 Kevin Buettner <kevinb@redhat.com>
+
+ * mep-tdep.c (mep_analyze_frame_prologue, mep_frame_this_id):
+ Specify frame type in calls to frame_func_unwind().
+
+2007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * rs6000-tdep.c (rs6000_skip_prologue): Use skip_prologue_using_sal.
+ (rs6000_in_function_epilogue_p): Use extract_unsigned_integer.
+ (refine_prologue_limit): Delete.
+ (skip_prologue): Don't call it. Use extract_unsigned_integer.
+ Assume lim_pc is set. Correct check for incomplete prologues.
+ Do not skip clobbers of the frame pointer.
+ * symtab.c (skip_prologue_using_sal): Fail if there is only one
+ sal.
+
+2007-03-13 Nathan Froyd <froydnj@codesourcery.com>
+
+ * frame.c (frame_pop): Check to see whether there's a frame to
+ which we can pop first.
+
+2007-03-13 Nathan Froyd <froydnj@codesourcery.com>
+
+ * MAINTAINERS (Write After Approval): Add myself.
+
+2007-03-09 Markus Deuling <deuling@de.ibm.com>
+
+ * infrun.c (breakpoints_failed): Remove unnecessary variable.
+ (handle_inferior_event): Remove unnecessary braces.
+ * breakpoint.c (bpstat_what): Remove wrong comment.
+
+2007-03-09 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * spu-tdep.c (spu_in_function_epilogue_p): New function.
+ (spu_gdbarch_init): Install it.
+
+2007-03-08 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * spu-linux-nat.c (spu_xfer_partial): Return -1 for unsupported
+ object types, not 0.
+
+2007-03-08 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * spu-tdep.c (spu_frame_align): New function.
+ (spu_gdbarch_init): Install it. Set call dummy location to ON_STACK.
+
+2007-03-08 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * spu-tdep.c (spu_unwind_pc): Mask off interrupt enable bit.
+ (spu_software_single_step): Likewise.
+ (spu_read_pc, spu_write_pc): New functions.
+ (spu_gdbarch_init): Install them.
+
+2007-03-08 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * cli/cli-dump.c (struct callback_data): load_offset needs to
+ have signed long type.
+
+2007-03-07 Joel Brobecker <brobecker@adacore.com>
+
+ * mips-tdep.c (mips_insn16_frame_cache, mips_insn32_frame_sniffer):
+ Revert the previous change that had some unexpected side-effects
+ on mips32.
+ (mips_insn16_frame_cache, mips_insn32_frame_cache): Use the proper
+ function to get the address of the calling instruction.
+
+2007-03-07 Denis Pilat <denis.pilat@st.com>
+
+ * tui/tui-hooks.c (tui_selected_frame_level_changed_hook): Replace
+ get_selected_frame by deprecated_safe_get_selected_frame.
+
+2007-03-02 Mark Kettenis <kettenis@gnu.org>
+
+ * shnbsd-tdep.c: Include "regset.h", "gdb_assert.h" and
+ "gdb_string.h". Don't include "nbsd-tdep.h".
+ (SIZEOF_STRUCT_REG): Remove.
+ (SHNBSD_SIZEOF_GREGS): New.
+ (shnbsd_supply_gregset, shnbsd_collect_gregset)
+ (shnbsd_regset_from_core_section): New functions.
+ (fetch_core_registers, fetch_elfcore_registers): Remove functions.
+ (shnbsd_supply_reg, shnbsd_fill_reg): Simply call
+ shnbsd_supply_gregset, shnbsd_collect_gregset.
+ (shnbsd_gregset): New variable.
+ (shnbsd_init_abi): Set regset_from_core_section.
+ (GDB_OSABI_NETBSD_CORE): New define.
+ (shnbsd_core_osabi_sniffer): New function.
+ (_initialize_shnbsd_tdep): Register shnbsd_core_osabi_sniffer.
+ * Makefile.in (shnbsd-tdep.o): Update dependencies.
+ * config/sh/nbsd.mt (TDEPFILES): Add corelow.o, remove
+ nbsd-tdep.o.
+ * config/sh/obsd.mt (TDEPFILES): Remove nbsd-tdep.o.
+
+2007-02-28 Joel Brobecker <brobecker@adacore.com>
+
+ * gdbtypes.c (replace_type): Fix typo that caused us to not update
+ length of the types referenced by the new type CV ring.
+
+2007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * frame.c (frame_pop, frame_observer_target_changed): Call
+ reinit_frame_cache.
+ (flush_cached_frames): Rename to reinit_frame_cache and delete
+ old implementation.
+ * frame.h (flush_cached_frames): Delete prototype and update comment.
+
+ * bsd-kvm.c (bsd_kvm_open, bsd_kvm_proc_cmd, bsd_kvm_pcb_cmd): Call
+ reinit_frame_cache instead of flush_cached_frames. Do not call
+ select_frame after reinit_frame_cache.
+ * corelow.c (core_open): Likewise.
+ * gdbarch.sh (deprecated_current_gdbarch_select_hack): Likewise.
+ * infrun.c (prepare_to_proceed, context_switch)
+ (handle_inferior_event): Likewise.
+ * linux-fork.c (fork_load_infrun_state): Likewise.
+ * ocd.c (ocd_start_remote): Likewise.
+ * remote-e7000.c (e7000_start_remote): Likewise.
+ * remote-mips.c (device): Likewise.
+ * thread.c (switch_to_thread): Likewise.
+ * tracepoint.c (finish_tfind_command): Likewise.
+ * gdbarch.c: Regenerated.
+
+2007-02-28 Jerome Guitton <guitton@adacore.com>
+ Joel Brobecker <brobecker@adacore.com>
+
+ * gdbtypes.c (check_typedef): Do not replace stub type if
+ the resolved type is not defined in the same objfile.
+
+2007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * top.c (gdb_readline_wrapper_cleanup): Remove invalid assertion.
+
+2007-02-28 Joel Brobecker <brobecker@adacore.com>
+
+ * stabsread.c (define_symbol): Create an associated STRUCT_DOMAIN
+ symbol for Ada units when the symbol is defined using 't' rather
+ than 'Tt' as symbol descriptor.
+
+2007-02-28 Ulrich Weigand <uweigand@de.ibm.com>
* config/mips/tm-nbsd.h: Delete file.
* config/mips/nbsd.mt (DEPRECATED_TM_FILE): Remove.