-2004-02-07 Andrew Cagney <cagney@redhat.com>
+2004-02-15 Andrew Cagney <cagney@redhat.com>
+
+ * Makefile.in: Update all dependencies.
+
+ * Makefile.in: (.SUFFIXES): Add ".l" and ".y".
+ (.y.c, .l.c): Specify implicit rule. Instead of .tab.c, generate
+ .c. Update references. Delete unnecessary .tab.c and -lex.c rules.
+ (ada-exp.o, c-exp.o, f-exp.o): Replace ada-exp.tab.o et.al. rule.
+ (jv-exp.o, m2-exp.o, objc-exp.o, p-exp.o): Similar.
+
+2004-02-14 Andrew Cagney <cagney@redhat.com>
+
+ * arch-utils.c (legacy_convert_register_p): Check
+ DEPRECATED_REGISTER_CONVERTIBLE_P.
+ * findvar.c (value_of_register): Ditto.
+
+ * gdbarch.sh (DEPRECATED_REGISTER_CONVERTIBLE): Add predicate.
+ * gdbarch.h, gdbarch.c: Re-generate.
+ * arch-utils.c (deprecated_register_convertible_not): Delete.
+ * arch-utils.h (deprecated_register_convertible_not): Delete.
+ * mi/mi-main.c (get_register): Update. Update copyright.
+ * infcmd.c (default_print_registers_info): Update.
+
+ * gdbarch.sh (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Delete.
+ (DEPRECATED_CALL_DUMMY_STACK_ADJUST): Delete.
+ (DEPRECATED_CALL_DUMMY_ADDRESS): Delete.
+ * gdbarch.h, gdbarch.c: Re-generate.
+ * frame.c (deprecated_get_next_frame_hack): Delete function.
+ * frame.h (deprecated_get_next_frame_hack): Delete declaration.
+ * blockframe.c (deprecated_pc_in_call_dummy_at_entry_point):
+ Update.
+ * infcall.c (call_function_by_hand): Update.
+
+2004-02-14 Elena Zannoni <ezannoni@redhat.com>
+
+ * symfile.c (init_entry_point_info, entry_point_address): Move
+ from here...
+ * objfiles.c (init_entry_point_info, entry_point_address):..to
+ here.
+ * symfile.h (init_entry_point_info, entry_point_address): Remove
+ prototypes.
+ * objfiles.h (init_entry_point_info, entry_point_address):Add
+ prototypes.
+ * cris-tdep.c: Remove include of symfile.h. Add include of
+ objfiles.h.
+ * infcall.c: Ditto.
+ * mcore-tdep.c: Ditto.
+ * mn10300-tdep.c: Ditto.
+ * sh64-tdep.c: Ditto.
+ * v850-tdep.c: Ditto.
+ * arm-tdep.c: Remove include of symfile.h.
+ * blockframe.c: Ditto.
+ * coffread.c: Ditto.
+ * dbxread.c: Ditto.
+ * dwarf2read.c: Ditto.
+ * dwarfread.c: Ditto.
+ * frv-tdep.c: Ditto.
+ * ia64-tdep.c: Ditto.
+ * mdebugread.c: Ditto.
+ * mipsread.c: Ditto.
+ * rs6000-tdep.c: Ditto.
+ * s390-tdep.c: Ditto.
+ * sh-tdep.c: Ditto.
+ * xstormy16-tdep.c: Ditto.
+ * gdbarch.sh: Remove include of symfile.h.
+ * gdbarch.c: Regenerate.
+ * solib-irix.c (enable_break): Use entry_point_address().
+ Add comment about include file.
+ * xcoffread.c: Add comment about include file.
+ * Makefile.in (arm-tdep.o, blockframe.o, coffread.o, cris-tdep.o)
+ (dbxread.o, dwarf2read.o, dwarfread.o, frv-tdep.o, gdbarch.o)
+ (ia64-tdep.o, infcall.o, mcore-tdep.o, mdebugread.o, mipsread.o)
+ (mn10300-tdep.o, rs6000-nat.o, s390-tdep.o, sh64-tdep.o)
+ (sh-tdep.o, v850-tdep.o, xstormy16-tdep.o): Update dependencies.
+
+2004-02-13 Andrew Cagney <cagney@redhat.com>
+
+ * corelow.c (core_xfer_partial): Use "struct bfd_section".
+ * config/sparc/nm-nbsd.h (struct target_ops): Declare, update
+ copyright.
+ * mips-linux-tdep.c: Use "GNU/Linux", update copyright.
+
+2004-02-12 Fred Fish <fnf@redhat.com>
+
+ * m68hc11-tdep.c (m68hc11_gdbarch_init): Remove duplicate call to
+ set_gdbarch_store_return_value.
+
+2004-02-12 Andrew Cagney <cagney@redhat.com>
+
+ * remote-rdi.c (arm_rdi_start_remote): Delete unused function.
+ (arm_rdi_interrupt, arm_rdi_interrupt_twice): Ditto.
+ (interrupt_query): Ditto.
+ (ofunc): Delete unused variable.
+ * cris-tdep.c (cris_abi): Delete unused function.
+ (reg_pop_op, move_reg_to_mem_index_inc_op): Ditto.
+ (cris_get_wide_opcode, cris_get_short_size): Ditto.
+ (cris_get_asr_quick_shift_steps): Ditto.
+ (cris_skip_prologue_frameless_p): Ditto.
+ * arm-tdep.c (arm_push_return_address): Delete unused function.
+ (arm_push_dummy_frame, arm_fix_call_dummy): Ditto.
+ * rs6000-tdep.c (rs6000_pc_in_call_dummy): Delete unused function.
+ * s390-tdep.c (s390_function_start): Delete unused function.
+
+2004-02-12 Andrew Cagney <cagney@redhat.com>
+
+ * gdbarch.sh (PROLOGUE_FRAMELESS_P): Delete.
+ gdbarch.h, gdbarch.c: Re-generate.
+ * cris-tdep.c (cris_gdbarch_init): Do not set prologue_frameless_p
+ to generic_prologue_frameless_p.
+ * arch-utils.h (generic_prologue_frameless_p): Delete declaration.
+ * arch-utils.c (generic_prologue_frameless_p): Delete function.
+
+2004-02-11 Daniel Jacobowitz <drow@mvista.com>
+
+ * mips-linux-tdep.c: Include "frame.h".
+ (mips_linux_in_dynsym_stub, mips_linux_in_dynsym_resolve_code)
+ (mips_linux_skip_resolver): New functions.
+ (mips_linux_init_abi): Call set_gdbarch_skip_solib_resolver
+ and set_gdbarch_in_solib_call_trampoline.
+ * mips-tdep.c (mips_gdbarch_init): Move gdbarch_init_osabi call
+ to after set_gdbarch_in_solib_return_trampoline. Only set the
+ solib hooks to mips16 functions if the OS ABI is unknown.
+ * config/mips/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE): Undefine after
+ including "config/tm-linux.h".
+ (IN_SOLIB_DYNSYM_RESOLVE_CODE): Define.
+ * Makefile.in (mips-linux-tdep.o): Update.
+
+2004-02-11 David Carlton <carlton@kealia.com>
+
+ * linespec.c (decode_compound): Only look for a class symbol when
+ considering all but the rightmost component.
+
+2004-02-11 Andrew Cagney <cagney@redhat.com>
+
+ * hppa-tdep.c (hppa_gdbarch_init): Re-order so that the frame and
+ abi code are are separatly grouped.
+
+2004-02-11 Andrew Cagney <cagney@redhat.com>
+
+ * gdbarch.sh (FRAME_ARGS_SKIP): Default to 0.
+ * gdbarch.h, gdbarch.c: Re-generate.
+ * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
+ * v850-tdep.c (v850_gdbarch_init): Update.
+ * sh64-tdep.c (sh64_gdbarch_init): Update.
+ * sh-tdep.c (sh_gdbarch_init): Update.
+ * s390-tdep.c (s390_gdbarch_init): Update.
+ * mn10300-tdep.c (mn10300_gdbarch_init): Update.
+ * mips-tdep.c (mips_gdbarch_init): Update.
+ * mcore-tdep.c (mcore_gdbarch_init): Update.
+ * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
+ * m32r-tdep.c (m32r_gdbarch_init): Update.
+ * ia64-tdep.c (ia64_gdbarch_init): Update.
+ * hppa-tdep.c (hppa_gdbarch_init): Update.
+ * h8300-tdep.c (h8300_gdbarch_init): Update.
+ * frv-tdep.c (frv_gdbarch_init): Update.
+ * d10v-tdep.c (d10v_gdbarch_init): Update.
+ * cris-tdep.c (cris_gdbarch_init): Update.
+ * avr-tdep.c (avr_gdbarch_init): Update.
+ * arm-tdep.c (arm_gdbarch_init): Update.
+ * alpha-tdep.c (alpha_gdbarch_init): Update.
+
+2004-02-11 Corinna Vinschen <vinschen@redhat.com>
+
+ * sh-tdep.c (sh_sh3_dsp_register_name): Fix formatting. Add missing
+ comma.
+ (sh_sh4al_dsp_register_name): Ditto.
+
+2004-02-10 Andrew Cagney <cagney@redhat.com>
+
+ * mips-tdep.c (mips_gdbarch_init): Delete deprecated frame code.
+ (mips_init_frame_pc_first): Delete function.
+ (mips_frame_saved_pc): Delete function.
+ (mips_frame_chain): Delete function.
+ (mips_init_extra_frame_info): Delete function.
+ (mips_xfer_register): Delete unused variable "reg".
+ (mips_n32n64_push_dummy_call): Delete unused variable "valbuf".
+ (mips_n32n64_return_value): Delete unused variable "reg".
+ (mips_n32n64_return_value): Delete unused variable "pos".
+ (mips_o32_push_dummy_call): Delete unused variable "valbuf".
+ (mips_o32_return_value): Delete unused variable "pos".
+ (mips_o64_push_dummy_call): Delete unused variable "valbuf".
+ (mips_print_fp_register): Delete unused variable "namelen"
+ (mips_print_fp_register): Delete unused variable "flt2"
+ (get_frame_pointer): Delete function.
+ (cached_proc_desc): Delete static variable.
+ (mips_pop_frame): Delete function.
+ (mips_find_saved_regs): Delete function.
+ (mips_get_saved_register): Delete function.
+ (mips_saved_pc_after_call): Delete function.
+ (SIGFRAME_BASE): Delete macro.
+ (SIGFRAME_FPREGSAVE_OFF): Delete macro.
+ (SIGFRAME_PC_OFF): Delete macro.
+ (SIGFRAME_REGSAVE_OFF): Delete macro.
+ (mips_dump_tdep): Do not print deleted macro definitions.
+
+2004-02-10 Andrew Cagney <cagney@redhat.com>
+
+ * Makefile.in (SFILES): Remove explictly listed tui files.
+ (SUBDIR_GDBTK_SRCS): Fix path to gdbtk-interp.c.
+
+2004-02-10 Jeff Johnston <jjohnstn@redhat.com>
+ * ia64-tdep.c (ia64_frame_this_id): Fix tracing print statement
+ to use paddr functions to format ia64 addresses and long values.
+ (ia64_frame_prev_register, ia64_sigtramp_frame_this_id): Ditto.
+ (ia64_sigtramp_frame_prev_register, ia64_access_reg): Ditto.
+ (get_kernel_table, ia64_find_proc_info_x): Ditto.
+ (ia64_get_dyn_info_list, ia64_libunwind_this_frame_id): Ditto.
+ (ia64_libunwind_frame_prev_register, ia64_unwind_dummy_id): Ditto.
+
+2004-02-10 Andrew Cagney <cagney@redhat.com>
+
+ * defs.h: Do not include "tui.h".
+ * gdb_curses.h: New file.
+ * tui/tui-hooks.h: New file.
+ * tui/tui.h (tui_update_all_exec_infos): Delete declaration.
+ (tui_install_hooks, tui_remove_hooks): Delete declarations.
+ (tui_initialize_io): Delete declaration.
+ (tui_initialize_readline: Delete redundant declaration.
+ (struct tui_point): Delete definition.
+ * tui/tui-data.h (struct tui_point): Define.
+ * cli/cli-decode.c [TUI]: Include "tui/tui.h".
+ * utils.c: Include "tui/tui.h".
+ * tui/tui-data.h: Include "tui/tui.h" and "gdb_curses.h".
+ * printcmd.c [TUI]: Include "tui/tui.h".
+ * cli/cli-cmds.c [TUI]: Include "tui/tui.h".
+ * tui/tui-command.c: Include "gdb_curses.h".
+ * tui/tui.c, tui/tui-winsource.c, tui/tui-wingeneral.c: Ditto.
+ * tui/tui-windata.c, tui/tui-win.c, tui/tui-stack.c: Ditto.
+ * tui/tui-source.c, tui/tui-regs.c, tui/tui-layout.c: Ditto.
+ * tui/tui-io.c, tui/tui-disasm.c, tui/tui-data.c: : Ditto.
+ * tui/tui-hooks.c: Include "tui-hooks.h" and "gdb_curses.h".
+ * Makefile.in: Update all dependencies.
+ (tui_hooks_h, gdb_curses_h): Define.
+ (SUBDIR_TUI_CFLAGS): Remove -I${srcdir}/tui.
+
+2004-02-10 Elena Zannoni <ezannoni@redhat.com>
+
+ * objfiles.h (struct objfile): Remove unused fields auxf1 and
+ auxf2. Add comments about some other rarely used fields.
+
+2004-02-10 Andrew Cagney <cagney@redhat.com>
+
+ * Makefile.in (init.c): Fix script removing duplicates. Problem
+ reported by Peter Schauer.
+
+2004-02-09 Elena Zannoni <ezannoni@redhat.com>
+
+ * bcache.c (bcache_xmalloc): Use obstack_init instead of
+ obstack_specify_allocation.
+ * objfiles.c (allocate_objfile): Ditto.
+ * solib-sunos.c (solib_add_common_symbols)
+ (allocate_rt_common_objfile): Ditto.
+ * symfile.c (reread_symbols): Ditto.
+ * gdb_obstack.h: Add comment.
+
+2004-02-09 Elena Zannoni <ezannoni@redhat.com>
+
+ * linespec.c (decode_line_1, locate_first_half)
+ (decode_compound, lookup_prefix_sym): Update comments. Delete old
+ commented out code.
+
+2004-02-09 Daniel Jacobowitz <drow@mvista.com>
+
+ * cp-namespace.c (check_one_possible_namespace_symbol): Don't use
+ obstack_free.
+
+2004-02-09 Andrew Cagney <cagney@redhat.com>
+
+ * blockframe.c (find_pc_partial_function): If find_pc_overlay
+ fails, try find_pc_section. Fix PR c++/1267.
+ * minsyms.c (lookup_minimal_symbol_by_pc): Use find_pc_section
+ instead of find_pc_mapped_section.
+ (lookup_minimal_symbol_by_pc_section): If the SECTION is NULL, do
+ not default to the section containing PC. Fix PR symtab/1519.
+
+2004-02-09 Andrew Cagney <cagney@redhat.com>
+
+ * Makefile.in (mips-tdep.o): Update dependencies.
+ * mips-tdep.c: Include "frame-unwind.h", "frame-base.h" and
+ "trad-frame.h".
+ (mips_unwind_pc): Return the pseudo PC register.
+ (mips_unwind_dummy_id): New function.
+ (mips16_fetch_instruction): New function.
+ (mips32_fetch_instruction): New function.
+ (struct mips_frame_cache): Define.
+ (mips_mdebug_frame_cache): New function.
+ (mips_mdebug_frame_this_id): New function.
+ (mips_mdebug_frame_prev_register): New function.
+ (mips_mdebug_frame_unwind): Define.
+ (mips_mdebug_frame_sniffer): New function.
+ (mips_mdebug_frame_base_address): New function.
+ (mips_mdebug_frame_base): Define.
+ (mips_mdebug_frame_base_sniffer): New function.
+ (mips_gdbarch_init): Append unwind and base sniffers. Set
+ unwind_dummy_id.
+
+2004-02-08 Andrew Cagney <cagney@redhat.com>
+
+ * frame.c: Print both the register number and name.
+
+ * Makefile.in (init.c): Eliminate duplicates. Combine two greps
+ and a sed into a single sed. Make .c and .o patterns more robust.
+ (OBS): Delete.
+ (INIT_FILES): Replace OBS with COMMON_OBS.
+ (COMMON_OBS): Move DEPFILES and YYOBJ to start of definition.
+
+2004-02-08 Mark Kettenis <kettenis@gnu.org>
+
+ * sparc-nat.c (sparc_xfer_wcookie): Try to fetch the cookie using
+ the PT_WCOOKIE request.
+
+2004-02-08 Andrew Cagney <cagney@redhat.com>
+
+ * mips-tdep.c (mips_unwind_pc): New function.
+ (mips_gdbarch_init): Set mips_unwind_pc.
+
+ * frame.c (legacy_saved_regs_this_id): Return a null frame ID.
+ (get_frame_id): Allow the UNKNOWN_FRAME.
+ (frame_register_unwind, get_frame_type): Ditto.
+
+ * frame.c (legacy_frame_p): Check for DEPRECATED_TARGET_READ_FP_P
+ and DEPRECATED_FP_REGNUM. Don't assume that the lack of
+ unwind_dummy_id indicates a legacy frame.
+
+ * configure.in (CONFIG_LIB_OBS): Replace with CONFIG_OBS.
+ * configure: Re-generate.
+
+ * mips-tdep.c (mips_gdbarch_init): Group deprecated frame unwind
+ methods.
+
+2004-02-08 Andrew Cagney <cagney@redhat.com>
+
+ * configure.in (CONFIG_ALL): Set to Makefile target, and not
+ makefile macro.
+ * configure: Re-generate.
+ (CONFIG_CLEAN, CONFIG_INSTALL, CONFIG_UNINSTALL): Ditto.
+ * Makefile.in (SUBDIR_CLI_CLEAN): Delete.
+ (SUBDIR_CLI_INSTALL, SUBDIR_CLI_UNINSTALL): Delete.
+ (SUBDIR_CLI_ALL, SUBDIR_GDBTK_ALL): Delete.
+ (SUBDIR_GDBTK_CLEAN, SUBDIR_GDBTK_INSTALL): Delete.
+ (SUBDIR_GDBTK_UNINSTALL, SUBDIR_MI_ALL): Delete.
+ (SUBDIR_MI_CLEAN, SUBDIR_MI_INSTALL): Delete.
+ (SUBDIR_MI_UNINSTALL, SUBDIR_TUI_ALL): Delete.
+ (SUBDIR_TUI_CLEAN, SUBDIR_TUI_INSTALL): Delete.
+ (SUBDIR_TUI_UNINSTALL, SUBDIR_CLI_CLEAN): Delete.
+
+2004-02-07 Andrew Cagney <cagney@redhat.com>
+
+ * Makefile.in: Update all dependencies.
+
+ * configure.in (CONFIG_INITS, CONFIG_LIB_OBS): Delete.
+ * configure: Re-generate.
+ * Makefile.in (INIT_FILES): Replace CONFIG_INITS with CONFIG_SRCS.
+ (CONFIG_LIB_OBS, CONFIG_INITS): Delete.
+ (COMMON_OBS): Add "main.o" and "annotate.o".
+ (ANNOTATE_OBS): Delete.
+ (OBS): Remove ANNOTATE_OBS.
+ (DEPFILES): Replace CONFIG_LIB_OBS with CONFIG_LIB_OBS, remove
+ CONFIG_INITS.
+ (gdb$(EXEEXT), insight$(EXEEXT)): Do not depend on, or link
+ against CONFIG_OBS and "main.o".
+ (SUBDIR_CLI_INITS, SUBDIR_MI_INITS): Delete.
+ (SUBDIR_TUI_INITS, SUBDIR_GDBTK_INITS): Delete.
+
* tui/tui-command.c: Include "gdb_string.h", delete register
attribute, use ISO-C function signatures.
* tui/tui-disasm.c, tui/tui-file.c, tui/tui-io.c: Ditto.