+2004-07-29 Andrew Cagney <cagney@gnu.org>
+
+ * config/pa/xm-linux.h: Do not include "floatformat.h".
+ (HOST_FLOAT_FORMAT, HOST_DOUBLE_FORMAT)
+ (HOST_LONG_DOUBLE_FORMAT): Delete macros.
+ * config/i386/xm-i386.h: Do not include "floatformat.h".
+ (HOST_FLOAT_FORMAT, HOST_DOUBLE_FORMAT)
+ (HOST_LONG_DOUBLE_FORMAT): Delete macros.
+ * doublest.c (HOST_FLOAT_FORMAT, HOST_DOUBLE_FORMAT)
+ (HOST_LONG_DOUBLE_FORMAT): Delete macros. Use
+ GDB_HOST_FLOAT_FORMAT, GDB_HOST_DOUBLE_FORMAT and
+ GDB_HOST_LONG_DOUBLE_FORMAT instead.
+ * configure.in (GDB_HOST_FLOAT_FORMAT, GDB_HOST_DOUBLE_FORMAT)
+ (GDB_HOST_LONG_DOUBLE_FORMAT): Define.
+ * configure, config.in: Regenerate.
+ * configure.host (gdb_host_float_format, gdb_host_double_format)
+ (gdb_host_long_double_format): Set according to the host.
+
+2004-07-29 Andrew Cagney <cagney@gnu.org>
+
+ * Makefile.in (CONFIG_CLEAN): Delete duplicate definition.
+
+2004-07-28 Andrew Cagney <cagney@gnu.org>
+
+ * PROBLEMS: Mention threads/1650.
+ * NEWS: Mention the NPTL fix.
+
+2004-07-28 Andrew Cagney <cagney@gnu.org>
+
+ * cli/cli-decode.c (add_setshow_cmd): Delete function.
+ (add_setshow_cmd_full): Make static.
+ * command.h (add_setshow_cmd, add_setshow_cmd_full): Delete.
+ (add_setshow_filename_cmd, add_setshow_string_cmd): Declare.
+ * cli/cli-decode.c (add_setshow_filename_cmd)
+ (add_setshow_string_cmd): New functions.
+ * nto-tdep.c (_initialize_nto_tdep): Update. Fix parameters.
+ * mips-tdep.c (_initialize_mips_tdep): Update.
+ * m32r-rom.c (_initialize_m32r_rom): Update. Update copyright.
+ * cli/cli-logging.c (_initialize_cli_logging): Update.
+ * complaints.c (_initialize_complaints): Update.
+ * remote.c (_initialize_remote): Update.
+
+2004-07-28 Andrew Cagney <cagney@gnu.org>
+
+ * cli/cli-decode.c (add_setshow_zinteger_cmd)
+ (add_setshow_cmd, add_setshow_auto_boolean_cmd)
+ (add_setshow_boolean_cmd, add_setshow_cmd_full): Add help_doc and
+ print parameters. Make string parameters constant.
+ * command.h: Update. Update copyright.
+ * remote.c (add_packet_config_cmd, _initialize_remote): Ditto.
+ * observer.c (_initialize_observer): Ditto.
+ * frame.c (_initialize_frame): Ditto.
+ * complaints.c (_initialize_complaints): Ditto.
+ * maint.c (_initialize_maint_cmds): Ditto.
+ * target.c (initialize_targets): Ditto.
+ * cli/cli-logging.c (_initialize_cli_logging): Ditto.
+ * infcall.c (_initialize_infcall): Ditto.
+ * arm-tdep.c (_initialize_arm_tdep): Ditto.
+ * m32r-rom.c (_initialize_m32r_rom): Ditto.
+ * remote-rdi.c (_initialize_remote_rdi): Ditto.
+ * d10v-tdep.c (_initialize_d10v_tdep): Ditto.
+ * mips-tdep.c (_initialize_mips_tdep): Ditto.
+
+2004-07-28 Andrew Cagney <cagney@gnu.org>
+
+ * gdbtypes.c (lookup_primitive_typename): Delete function.
+ * gdbtypes.h (lookup_primitive_typename): Delete declaration.
+ * ada-lex.l: Use language_lookup_primitive_type_by_name.
+ * gdbtypes.c (lookup_typename): Ditto.
+ * f-exp.y (yylex): Ditto.
+ * c-exp.y (yylex): Ditto, eliminate assignment in "if".
+
+ * scm-lang.c (c_builtin_types): Delete extern declaration.
+ (scm_language_defn): Replace
+ string_char_type and primitive_type_vector with
+ la_language_arch_info.
+ * jv-lang.c (java_language_defn): Replace
+ string_char_type and primitive_type_vector with
+ la_language_arch_info.
+ * config/i386/i386sco4.mh (NATDEPFILES): Remove reference to
+ c_builtin_types in comment.
+ * c-lang.h (struct language_arch_info): Declare opaque.
+ (c_language_arch_info): Declare.
+ (c_builtin_types): Delete declaration.
+ * c-lang.c (c_language_arch_info): Set string_char_type to
+ builtin_char, not builtin_true_char. Make global.
+ (c_builtin_types): Delete array.
+ (asm_language_defn, minimal_language_defn): Replace
+ string_char_type and primitive_type_vector with
+ la_language_arch_info.
+
+2004-07-28 Andrew Cagney <cagney@gnu.org>
+
+ * gdbtypes.h (struct builtin_type): Rename true_char to
+ builtin_true_char.
+ * gdbtypes.c (gdbtypes_post_init): Update.
+ * c-lang.c (arch_info): New function.
+ (enum c_primitive_types): New enum.
+ (c_language_defn): Instead of string_char_type and
+ primitive_type_vector set la_language_arch_info.
+
+2004-07-28 Andrew Cagney <cagney@gnu.org>
+
+ * language.h (struct language_arch_info): Fix typo
+ s/primative/primitive/.
+ * gdbtypes.c (lookup_primitive_typename): Ditto.
+ * language.c (language_lookup_primitive_type_by_name)
+ (unknown_language_arch_info): Ditto.
+
+2004-07-27 Andrew Cagney <cagney@gnu.org>
+
+ * defs.h (enum language): Add nr_languages.
+ * language.h (struct language_arch_info): Define.
+ (struct language_defn): Add la_language_arch_info.
+ (language_lookup_primative_type_by_name): Declare.
+ (language_string_char_type): Declare.
+ * language.c (_initialize_language, language_gdbarch_post_init)
+ (struct language_gdbarch, language_gdbarch_data): Implement
+ per-architecture language information.
+ (unknown_language_arch_info, language_string_char_type)
+ (language_lookup_primative_type_by_name): New functions.
+ (unknown_language_defn, auto_language_defn)
+ (local_language_defn): Set la_language_arch_info to
+ unknown_language_arch_info.
+ (unknown_builtin_types): Delete.
+ * gdbtypes.c (lookup_primitive_typename): Use
+ language_lookup_primative_type_by_name.
+ (create_string_type): Use language_string_char_type.
+ * values.c (value_from_string): Use language_string_char_type.
+ * scm-lang.c (scm_language_defn): Add NULL la_language_arch_info.
+ * p-lang.c (pascal_language_defn): Ditto.
+ * m2-lang.c (m2_language_defn): Ditto.
+ * jv-lang.c (java_language_defn): Ditto.
+ * objc-lang.c (objc_language_defn): Ditto.
+ * f-lang.c (f_language_defn): Ditto.
+ * c-lang.c (c_language_defn, cplus_language_defn)
+ (asm_language_defn, minimal_language_defn): Ditto.
+
+2004-07-27 Andrew Cagney <cagney@gnu.org>
+
+ * gdbtypes.h (struct builtin_type): Declare.
+ (builtin_type): Declare.
+ * d10v-tdep.c (d10v_register_type): Use builtin_type.
+ * gdbtypes.c (_initialize_gdbtypes): Register gdbtypes_post_init.
+ (gdbtypes_post_init): New function.
+ (builtin_type): New function.
+
+2004-07-27 Kei Sakamoto <sakamoto.kei@renesas.com>
+
+ * remote-m32r-sdi.c: Fix breakpoint bug.
+ (send_cmd, send_one_arg_cmd, send_two_arg_cmd, send_three_arg_cmd,
+ recv_char_data, recv_long_data): New functions to replace communication
+ sequences.
+
+2004-07-26 Michael Chastain <mec.gnu@mindspring.com>
+
+ Document PR threads/1650.
+ * PROBLEMS (Threads): Document problem with many threads
+
+2004-07-26 Andrew Cagney <cagney@gnu.org>
+
+ * gdb-mi.el: Move from here ...
+ * mi/gdb-mi.el: ... to here.
+
+2004-07-26 Andrew Cagney <cagney@gnu.org>
+
+ Problem reported by Ashley Pittman <ashley@quadrics.com>.
+ * main.c (captured_main): When in batch mode always detach.
+
+2004-07-26 Andrew Cagney <cagney@gnu.org>
+
+ * MAINTAINERS: Mark the xstormy16, sh64, ns32k, mn10300, mcore,
+ and h8300 as broken.
+ * NEWS: END-OF-LIFE frame compatibility module.
+ * PROBLEMS: For "Stack backtraces", remove powerpc, hppa and mips
+ specific comments.
+
+2004-07-26 Andrew Cagney <cagney@gnu.org>
+
+ * cli/cli-decode.c (deprecated_add_show_from_set): Deprecate.
+ * xcoffsolib.c (_initialize_xcoffsolib): Update.
+ * wince.c (_initialize_wince): Update.
+ * win32-nat.c (_initialize_win32_nat): Update.
+ * varobj.c (_initialize_varobj): Update.
+ * valops.c (_initialize_valops): Update.
+ * utils.c (initialize_utils, initialize_utils): Update.
+ * tui/tui-win.c (_initialize_tui_win): Update.
+ * top.c (init_main): Update.
+ * symfile.c (_initialize_symfile): Update.
+ * source.c (_initialize_source): Update.
+ * somsolib.c (_initialize_som_solib): Update.
+ * solib.c (_initialize_solib): Update.
+ * solib-frv.c (_initialize_frv_solib): Update.
+ * serial.c (_initialize_serial): Update.
+ * ser-go32.c (_initialize_ser_dos, _initialize_ser_dos): Update.
+ * remote.c (_initialize_remote, _initialize_remote): Update.
+ * remote-vx.c (_initialize_vx): Update.
+ * remote-utils.c (_initialize_sr_support): Update.
+ * remote-sds.c (_initialize_remote_sds): Update.
+ * remote-mips.c (_initialize_remote_mips): Update.
+ * remote-e7000.c (_initialize_remote_e7000): Update.
+ * proc-api.c (_initialize_proc_api): Update.
+ * printcmd.c: Update.
+ * parse.c (_initialize_parse): Update.
+ * pa64solib.c (_initialize_pa64_solib): Update.
+ * p-valprint.c (_initialize_pascal_valprint): Update.
+ * monitor.c (_initialize_remote_monitors): Update.
+ * mips-tdep.c (_initialize_mips_tdep): Update.
+ * mcore-tdep.c (_initialize_mcore_tdep): Update.
+ * maint.c (_initialize_maint_cmds): Update.
+ * lin-lwp.c (_initialize_lin_lwp): Update.
+ * language.c (_initialize_language): Update.
+ * kod.c (_initialize_kod): Update.
+ * infrun.c (set_schedlock_func, _initialize_infrun): Update.
+ * i386-tdep.c (_initialize_i386_tdep): Update.
+ * gdbtypes.c (build_gdbtypes, _initialize_gdbtypes): Update.
+ * gdbarch.sh: Update.
+ * gdbarch.c: Re-generate.
+ * gdb-events.sh: Update.
+ * gdb-events.c: Re-generate.
+ * frame.c (_initialize_frame): Update.
+ * exec.c: Update.
+ * demangle.c (_initialize_demangler): Update.
+ * dcache.c (_initialize_dcache): Update.
+ * cris-tdep.c (_initialize_cris_tdep, cris_version_update): Update.
+ * cp-valprint.c (_initialize_cp_valprint): Update.
+ * corefile.c (_initialize_core): Update.
+ * command.h: Update.
+ * cli/cli-decode.h: Update.
+ * cli/cli-cmds.c (init_cli_cmds): Update.
+ * charset.c (_initialize_charset): Update.
+ * breakpoint.c (_initialize_breakpoint): Update.
+ * arm-tdep.c (_initialize_arm_tdep_initialize_arm_tdep): Update.
+ * alpha-tdep.c (_initialize_alpha_tdep): Update.
+ * aix-thread.c (_initialize_aix_thread): Update.
+
+2004-07-24 Mark Kettenis <kettenis@gnu.org>
+
+ Partial fix for PR backtrace/1718.
+ * i386-tdep.c (i386_analyze_frame_setup): Handle more instructions
+ that GCC migrates into the prolugue. Don't handle any
+ instructions that clobber %ebx.
+
+2004-07-23 Andrew Cagney <cagney@gnu.org>
+
+ Use regcache_raw_collect instead of regcache_collect.
+ * regcache.h (regcache_collect): Delete declaration.
+ * regcache.c (regcache_colect): Delete function.
+ * win32-nat.c (do_child_store_inferior_registers): Update.
+ * sol-thread.c (sol_thread_store_registers): Update.
+ * shnbsd-tdep.c (shnbsd_fill_reg): Update.
+ * rs6000-nat.c (store_register): Update.
+ * remote.c (store_register_using_P, remote_store_registers): Update.
+ * ppcnbsd-tdep.c (ppcnbsd_fill_reg): Update.
+ * ppc-linux-nat.c (store_altivec_register, store_spe_register)
+ (fill_vrregset, store_spe_registers, fill_gregset)
+ (fill_gregset): Update.
+ * nto-procfs.c (procfs_store_registers): Update.
+ * mipsnbsd-tdep.c (mipsnbsd_fill_reg): Update.
+ * mips-linux-tdep.c (fill_gregset, mips64_fill_gregset): Update.
+ * m68klinux-nat.c (store_register, fill_gregset): Update.
+ * m68k-tdep.c (fill_gregset): Update.
+ * infptrace.c (store_register): Update.
+ * i386-nto-tdep.c (i386nto_regset_fill): Update.
+ * i386-linux-nat.c (store_register, fill_gregset): Update.
+ * hppa-linux-nat.c (fill_gregset): Update.
+ * go32-nat.c (store_register): Update.
+ * armnbsd-nat.c (store_register, store_regs, store_fp_register)
+ (store_fp_regs): Update.
+ * arm-linux-nat.c (store_nwfpe_single, store_nwfpe_double)
+ (store_nwfpe_extended, store_fpregister, store_fpregs)
+ (store_register, store_regs, fill_gregset, fill_fpregset): Update.
+ * alpha-tdep.c (alpha_fill_int_regs, alpha_fill_fp_regs): Update.
+ * aix-thread.c (fill_gprs64, fill_fprs, fill_sprs64, fill_sprs32)
+ (store_regs_user_thread, store_regs_kernel_thread): Update.
+
+2004-07-24 Mark Kettenis <kettenis@gnu.org>
+
+ * dwarf2-frame.c (struct dwarf2_cie): Delete `addr_size' member.
+ (decode_frame_entry_1): Use DW_EH_PE_absptr as default for CIE
+ encoding.
+ (dwarf2_build_frame_info): Adjust for removal of `addr_size'
+ member of `struct comp_unit'.
+
+2004-07-23 Andrew Cagney <cagney@gnu.org>
+
+ * infrun.c (handle_inferior_event): Separate the STEP_OVER_ALL and
+ DEPRECATED_IGNORE_HELPER_CALL cases, only #ifdef the latter.
+
+2004-07-23 Martin Hunt <hunt@redhat.com>
+ Kevin Buettner <kevinb@redhat.com>
+
+ * dwarf2-frame.c (execute_cfa_program): Fix typo in which the
+ alignment was being added to the offset instead of multiplied.
+
+2004-07-23 Mark Kettenis <kettenis@gnu.org>
+
+ * sparc64obsd-tdep.c (sparc64obsd_pc_in_sigtramp): Adjust for
+ changed signal trampoline in OpenBSD 3.5-current.
+
+ * sparc64nbsd-nat.c: Include "regcache.h", <sys/types.h>,
+ <machine/pcb.h> and "bsd-kvm.h".
+ (sparc64nbsd_supply_pcb): New function.
+ (_initialize_sparc64nbsd_nat): Renamed from
+ _initialize_sparcnbsd_nat. Enable libkvm interface.
+ * Makefile.in (sparc64nbsd-nat.o): Update dependencies.
+ * config/sparc/nbsd64.mh (NATDEPFILES): Add bsd-kvm.o
+ (LOADLIBES): New variable.
+
+ * config/sparc/obsd64.mt (TDEPFILES): Add sparcobsd-tdep.o.
+
+ * sparcnbsd-nat.c (sparc32nbsd_supply_pcb): Fix typo in comment.
+
+2004-07-21 Andrew Cagney <cagney@gnu.org>
+
+ Use regcache_raw_supply instead of supply_register.
+ * regcache.h (supply_register): Delete declaration.
+ * regcache.c (supply_register): Delete function.
+ * wince.c (do_child_fetch_inferior_registers): Update.
+ * win32-nat.c (do_child_fetch_inferior_registers)
+ (fetch_elf_core_registers): Update.
+ * v850ice.c (v850ice_fetch_registers): Update.
+ * thread-db.c (thread_db_store_registers): Update.
+ * sol-thread.c (sol_thread_store_registers): Update.
+ * shnbsd-tdep.c (shnbsd_supply_reg): Update.
+ * rs6000-nat.c (fetch_register): Update.
+ * rom68k-rom.c (rom68k_supply_one_register): Update.
+ * remote.c (remote_wait, remote_async_wait): Update.
+ * remote-st.c (get_hex_regs): Update.
+ * remote-sim.c (gdbsim_fetch_register): Update.
+ * remote-sds.c (sds_fetch_registers): Update.
+ * remote-rdp.c (remote_rdp_fetch_register): Update.
+ * remote-rdi.c (arm_rdi_fetch_registers): Update.
+ * remote-mips.c (mips_wait, mips_fetch_registers): Update.
+ * remote-m32r-sdi.c (m32r_fetch_register): Update.
+ * remote-hms.c (init_hms_cmds): Update.
+ * remote-est.c (init_est_cmds): Update.
+ * remote-e7000.c (get_hex_regs, fetch_regs_from_dump)
+ (e7000_fetch_registers, sub2_from_pc, e7000_wait): Update.
+ * ppcnbsd-tdep.c (ppcnbsd_supply_reg, ppcnbsd_supply_fpreg): Update.
+ * ppc-linux-nat.c (fetch_altivec_register, fetch_spe_register)
+ (fetch_register, supply_vrregset, supply_vrregset)
+ (fetch_spe_registers): Update.
+ * ppc-bdm.c (bdm_ppc_fetch_registers): Update.
+ * monitor.c (monitor_supply_register): Update.
+ * mipsv4-nat.c (supply_gregset, supply_fpregset): Update.
+ * mipsnbsd-tdep.c (mipsnbsd_supply_reg)
+ (mipsnbsd_supply_fpreg): Update.
+ * mips-nat.c (fetch_inferior_registers)
+ (fetch_core_registers): Update.
+ * mips-linux-tdep.c (supply_32bit_reg, supply_gregset)
+ (supply_fpregset, mips64_supply_gregset)
+ (mips64_supply_fpregset): Update.
+ * m68klinux-nat.c (fetch_register, supply_gregset)
+ (supply_fpregset): Update.
+ * m68k-tdep.c (supply_gregset, supply_fpregset): Update.
+ * m32r-rom.c (init_m32r_cmds, init_mon2000_cmds): Update.
+ * lynx-nat.c (fetch_inferior_registers, fetch_core_registers): Update.
+ * irix5-nat.c (supply_gregset, supply_fpregset): Update.
+ * infptrace.c (fetch_register): Update.
+ * ia64-linux-nat.c (supply_gregset, supply_fpregset): Update.
+ * ia64-aix-nat.c (supply_gregset, supply_fpregset): Update.
+ * i386gnu-nat.c (fetch_fpregs, supply_gregset)
+ (gnu_fetch_registers, gnu_store_registers): Update.
+ * i386-nto-tdep.c (i386nto_supply_gregset): Update.
+ * i386-linux-nat.c (fetch_register, supply_gregset)
+ (dummy_sse_values): Update.
+ * hpux-thread.c (hpux_thread_fetch_registers): Update.
+ * hppah-nat.c (fetch_register): Update.
+ * hppa-linux-nat.c (fetch_register, supply_gregset)
+ (supply_fpregset): Update.
+ * go32-nat.c (fetch_register): Update.
+ * dve3900-rom.c (fetch_bitmapped_register)
+ (_initialize_r3900_rom): Update.
+ * cris-tdep.c (supply_gregset): Update.
+ * abug-rom.c (init_abug_cmds): Update.
+ * core-aout.c (fetch_core_registers): Update.
+ * armnbsd-nat.c (supply_gregset, supply_fparegset)
+ (fetch_register, fetch_fp_register): Update.
+ * arm-linux-nat.c (fetch_nwfpe_single, fetch_nwfpe_none)
+ (fetch_nwfpe_extended, fetch_fpregister, fetch_fpregs)
+ (fetch_register, fetch_regs, supply_gregset, supply_fpregset): Update.
+ * alphanbsd-tdep.c (fetch_core_registers): Update.
+ * alpha-tdep.c (alpha_supply_int_regs, alpha_supply_fp_regs): Update.
+ * alpha-nat.c (fetch_osf_core_registers)
+ (fetch_osf_core_registers, fetch_osf_core_registers): Update.
+ * aix-thread.c (supply_gprs64, supply_reg32, supply_fprs)
+ (supply_sprs64, supply_sprs32, fetch_regs_kernel_thread): Update.
+
+2004-07-21 Andrew Cagney <cagney@gnu.org>
+
+ * PROBLEMS: Mention breakpoints/1702.
+ * NEWS: For signal trampolines, cite s390 GNU/Linux as a system
+ that is known to work.
+
+2004-07-21 Andrew Cagney <cagney@gnu.org>
+
+ * config/mips/tm-mips.h (DEPRECATED_IGNORE_HELPER_CALL): Deprecate.
+ * mips-tdep.c (mips_dump_tdep, mips_ignore_helper): Update.
+ * infrun.c (DEPRECATED_IGNORE_HELPER_CALL): Delete macro.
+ (handle_inferior_event): Wrap call to deprecated
+ IGNORE_HELPER_CALL in #ifdef.
+ * config/mips/tm-nbsd.h: Update.
+
+2004-07-20 Jim Blandy <jimb@redhat.com>
+
+ * rs6000-tdep.c (rs6000_gdbarch_init): The register set used for
+ bfd_mach_ppc has no segment registers.
+
+ Include PowerPC SPR numbers for special-purpose registers.
+ * rs6000-tdep.c (struct reg): Add new member, 'spr_num'.
+ (R, R4, R8, R16, F, P, R32, R64, R0): Include value for
+ new member in initializer.
+ (S, S4, SN4, S64): New macros for defining special-purpose
+ registers.
+ (PPC_UISA_SPRS, PPC_UISA_NOFP_SPRS, PPC_OEA_SPRS, registers_power,
+ registers_403, registers_403GC, registers_505, registers_860,
+ registers_601, registers_602, registers_603, registers_604,
+ registers_750, registers_e500): Use them.
+
+ * rs6000-tdep.c (rs6000_gdbarch_init): Delete variable 'power';
+ replace references with expression used to initialize variable.
+
+2004-07-20 Andrew Cagney <cagney@gnu.org>
+
+ * breakpoint.c (deprecated_read_memory_nobpt): Rename
+ read_memory_nobpt.
+ * sparc-linux-tdep.c (sparc_linux_sigtramp_start): Update.
+ * s390-tdep.c (s390_readinstruction, s390_in_function_epilogue_p)
+ (s390_sigtramp_frame_sniffer): Update.
+ * mn10300-tdep.c (mn10300_analyze_prologue): Update.
+ * mipsnbsd-tdep.c (mipsnbsd_sigtramp_offset): Update.
+ * mips-tdep.c (mips_fetch_instruction, mips16_fetch_instruction)
+ (mips32_fetch_instruction): Update.
+ * mcore-tdep.c (get_insn): Update.
+ * m68klinux-tdep.c (m68k_linux_pc_in_sigtramp): Update.
+ * i386nbsd-tdep.c (i386nbsd_sigtramp_offset): Update.
+ * i386ly-tdep.c (i386lynx_saved_pc_after_call): Update.
+ * i386-linux-tdep.c (i386_linux_sigtramp_start)
+ (i386_linux_rt_sigtramp_start): Update.
+ * i386-linux-nat.c (child_resume): Update.
+ * hppa-tdep.c (skip_prologue_hard_way, hppa_frame_cache): Update.
+ * hppa-linux-tdep.c (insns_match_pattern): Update.
+ * gdbcore.h: Update.
+ * frv-tdep.c (frv_gdbarch_adjust_breakpoint_address): Update.
+ * frame.c (safe_frame_unwind_memory): Update.
+ * amd64-linux-tdep.c (amd64_linux_sigtramp_start): Update.
+ * alphanbsd-tdep.c (alphanbsd_sigtramp_offset): Update.
+ * alpha-tdep.c (alpha_read_insn): Update.
+
+2004-07-20 Andrew Cagney <cagney@gnu.org>
+
+ * tramp-frame.h (struct tramp_frame): Change "insn" to a struct
+ containing both bytes and mask. Add "frame_type".
+ * tramp-frame.c (tramp_frame_start): Update.
+ (tramp_frame_prepend_unwinder): Update.
+ * mips-linux-tdep.c (mips_linux_o32_sigframe)
+ (mips_linux_o32_rt_sigframe, mips_linux_n32_rt_sigframe)
+ (mips_linux_n64_rt_sigframe): Update. Make "static const".
+ * ppcnbsd-tdep.c (tramp_frame ppcnbsd_sigtramp): Update.
+
+2004-07-19 Eli Zaretskii <eliz@gnu.org>
+
+ * config/djgpp/fnchange.lst: Add remapping for bfd/elf32-cr*.c,
+ bfd/elf32-sh-symbian.c, bfd/elf32-sh64-com.c,
+ sim/testsuite/sim/mips/hilo-hazard-[123].s, and
+ sim/testsuite/sim/mips/fpu64-ps-sb1.s.
+
+2004-07-17 Andrew Cagney <cagney@gnu.org>
+
+ * NEWS, PROBLEMS: Update for 6.2.
+
+ * README: Update to 6.2.
+
+ * utils.c (xvasprintf): Call xstrvprintf.
+
+ * parse.c: Update copyright.
+ (null_post_parser): Eliminate ARGSUSED.
+
+ * ppc-linux-nat.c (store_spe_registers): Eliminate K&R C.
+ * tui/tui-win.c (tui_get_cmd_list): Ditto.
+ * symfile-mem.c (_initialize_symfile_mem): Ditto.
+
+ * ppc-linux-tdep.c (ppc_linux_init_abi): Add [sic] to Linux.
+ * ppc-linux-nat.c: Use "Linux kernel".
+ * hppa-linux-tdep.c: Use GNU/Linux.
+ * hppa-linux-nat.c: Use GNU/Linux.
+ * dwarfread.c: Add [sic] to use of Linux.
+
+ * hppa-linux-nat.c: Do not include <string.h>.
+ (supply_fpregset): Remove "register" attribute.
+
+ * solib-frv.c (fetch_loadmap): Use xfree, not free.
+
+2004-07-17 Mark Kettenis <kettenis@gnu.org>
+
+ * configure.in: Define _MSE_INT_H on Solaris 9 too.
+ * configure, config.in: Regenerated.
+
+ * vaxbsd-nat.c: Include <sys/types.h>, <machine/pcb.h> and
+ "bsd-kvm.h".
+ (vaxbsd_supply_pcb): New function.
+ (_initialize_vaxbsd_nat): New prototype and function.
+ * config/vax/nbsdaout.mh (NATDEPFILES): Add bsd-kvm.o, solib.o and
+ solib-sunos.o.
+ (LOADLIBES): New variable.
+ * config/vax/nbsdelf.mh (NATDEPFILES): Add bsd-kvm.o.
+ (LOADLIBES): New variable.
+ * config/vax/obsd.mh (NATDEPFILES): Add bsd-kvm.o.
+ (LOADLIBES): New variable.
+ * Makefile.in (vaxbsd-nat.o): Update dependencies.
+
+2004-07-16 Andrew Cagney <cagney@gnu.org>
+
+ * defs.h (event_loop_p): Replace variable declaration with macro,
+ always 1.
+ * main.c (captured_main): Delete options "-async" and "-noasync".
+ (event_loop_p): Delete variable.
+ * NEWS: Mention that "-async" and "-noasync" were removed.
+
+2004-07-16 Andrew Cagney <cagney@gnu.org>
+
+ * remote-m32r-sdi.c: Re-indent.
+
+2004-07-16 Jim Blandy <jimb@redhat.com>
+
+ * ppc-tdep.h (ppc_spr_asr): Add missing OEA SPR.
+ (ppc_spr_mi_dbcam, ppc_spr_mi_dbram0, ppc_spr_mi_dbram1)
+ (ppc_spr_md_cam, ppc_spr_md_ram0, ppc_spr_md_ram1): Add
+ missing MPC823 SPRs.
+ (ppc_spr_m_twb): Renamed from ppc_spr_md_twb; the old name was
+ incorrect. (This was corrected in GDB's register name tables on
+ 2004-07-14.)
+
+ * rs6000-tdep.c (registers_602): Correct register name: "esassr"
+ should be "esasrr" ("ESA Save and Restore Register").
+
+2004-07-16 Andrew Cagney <cagney@gnu.org>
+
+ * infrun.c (insert_step_resume_breakpoint): Delete gdb_assert
+ calls, no longer applicable. Update comments and rename parameter
+ "step_frame" to "return_frame".
+
+2004-07-16 Andrew Cagney <cagney@gnu.org>
+
+ * frame.c (fprint_field): New function.
+ (fprint_frame_id): Use fprint_field.
+
+2004-07-15 Joel Brobecker <brobecker@gnat.com>
+
+ * ada-lang.c (ada_language_defn): Remove commented out code.
+
+2004-07-15 Jim Blandy <jimb@redhat.com>
+
+ * ppc-tdep.h (struct gdbarch_tdep): New member: ppc_sr0_regnum.
+ * rs6000-tdep.c (rs6000_gdbarch_init): Initialize it.
+
+2004-07-14 Jim Blandy <jimb@redhat.com>
+
+ * rs6000-tdep.c (COMMON_UISA_NOFP_REGS): Delete; unused.
+
+ * ppc-tdep.h (ppc_num_vrs): New enum constant.
+
+ * ppc-tdep.h (ppc_num_srs): New enum constant.
+
+ * ppc-tdep.h (ppc_spr_mq, ppc_spr_xer, ppc_spr_rtcu, ppc_spr_rtcl)
+ (ppc_spr_lr, ppc_spr_ctr, ppc_spr_cnt, ppc_spr_dsisr, ppc_spr_dar)
+ (ppc_spr_dec, ppc_spr_sdr1, ppc_spr_srr0, ppc_spr_srr1)
+ (ppc_spr_eie, ppc_spr_eid, ppc_spr_nri, ppc_spr_sp, ppc_spr_cmpa)
+ (ppc_spr_cmpb, ppc_spr_cmpc, ppc_spr_cmpd, ppc_spr_icr)
+ (ppc_spr_der, ppc_spr_counta, ppc_spr_countb, ppc_spr_cmpe)
+ (ppc_spr_cmpf, ppc_spr_cmpg, ppc_spr_cmph, ppc_spr_lctrl1)
+ (ppc_spr_lctrl2, ppc_spr_ictrl, ppc_spr_bar, ppc_spr_vrsave)
+ (ppc_spr_sprg0, ppc_spr_sprg1, ppc_spr_sprg2, ppc_spr_sprg3)
+ (ppc_spr_ear, ppc_spr_tbl, ppc_spr_tbu, ppc_spr_pvr)
+ (ppc_spr_spefscr, ppc_spr_ibat0u, ppc_spr_ibat0l, ppc_spr_ibat1u)
+ (ppc_spr_ibat1l, ppc_spr_ibat2u, ppc_spr_ibat2l, ppc_spr_ibat3u)
+ (ppc_spr_ibat3l, ppc_spr_dbat0u, ppc_spr_dbat0l, ppc_spr_dbat1u)
+ (ppc_spr_dbat1l, ppc_spr_dbat2u, ppc_spr_dbat2l, ppc_spr_dbat3u)
+ (ppc_spr_dbat3l, ppc_spr_ic_cst, ppc_spr_ic_adr, ppc_spr_ic_dat)
+ (ppc_spr_dc_cst, ppc_spr_dc_adr, ppc_spr_dc_dat, ppc_spr_dpdr)
+ (ppc_spr_dpir, ppc_spr_immr, ppc_spr_mi_ctr, ppc_spr_mi_ap)
+ (ppc_spr_mi_epn, ppc_spr_mi_twc, ppc_spr_mi_rpn, ppc_spr_mi_cam)
+ (ppc_spr_mi_ram0, ppc_spr_mi_ram1, ppc_spr_md_ctr, ppc_spr_m_casid)
+ (ppc_spr_md_ap, ppc_spr_md_epn, ppc_spr_md_twb, ppc_spr_md_twc)
+ (ppc_spr_md_rpn, ppc_spr_m_tw, ppc_spr_md_dbcam, ppc_spr_md_dbram0)
+ (ppc_spr_md_dbram1, ppc_spr_ummcr0, ppc_spr_upmc1, ppc_spr_upmc2)
+ (ppc_spr_usia, ppc_spr_ummcr1, ppc_spr_upmc3, ppc_spr_upmc4)
+ (ppc_spr_zpr, ppc_spr_pid, ppc_spr_mmcr0, ppc_spr_pmc1)
+ (ppc_spr_sgr, ppc_spr_pmc2, ppc_spr_dcwr, ppc_spr_sia)
+ (ppc_spr_mmcr1, ppc_spr_pmc3, ppc_spr_pmc4, ppc_spr_sda)
+ (ppc_spr_tbhu, ppc_spr_tblu, ppc_spr_dmiss, ppc_spr_dcmp)
+ (ppc_spr_hash1, ppc_spr_hash2, ppc_spr_icdbdr, ppc_spr_imiss)
+ (ppc_spr_esr, ppc_spr_icmp, ppc_spr_dear, ppc_spr_rpa)
+ (ppc_spr_evpr, ppc_spr_cdbcr, ppc_spr_tsr, ppc_spr_602_tcr)
+ (ppc_spr_403_tcr, ppc_spr_ibr, ppc_spr_pit, ppc_spr_esasrr)
+ (ppc_spr_tbhi, ppc_spr_tblo, ppc_spr_srr2, ppc_spr_sebr)
+ (ppc_spr_srr3, ppc_spr_ser, ppc_spr_hid0, ppc_spr_dbsr)
+ (ppc_spr_hid1, ppc_spr_iabr, ppc_spr_dbcr, ppc_spr_iac1)
+ (ppc_spr_dabr, ppc_spr_iac2, ppc_spr_dac1, ppc_spr_dac2)
+ (ppc_spr_l2cr, ppc_spr_dccr, ppc_spr_ictc, ppc_spr_iccr)
+ (ppc_spr_thrm1, ppc_spr_pbl1, ppc_spr_thrm2, ppc_spr_pbu1)
+ (ppc_spr_thrm3, ppc_spr_pbl2, ppc_spr_fpecr, ppc_spr_lt)
+ (ppc_spr_pir, ppc_spr_pbu2): New enum constants for PowerPC
+ special-purpose register numbers.
+
+ * rs6000-tdep.c (registers_860): Correct register name. (No PPC
+ manual mentions 'md_twb', but many mention 'm_twb', and at that
+ point in the register list.)
+
+2004-07-14 Andrew Cagney <cagney@gnu.org>
+
+ * utils.c (internal_warning_problem): Fix typo, "internal-warning"
+ instead of "internal-error".
+
+2004-07-10 Joel Brobecker <brobecker@gnat.com>
+
+ * hppa-hpux-tdep.c: Fix a compilation failure due to a comment
+ that was inserted inside a comment.
+
+2004-07-10 Randolph Chung <tausq@debian.org>
+
+ * hppa-hpux-tdep.c (hppa_hpux_som_find_global_pointer): New
+ function.
+ (hppa_hpux_push_dummy_code): New function.
+ (hppa_hpux_init_abi): Set push_dummy_code and call_dummy_location.
+ Set find_global_pointer method.
+
+2004-07-10 Mark Kettenis <kettenis@gnu.org>
+
+ * NEWS: Mention BSD libkvm interface.
+
+2004-07-10 Michael Snyder <msnyder@redhat.com>
+
+ * symfile.c (generic_load): Comment typo.
+ * stack.c (get_selected_block): Ditto.
+ * regcache.c (regcache_cooked_read): Ditto.
+ * monitor.c (monitor_debug): Ditto.
+ * mips-tdep.c (mips_read_pc): Ditto.
+ * i386-linux-nat.c (ps_get_thread_area): Ditto.
+ * gdb_mbuild.sh: Ditto.
+ * gdbarch.sh: Ditto.
+ * gdbarch.h: Ditto.
+
+2004-07-09 Paul N. Hilfinger <Hilfinger@gnat.com>
+
+ * ada-tasks.c: Remove file.
+
+ Remove ARI problems:
+
+ * ada-exp.y (write_var_from_sym): Reformat to put operator at
+ beginning of line.
+
+ * ada-lang.c (MAX_OF_SIZE): Rename max_of_size.
+ Add comment.
+ Add comment concerning MAX_OF_TYPE and MIN_OF_TYPE.
+ (MIN_OF_SIZE): Rename min_of_size. Add comment.
+ (UMAX_OF_SIZE): Renmae umax_of_size. Add comment.
+ (UMIN_OF_SIZE): Remove.
+ (max_of_type): New function to replace orphan macro in gdbtypes.h
+ (min_of_type): Ditto.
+ (discrete_type_high_bound): Use max_of_type.
+ (discrete_type_low_bound): Use min_of_type.
+ (possible_user_operator_p): Move operator to beginning of line.
+ (ada_is_variant_part): Ditto.
+ (ensure_lval): Rewrite to avoid deprecated operations.
+ (ada_finish_decode_line_1): Use gdbarch_convert_from_func_ptr_addr
+ rather than adding DEPRECATED_FUNCTION_START_OFFSET.
+ (ada_enum_name): Remove assignments in 'if' statements.
+ (build_ada_types): Add gdbarch parameter.
+ (_initialize_ada_language): Replace deprecated_register_gdbarch_swap
+ with gdbarch_data_register_post_init.
+ Use add_setshow_uinteger_cmd rather than add_set_cmd and
+ add_show_from_set.
+
+ * ada-valprint.c (inspect_it): Remove declaration.
+ (repeat_count_threshold): Remove declaration.
+ (ada_print_floating): Remove assignments in 'if' statements.
+ (print_str): Move operator to beginning of line.
+
+2004-07-08 Jim Blandy <jimb@redhat.com>
+
+ * rs6000-tdep.c (registers_powerpc_nofp): Unused; deleted.
+
+2004-07-08 Bob Rossi <bob@brasko.net>
+
+ * symtab.c (lookup_symtab): check return value of symtab_to_fullname
+
+2004-07-06 Jeff Johnston <jjohnstn@redhat.com>
+
+ * language.h (struct_language_defn): Add new function pointer:
+ la_class_name_from_physname. Also add new prototype for
+ language_class_name_from_physname.
+ * language.c (language_class_name_from_physname): New function.
+ (unk_lang_class_name): Ditto.
+ (unknown_language_defn, auto_language_defn): Change
+ to add unk_lang_class_name function pointer for
+ la_class_name_from_physname.
+ (local_language_defn): Ditto.
+ * dwarf2read.c (guess_structure_name): Change to call
+ language_class_name_from_physname.
+ (determine_class_name): Ditto.
+ * cp-support.c (class_name_from_physname): Renamed.
+ (cp_class_name_from_physname): New name of function.
+ * cp-support.h: Ditto.
+ * c-lang.c (c_language_defn): Change to add NULL
+ for class_name_from_physname function pointer.
+ (cplus_language_defn): Change to add cp_class_name_from_physname.
+ * jv-lang.c (java_class_name_physname): New function.
+ (java_find_last_component): New static routine.
+ (java_language_defn): Add java_class_name_from_physname pointer.
+ * ada-lang.c (ada_language_defn): Change to add NULL
+ for class_name_from_physname function pointer.
+ * f-lang.c (f_language_defn): Ditto.
+ * m2-lang.c (m2_language_defn): Ditto.
+ * objc-lang.c (objc_language_defn): Ditto.
+ * p-lang.c (pascal_language_defn): Ditto.
+ * scm-lang.c (scm_language_defn): Ditto.
+
+2004-07-06 Andrew Cagney <cagney@gnu.org>
+
+ Patch from Bart Robinson.
+ * corelow.c (core_open): Add variable "flags", or in O_LARGEFILE.
+ (O_LARGEFILE): Define to 0, if not defined.
+
+2004-07-03 Mark Kettenis <kettenis@gnu.org>
+
+ * m68kbsd-nat.c: Include "gdbcore.h", <sys/types.h>,
+ <machine/pcb.h> and "bsd-kvm.h".
+ (PCB_REGS_FP, PCB_REGS_SP): Define if not already defined.
+ (m68kbsd_supply_pcb): New function.
+ (_initialize_m68kbsd_nat): New prototype and function.
+ * Makefile.in (m68kbsd-nat.o): Update dependencies.
+ * config/m68k/nbsdelf.mh (NATDEPFILES): Add bsd-kvm.o.
+ (LOADLIBES): New variable.
+ * config/m68k/obsd.mh (NATDEPFILES): Add bsd-kvm.o.
+ (LOADLIBES): New variable.
+
+ * bsd-kvm.c (bsd_kvm_cmdlist): Remove unecessary initialization.
+
+2004-07-03 Mark Kettenis <kettenis@gnu.org>
+
+ * bsd-kvm.c: Include "cli/cli-cmds.h", "command.h", "value.h" and
+ <sys/proc.h>.
+ (bsd_kvm_cmdlist): New variable.
+ (bsd_kvm_cmd, bsd_kvm_proc_cmd, bsd_kvm_pcb_cmd): New functions.
+ (bsd_kvm_add_target): Register "kvm" command prefix, "kvm pcb"
+ command and "kvm proc" command.
+ * Makefile.in (bsd-kvm.o): Update dependencies.
+
+2004-07-02 Mark Kettenis <kettenis@gnu.org>
+
+ * osabi.c: Update copyright year.
+ (generic_elf_osabi_sniffer): Tweak comment. Look for OS-specific
+ notes if EI_OSABI is set to ELFOSABI_HPUX.
+
+2004-07-01 Michael Snyder <msnyder@redhat.com>
+
+ * win32-nat.c (core_dll_symbols_add): Re-indent a small section
+ that seems to have gotten whacked out of line.
+
+2004-07-01 Mark Kettenis <kettenis@gnu.org>
+
+ * dbxread.c (process_one_symbol) [PCC_SOL_BROKEN]: Remove dead
+ code.
+
+2004-07-01 Paul N. Hilfinger <Hilfinger@gnat.com>
+
+ * ada-lang.c (decode_packed_array): Minor change to comment.
+ (ada_value_slice_ptr): New function.
+ (ada_value_slice): New function.
+ (ada_evaluate_subexp): Remove XVS-suffix code from subscripting
+ test. Don't know why it is there.
+ Change slice code to use ada_value_slice_ptr and ada_value_slice, and
+ to avoid dereferencing huge arrays from which one is slicing.
+ (empty_array): Correct to return an array rather than
+ a subrange value.
+ * ada-valprint.c (print_optional_low_bound): Don't print lower bound
+ on empty arrays (let'em use 'FIRST instead).
+
+2004-07-01 Paul N. Hilfinger <Hilfinger@gnat.com>
+
+ Address complaints from gdb_ari.sh:
+
+ * ada-exp.y: Include gdb_string.h rather than string.h.
+ (convert_char_literal): Reformat declaration.
+ * ada-lang.h: Include opaque struct declaration for struct frame_info.
+ * ada-lex.l: Change use of free to xfree (the macro would do so
+ anyway, but this is harmless).
+ Include gdb_string.h rather than string.h.
+ * ada-valprint.c (ada_val_print_stub): Change PTR => void*.
+
+ * ada-lang.c (parse): Remove K&Rism in parameter list.
+ (is_name_suffix): Correct Linux => GNU/Linux in comment.
+
+2004-06-30 Mark Kettenis <kettenis@gnu.org>
+
+ * dbxread.c (process_one_symbol) [SUN_FIXED_LBRAC_BUG]: Remove
+ dead code.
+
+2004-06-30 Mark Kettenis <kettenis@gnu.org>
+
+ * alphabsd-nat.c: Update copyright year.
+ (getregs_supplies): Use ALPHA_PC_REGNUM instead of PC_REGNUM.
+
+2004-06-29 Joel Brobecker <brobecker@gnat.com>
+
+ * i386-cygwin-tdep.c (i386_cygwin_skip_trampoline_code): New function.
+ (i386_cygwin_in_solib_call_trampoline): New function.
+ (i386_cygwin_init_abi): Initialize the in_solib_call_trampoline
+ and skip_trampoline_code gdbarch methods.
+
+2004-06-29 Jim Blandy <jimb@redhat.com>
+
+ * Makefile.in (gdb_callback_h): Renamed from callback_h to the
+ name actually used in the dependency lists.
+
+2004-06-29 Randolph Chung <tausq@debian.org>
+
+ * NEWS (New native configurations): Mention GNU/Linux/hppa.
+
+2004-06-29 Corinna Vinschen <vinschen@redhat.com>
+
+ * win32-nat.c (child_pid_to_exec_file): New function.
+ (init_child_ops): Add child_pid_to_exec_file as to_pid_to_exec_file
+ functionality.
+
+2004-06-28 Andrew Cagney <cagney@gnu.org>
+
+ * defs.h (xstrvprintf): Declare.
+ * utils.c (xstrvprintf): New function.
+ (internal_vproblem, xstrprintf, xasprintf)
+ (vfprintf_maybe_filtered, vfprintf_unfiltered): Use xstrvprintf.
+ * serial.c (serial_printf): Ditto.
+ * complaints.c (vcomplaint): Ditto.
+
+2004-06-29 Corinna Vinschen <vinschen@redhat.com>
+
+ * infcmd.c (attach_command): Move call to target_terminal_inferior
+ behind loading symbol table.
+
+2004-06-28 Andrew Cagney <cagney@gnu.org>
+
+ * rdi-share/ardi.c (angel_RDI_ExecuteOrStep): Revert 2004-06-24
+ change - add back extern deprecated_ui_loop_hook declaration.
+
+2004-06-28 Andrew Cagney <cagney@gnu.org>
+
+ * xcoffsolib.c (xcoff_solib_address): Replace xasprintf with
+ xstrprintf.
+ * varobj.c (varobj_gen_name, create_child, c_name_of_child)
+ (c_value_of_variable): Ditto.
+ * utils.c (internal_vproblem): Ditto.
+ * solib-aix5.c (build_so_list_from_mapfile): Ditto.
+ * remote.c (add_packet_config_cmd): Ditto.
+ * remote-rdp.c (rdp_set_command_line): Ditto.
+ * regcache.c (regcache_dump): Ditto.
+ * frv-tdep.c (new_variant, new_variant): Ditto.
+ * fbsd-proc.c (child_pid_to_exec_file): Ditto.
+ (fbsd_find_memory_regions): Ditto.
+ * breakpoint.c (create_thread_event_breakpoint)
+ (create_breakpoints): Ditto.
+ * aix-thread.c (aix_thread_pid_to_str): Ditto.
+ * ada-lang.c (is_package_name): Ditto. Also delete xmalloc call.
+
+2004-06-28 Joel Brobecker <brobecker@gnat.com>
+
+ * ada-lang.c: Re-indent file, with some massaging to help indent
+ a bit when the result is otherwise really too ugly.
+
+2004-06-27 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * frame.h (struct frame_id): Change bit field type of stack_addr_p,
+ code_addr_p and special_addr_p to 'unsigned int'.
+
+2004-06-27 Mark Kettenis <kettenis@gnu.org>
+
+ * i386v4-nat.c: Update copyright year and tweak comment.
+ (regmap): Remove trailing comma.
+ (supply_gregset): Rename local variable i to regnum. Call
+ regcache_raw_supply instead of supply_register.
+ (fill_gregset): Rename argument regno to regnum. Call
+ regcache_raw_collect instead of regcache_collect.
+
+2004-06-27 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * frame.h (struct frame_id): New fields stack_addr_p, code_addr_p
+ and special_addr_p.
+ (frame_id_build, frame_id_build_special): Update comments.
+ (frame_id_build_wild): New prototype.
+ * frame.c (frame_id_build, frame_id_build_special): Fill in new
+ struct frame_id fields.
+ (frame_id_build_wild): New function.
+ (frame_id_eq, frame_id_inner): Use new struct frame_id fields.
+
+2004-06-27 Mark Kettenis <kettenis@gnu.org>
+
+ * config/djgpp/fnchange.lst: Add entries for hppabsd-nat.c and
+ hppabsd-tdep.c.
+
+2004-06-27 Joel Brobecker <brobecker@gnat.com>
+
+ * ada-lang.c: Minor reformatting to conform to GNU coding standards.
+
+2004-06-27 Joel Brobecker <brobecker@gnat.com>
+
+ * ada-lang.c: Re-indent file.
+
+2004-06-27 Joel Brobecker <brobecker@gnat.com>
+
+ * ada-lang.c (symtab_symbol_info): Remove unused declaration.
+ (no_symtab_msg): Likewise.
+
2004-06-27 Andreas Schwab <schwab@suse.de>
* source.c: Fix whitespace.
2004-06-02 Paul N. Hilfinger <hilfinger@gnat.com>
- * ada-exp.y: Synchronize with current ACT sources.
- * ada-lang.c: Ditto.
- * ada-lang.h: Ditto.
- * ada-lex.l: Ditto.
- * ada-tasks.c: Ditto.
- * ada-typeprint.c: Ditto.
- * ada-valprint.c: Ditto.
+ * ada-exp.y: Update copyright notice.
+ Include block.h.
+
+ Replace REGNAME, LAST, INTERNAL_VARIABLE with
+ SPECIAL_VARIABLE and unify the treatment of these cases.
+
+ (write_attribute_call0): Remove.
+ (write_attribute_call1): Remove.
+ (write_attribute_calln): Remove.
+ (save_qualifier): Add missing semicolon.
+
+ (simple_exp,exp): Decomment (i.e., reactivate) code that was
+ temporarily disabled to allow compilation with FSF head version.
+
+ (simple_exp syntax): Remove use of OP_ADA_ATTRIBUTE and
+ use individual operators (OP_*) for all attributes.
+ (exp syntax): Use write_int.
+ Handle STRING literals with OP_STRING.
+ (variable syntax): Add limit parameter to calls to
+ write_object_renaming.
+
+ (temp_parse_space): New definition to hold entities that need
+ only live until the next call to ada_parse.
+ (string_to_operator): Rename fields of ada_opname_table entries.
+
+ (write_var_from_sym): Record block.
+ (write_var_from_name): Minor reformatting.
+ Make sure saved name is properly encoded in the case of multiple
+ matches, and set its language to Ada.
+ Update comment.
+ Modify to indicate unresolved name as symbol in the UNRESOLVED
+ namespace, allocated in temp_parse_space.
+ (write_int): New function.
+
+ (write_object_renaming): Add max_depth parameter to limit
+ chains of object renamings.
+ Handle case where root of renaming expression is itself a renaming.
+ Use temp_parse_space for temporary name buffer.
+ Handle renamings to dereferenced pointers (___XEXA suffices).
+
+ (ada_parse, yyerror, string_to_operator,
+ write_var_from_sym, write_var_from_name, write_attribute_call0,
+ write_attribute_call1, write_attribute_calln,
+ write_object_renaming): Protoize.
+
+ (_initialize_ada_exp): New function.
+
+ * ada-lang.c: Update copyright notice.
+ General terminology change to conform to GNAT compiler usage:
+ mangle => encode, demangle => decode
+ Include gdb_obstack.h.
+ Include gdb_regex.h
+ Include frame.h
+ Include hashtab.h
+ Include completer.h
+ Include gdb_stat.h
+ Include block.h
+ Include infcall.h
+
+ (ADA_RETAIN_DOTS): Make sure this is defined.
+ (TRUNCATION_TOWARDS_ZERO): Define.
+ (struct string_vector): Define.
+ (unresolved_names): Remove definition.
+ (xnew_string_vector): New function.
+ (string_vector_append): New function.
+ (extract_string): Make static.
+ (ada_unqualified_name): New function.
+ (add_angle_brackets): New function.
+ (function_name_from_pc): New function.
+ (place_on_stack): Rename to ensure_lval.
+
+ (ensure_lval): Renamed from place_on_stack.
+ Make identity on lvals.
+ Update comment.
+ (is_nonfunction): New interface.
+ Only symbols in LOC_CONST class can be enumerals.
+ (fill_in_ada_prototype): Remove; now independent of language.
+ (add_defn_to_vec): Add obstack and symtab arguments.
+ Use obstack to hold collected definitions.
+ (num_defns_collected): New function.
+ (defns_collected): New function.
+ (ada_resolve_subexp): Rename to resolve_subexp.
+ (resolve_subexp): Renamed from ada_resolve_subexp.
+ (ada_op_name): Return non-const result.
+ (ada_decoded_op_name): Renamed from ada_op_name, now used for
+ other purposes.
+
+ (to_fixed_array_type): Add declaration.
+ (coerce_unspec_val_to_type): Remove offset parameter.
+ (find_sal_from_funcs_and_line): New interface.
+ (find_line_in_linetable): Ditto.
+
+ (all_sals_for_line): Rename to ada_sals_for_line and make
+ global.
+ Add new parameter. When set, do not ask the user to choose the
+ instance, but use the first one found instead.
+ Use given line number in returned sals.
+ Fix comment.
+ Skip the prologue if funfirstline is set.
+ Correct for memory leak when 0 lines found.
+
+ (value_pos_atr): Use pos_atr.
+ (pos_atr): New function.
+ (standard_lookup): Add block parameter.
+
+ (makeTimeStart): Remove declaration and uses.
+ (makeTimeStop): Remove declaration and uses.
+
+ (ada_completer_word_break_characters): Allow for VMS.
+ (ADA_MAIN_PROGRAM_SYMBOL_NAME): Make into constant.
+ (raise_sym_name): New constant.
+ (raise_unhandled_sym_name): New constant.
+ (raise_assert_sym_name): New constant.
+ (process_raise_exception_name): New constant.
+ (longest_exception_template): New constant.
+ (warning_limit): New variable to limit warnings during expression
+ evaluation.
+ (warnings_issued): New variable to keep track of warnings issued.
+ (known_runtime_file_name_patterns): New constant.
+ (known_auxiliary_function_name_patterns): New constant.
+ (symbol_list_obstack): New variable.
+
+ (field_name_match,is_suffix,is_suppressed_name,ada_encode,
+ ada_decode,ada_match_name,encoded_ordered_before,equiv_types,
+ lesseq_defined_than,is_nondebugging_type,is_name_suffix,wild_match,
+ find_sal_from_funcs_and_line, ada_breakpoint_rewrite,
+ ada_is_tagged_type, ada_is_parent_field, ada_is_wrapper_field,
+ ada_variant_discrim_name, field_alignment, dynamic_template_type,
+ ada_is_character_type, ada_is_aligner_type, ada_is_vax_floating_type):
+ Replace use of deprecated STREQ and STREQN macros by calls to strncmp
+ and strcmp.
+
+ (ada_get_field_index): New function.
+ (lim_warning): New function.
+ (ada_translate_error_message): New function.
+ (MAX_OF_SIZE): New function.
+ (MIN_OF_SIZE): New function.
+ (UMAX_OF_SIZE): New function.
+ (UMIN_OF_SIZE): New function.
+ (discrete_type_high_bound): New function.
+ (discrete_type_low_bound): New function.
+ (base_type): New function.
+ (do_command): Remove.
+
+ (ada_update_initial_language): Use language_ada, not language_unknown.
+ (ada_encode): Renamed from ada_mangle.
+ Obey ADA_RETAIN_DOTS.
+ (ada_decode): Renamed from ada_demangle.
+ Update coding conventions.
+ (decoded_names_store): New hash table.
+ (ada_decode_symbol): New function.
+ (ada_la_decode): New function.
+
+ (modify_general_field): Correct computations of offset and bit
+ position.
+ (desc_base_type): Handle ref types, too.
+ (ada_is_direct_array_type): New function.
+
+ (ada_is_simple_array): Rename to ada_is_simple_array_type.
+ (ada_is_array_descriptor): Rename to ada_is_array_descriptor_type.
+ (ada_is_bogus_array_descriptor,ada_type_of_array,
+ ada_coerce_to_simple_array_ptr,ada_coerce_to_simple_array,
+ ada_type_match,convert_actual,ada_evaluate_subexp): Use renamed
+ ada_is_array_descriptor_type.
+
+ (ada_coerce_to_simple_array_type): Fix incorrect value freeing.
+ (ada_is_packed_array_type): Handle pointers or
+ references to packed arrays as well.
+ (packed_array_type): Uncomment use of TYPE_FLAG_FIXED_INSTANCE.
+ (decode_packed_array_type): Search for the packed array type
+ symbol in the currently selected block and associated
+ superblocks too.
+ Use lookup_symbol again.
+
+ (decode_packed_array): Handle pointers and references.
+ Update call to coerce_unspec_val_to_type.
+ (decode_packed_array_type,value_subscript_packed): Limit warnings.
+ (ada_value_primitive_packed_val): Improve comment.
+
+ (ada_index_type): Substitute int type for "undefined".
+ (ada_index_type,ada_array_bound_from_type,ada_array_bound,
+ ada_array_langth, ada_is_string_type): Use renamed
+ ada_is_simple_array_type.
+ (empty_array): New function.
+
+ (ada_resolve): Rename to resolve.
+ (resolve): Make static.
+ Call renamed resolve_subexp.
+ Update comment.
+ (ada_resolve_subexp): Rename to resolve_subexp.
+ (resolve_subexp): Update comment.
+ Decomment disabled code.
+ Add LOC_COMPUTED* cases.
+ Modify to use temporary struct symbols (marked as being in
+ UNDEF_NAMESPACE) to indicate unresolved names, instead of
+ OP_UNRESOLVED_VALUE.
+ Remove OP_ATTRIBUTE; use individual opcodes for attributes.
+ Add OP_STRING case.
+ Remove OP_ARRAY.
+ Use SYMBOL_PRINT_NAME instead of ada_demangle.
+ Use new ada_lookup_symbol_list interface.
+ Use new ada_resolve_function interface.
+ Remove OP_TYPE case.
+
+ (ada_args_match): Idiot proof against null actuals.
+ Use intermediate variables to clarify.
+ (ada_resolve_function): Update comment and interface.
+ (mangled_ordered_before): Rename to encoded_ordered_before and
+ update comment.
+ (sort_choices): Update comment and interface.
+ Use SYMBOL_LINKAGE_NAME in place of SYMBOL_NAME.
+ (user_select_syms): New interface.
+ Use new sort_choices interface.
+ Use SYMBOL_PRINT_NAME rather than SYMBOL_SOURCE_NAME.
+ (possible_user_operator_p): Idiot-proof against null values.
+ (ada_simple_renamed_entity): Don't make cleanup; rely on
+ caller to free result string.
+ Remove const from return type.
+ (make_array_descriptor): Rename uses of place_on_stack to
+ ensure_lval.
+ Make sure that arrays are on stack.
+
+ (HASH_SIZE): Define.
+ (struct cache_entry): Define.
+ (cache_space): Define.
+ (cache): Define.
+ (clear_ada_sym_cache): New function.
+ (find_entry): New function.
+ (lookup_cached_symbol): New function.
+ (defn_vector_size): Define.
+ (cache_symbol): New function.
+ (defn_symbols): Remove.
+
+ (standard_lookup): Use lookup_symbol_in_language to get effect of
+ C lookup.
+ Cache results.
+
+ (symbol_completion_match): New function.
+ (symbol_completion_add): New function.
+ (ada_make_symbol_completion_list): New function.
+
+ (ada_lookup_partial_symbol,ada_lookup_simple_minsym,
+ add_symbols_from_enclosing_procs,remove_extra_symbols): Replace
+ DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME.
+ (symtab_for_sym): Handle LOC_COMPUTED, LOC_COMPUTED_ARG.
+
+ (ada_lookup_simple_minsym): New function.
+ (ada_lookup_minimal_symbol): Use ada_lookup_simple_minsym.
+
+ (add_symbols_from_enclosing_procs): New interface.
+ Conditionalize more helpfully.
+ Don't bother if program isn't running.
+ Use new interface to get_frame_block.
+ Limit number of levels searched with MAX_LEXICAL_LEVELS, just in case.
+
+ (remove_extra_symbols): New interface.
+ (xget_renaming_scope): New function.
+ (is_package_name): New function.
+ (renaming_is_visible): New function.
+ (remove_out_of_scope_renamings): New function.
+
+ (ada_lookup_symbol_list): New interface.
+ Properly reinitialize the symbol list obstack.
+ Don't call add_symbols_from_enclosing_procs if we start from a
+ static or global block.
+ Use new interfaces to ada_add_block_symbols, add_defn_to_vec,
+ add_symbols_from_enclosing_procs.
+ Add symtab data to cached entries.
+ Handle symbols prefixed with
+ "standard__" specially; strip prefix and don't look in local symbols.
+ Do not include out of scope renaming symbols in list of
+ symbols returned.
+ Add const to block parameter.
+ Move check for non-local, non-global symbols earlier.
+ Remove timing stuff.
+ (ada_lookup_symbol): New interface.
+ Find symtab as well.
+ (ada_lookup_symbol_nonlocal): New function.
+
+ (is_name_suffix): Enhance suffix detection to recognize
+ an optional "__[:digit:]+" before any "\.[:digit:]+" suffix.
+ (is_dot_digits_suffix): New function.
+ (wild_match): Ignore ".[:digit:]*" suffixes during matches.
+
+ (ada_add_block_symbols): New interface. Use obstack to return results
+ in a vector of struct ada_symbol_infos. Add symtab argument.
+ Use new interface to add_defn_to_vec.
+ Remove calls to fill_in_ada_prototype.
+ Use BLOCK_BUCKETS, BLOCK_BUCKET.
+
+ (ada_finish_decode_line_1): Add const qualification to local to fix
+ warning.
+ Start looking in static block for functions to avoid attempts
+ to search frame chain for up-level variables.
+ Adapt to new ada_sals_for_line interface.
+ Use new interfaces to ada_lookup_symbol_list and user_select_syms.
+ Handle quoting of the function name inside the spec string.
+ Skip prologue when funfirstline is set and update the
+ function documentation to that effect.
+
+ (debug_print_lines, debug_print_block, debug_print_blocks,
+ debug_print_symtab): Remove.
+
+ (ada_main_name): New function.
+ (ada_exception_breakpoint_type): New function.
+ (is_known_support_routine): New function.
+ (ada_find_printable_frame): Renamed from find_printable_frame and made
+ global.
+ Remove level parameter.
+ Use new interface to select_frame.
+
+ (begin_command): Remove.
+ (ada_adjust_exception_stop): New function.
+ (ada_print_exception_stop): New function.
+ (exception_name_from_cond): New function.
+ (ada_report_exception_break): Replace disabled code with
+ conditionalization on GNAT_GDB.
+ Get the exception name from the condition string.
+ Remove and move functionality into new functions
+ ada_print_exception_breakpoint_task and
+ ada_print_exception_breakpoint_nontask.
+ (error_breakpoint_runtime_sym_not_found): New function.
+ (is_runtime_sym_defined): New function.
+ (ada_breakpoint_rewrite): Uncomment suppressed code.
+ Use symbolic error-message and runtime-symbol names.
+ Surround runtime symbol names in quotes.
+ Allow non-specific breakpoints on exceptions and assertions before
+ program starts.
+
+ (ada_is_tagged_type): Add parameter.
+ (ada_is_tag_type): New function.
+ (ada_tag_type): Use new ada_lookup_struct_elt_type interface.
+ (ada_variant_discrim_type): Ditto.
+ (value_tag_from_contents_and_address): New function.
+ (type_from_tag): New function.
+ (struct tag_args): New structure used to communicate with
+ ada_tag_name_1.
+ (ada_tag_name_1): New function.
+ (ada_tag_name): New function.
+
+ (ada_scan_number): Update comment.
+ (find_struct_field): New function.
+ (ada_search_struct_field): Make static.
+ (ada_value_struct_elt): New version that returns references when
+ given pointers or references to structs.
+ (ada_lookup_struct_elt_type): Add 'refok' parameter.
+ (ada_which_variant_applies): Use new ada_lookup_struct_elt_type
+ interface.
+ (ada_value_ind): Use new ada_to_fixed_value interface.
+ (ada_coerce_ref): Ditto.
+ (field_offset): Remove.
+
+ (ada_find_any_symbol): New function, extracted from ada_find_any_type.
+ (ada_find_renaming_symbol): New function.
+ (ada_prefer_type): Prefer named types over unnamed ones.
+ (variant_field_index): New function.
+ (contains_variant_part): Removed: subsumed by variant_field_index.
+ (ada_template_to_fixed_record_type): New function, mostly from
+ template_to_fixed_record_type.
+ (template_to_fixed_record_type):
+ Do not scan the type fields beyond the last one; prevents a
+ potential SEGV.
+ Handle case where variant field is listed BEFORE discriminant it
+ depends on.
+ Fix calculation of record length when bit length is
+ not evenly divisible by char length.
+ Move code to ada_template_to_fixed_record_type and call it.
+
+ (template_to_static_fixed_type): Revise comment.
+ Modify to work on ordinary record types as well as templates,
+ so as to handle fields that use ___XVE or ___XVU encodings.
+ (to_record_with_fixed_variant_part): Fill out comment.
+ Initialize C++ stuff in right type.
+ Allow case where DVAL is null.
+ Handle case where variant field is not last.
+ Fix typo concerning record length.
+ (to_fixed_record_type): Decomment disabled code.
+ (to_fixed_record_type): Use variant_field_index instead of
+ contains_variant_part.
+ (to_fixed_variant_branch_type): Ditto.
+ (to_fixed_array_type): Decomment disabled code.
+ (ada_to_fixed_type): Convert tagged types to the specific type.
+ Deactivate the size-check for array types in order to avoid
+ some false size alarms.
+ (to_static_fixed_type): Decomment disabled code.
+ Modify to call template_to_static_fixed_type
+ on ordinary structs, not just ___XVE- and ___XVU-encoded fields.
+ (ada_to_fixed_value_create): Renamed version of old ada_to_fixed_value.
+ Remove valaddr argument, as it is never really used.
+ (ada_to_fixed_value): Change interface to act on single struct value*
+ operand.
+ (adjust_pc_past_prologue): New function.
+ (ada_attribute_name): Modify to take enum exp_opcode argument.
+
+ (ada_enum_name): Recognize new homonym-distinguishing convention.
+ Adjust local variable's type to remove compiler warning.
+ Fix a small problem in the part that unqualifies the enumeration name.
+ (ada_value_binop): New function.
+ (ada_value_equal): New function.
+
+ (ada_evaluate_subexp): Use new ada_lookup_struct_elt_type interface.
+ Don't give error message when not doing normal evaluation
+ and a tagged type doesn't seem to contain a structure member.
+ Give error message for packed arrays.
+ For indexing arrays, handle pointers to packed arrays correctly.
+ Handle case of 'first and 'last attributes of bare integral type
+ without encoded subtype info.
+ Remove some unnecessary casts.
+ Fix uninitialized value of type in computing 'first, 'last, or 'length
+ of array object.
+ Add BINOP_EQUAL and BINOP_NOTEQUAL cases.
+ Remove binop_user_defined_p tests and value_x_binop and value_x_unop
+ calls.
+ Attributes are now exp_opcode values.
+ Correct treatment of 'modulus.
+ Better error message for taking 'length of wrong kind of type;
+ improve comment.
+ Change EVAL_NORMAL to noside for consistency.
+ Use ada_value_binop for DIV, MOD, REM.
+ Make special case out of array of length 0, since an argument
+ of 0 upsets some platforms' malloc.
+ Use OP_STRING instead of OP_ARRAY.
+ For slice, add check that we have an array type before extracting
+ a slice out of it. Avoids a SEGV.
+ When evaluating an array slice, if the array type is a reference to
+ an aligner type, then replace the aligner type by the actual type.
+ Decomment disabled code.
+ Remove some dead code.
+ Use temporary struct symbols (marked as being in UNDEF_NAMESPACE)
+ to indicate unresolved names, instead of OP_UNRESOLVED_VALUE.
+ Rename BINOP_MBR to BINOP_IN_BOUNDS, TERNOP_MBR to TERNOP_IN_RANGE,
+ and UNOP_MBR to UNOP_IN_RANGE.
+ If an array type has a parallel ___XVE type, then use it.
+ Turn arrays into pointers for lvalue arrays.
+ Change TERNOP_SLICE code to work even when bounds are unknown, ignoring
+ bounds error and handle 0-length slices.
+ Use lim_warning.
+ When selecting fields, apply ada_to_fixed_value (because the fields
+ might have ___XVU or ___XVE encodings even if not dynamic.)
+ Use ada_to_fixed_value_create and new ada_to_fixed_value interface.
+ (ada_is_system_address_type): New function.
+
+ (get_var_value): Use new interface to ada_lookup_symbol_list.
+ (get_int_var_value): New interface.
+ (to_fixed_range_type): Allow unknown bound, with warning.
+ (ada_is_modular_type): Decomment disabled code.
+ (ADA_OPERATORS): New definition.
+ (ada_operator_length): New function.
+ (ada_expr_op_name): New function.
+ (ada_forward_operator_length): New function.
+ (ada_dump_subexp_body): New function.
+ (ada_print_subexp): New function.
+ (ada_exp_descriptor): New constant.
+ (ada_op_print_tab): Add 'size. Remove FIXMEs.
+ (ada_language_defn): Add ada_exp_descriptor entry.
+ Change ada_parse => parse.
+ Add post-parser entry.
+ Use ada-specific non-local symbol lookup.
+ Don't use C-style arrays.
+ String lower-bound is 1.
+ Decomment disabled code.
+ (parse): New function.
+ New fields ada_translate_error_message, ada_lookup_symbol,
+ ada_lookup_minimal_symbol.
+
+ * ada-lang.h: Update copyright dates.
+ Replace the mangle/demangle terminology throughout by the
+ more appropriate encode/decode one.
+ Include breakpoint.h.
+ Forward declare struct partial_symbol, struct block.
+ (ADA_KNOWN_RUNTIME_FILE_NAME_PATTERNS): Define.
+ (EXTRACT_ADDRESS): Remove.
+ (EXTRACT_INT): Remove.
+ (ADA_KNOWN_AUXILIARY_FUNCTION_NAME_PATTERNS): Define.
+ (MAX_ENCLOSING_FRAME_LEVELS): Define.
+ (MAX_RENAMING_CHAIN_LENGTH): Define.
+ (struct ada_opname_map): mangled => decoded, demangled=>encoded.
+
+ (enum task_states): Remove.
+ ada_task_states: Remove.
+ (fat_string): Remove.
+ (struct entry_call): Remove.
+ (struct task_fields): Remove.
+ (struct task_entry): Remove.
+
+ (struct ada_symbol_info): Define.
+ (enum ada_attribute): Remove.
+ (enum ada_operator): Define.
+
+ (ada_get_field_index): Declare.
+ (ada_coerce_to_simple_array): Rename to ada_coerce_to_simple_array_ptr.
+ (ada_is_simple_array): Rename to ada_is_simple_array_type.
+ (ada_is_array_descriptor): Rename to ada_is_array_descriptor_type.
+ (ada_lookup_symbol_list): New interface.
+ (ada_decode_symbol): Declare.
+ (ada_decode): Declare.
+ (ada_lookup_symbol): New interface.
+ (ada_update_initial_language): Declare.
+ (ada_lookup_simple_minsym): Declare.
+ (user_select_syms): New interface.
+ (ada_sals_for_line): Declare.
+ (ada_is_tagged_type): New interface.
+ (ada_tag_name): Declare.
+ (ada_lookup_struct_elt_type): Remove declaration.
+ (ada_search_struct_field): Remove declaration.
+ (ada_attribute_name): New interface.
+ (ada_is_system_address_type): Declare.
+ (ada_to_fixed_value): Remove declaration.
+ (ada_template_to_fixed_record_type_1): Declare.
+ (get_int_var_value): New interface.
+ (ada_find_any_symbol): Declare.
+ (ada_find_renaming_symbol): Declare.
+ (ada_mangle): Rename to ada_encode.
+ (ada_simple_renamed_entity): Remove const.
+ (ada_main_name): Declare.
+ (get_current_task): Rename to ada_get_current_task.
+ (get_entry_number): Remove declaration.
+ (ada_report_exception_break): Remove declaration.
+ (ada_print_exception_breakpoint_nontask): Declare.
+ (ada_print_exception_breakpoint_task): Declare.
+ (ada_find_printable_frame): Declare.
+
+ * ada-lex.l: Update copyright notices.
+ Use xmalloc and xfree instead of malloc and free.
+ Use new interface to name_lookup.
+ Use new interface to
+ ada_mangle=>ada_encode.
+ Redo handling of '$...' variable to parallel current treatment
+ in c-exp.y.
+ (resize_tempbuf, canonicalizeNumeral, is_digit_in_base,
+ digit_to_int, strtoulst, processInt, processReal, processId,
+ block_lookup, name_lookup, find_dot_all, subseqMatch, processAttribute,
+ yywrap): Protoize.
+
+ (processInt): Use cast to remove harmless warning.
+ (processReal): Modify to get rid of compiler warning on scan formats.
+
+ (processId): Replace xmalloc with obstack_alloc for name and remove
+ call to ada_name_string_cleanup.
+ Remove obsolete disabled code.
+ (name_lookup): Ditto.
+ New interface.
+ Use obsavestring on temp_parse_space instead of savestring
+ on name, and remove call to ada_name_string_cleanup.
+ Free string returned from ada_simple_renamed_entity.
+ Use new interface to ada_lookup_symbol_list.
+ Decomment disabled code.
+ Treat LOC_COMPUTED and LOC_COMPUTED_ARG symbols as variables,
+ not types.
+ When a type name lookup succeeds as a result of
+ lookup_primitive_typename, check for regular type entry that has not
+ yet been read in.
+ Limit length of chain of renamed symbols we are willing to follow.
+ Do not break names beginning with "standard__" into segments.
+ (block_lookup): Use new interface to ada_lookup_symbol_list.
+
+ * ada-typeprint.c: Update copyright notice.
+ (demangled_type_name): Rename to decoded_type_name.
+ (ada_typedef_print): Use SYMBOL_PRINT_NAME.
+ (print_range_bound): Correct handling of negative
+ bounds that make the index type looked unsigned under STABS.
+ (print_dynamic_range_bound): Use new interface to get_int_var_value.
+ (print_range_type_named): Use the builtin int type if no type
+ corresponding to the given type name could be found.
+ (print_array_type): ada_is_simple_array => ada_is_simple_array_type.
+ Add some bullet-proofing.
+ (print_variant_clauses): Allow for variant branches with ___XVU
+ encodings that are not dynamic fields.
+ Use new interface to ada_is_tagged_type.
+ (print_record_type): Allow for fields with ___XVE encodings that
+ are not dynamic fields.
+ Use new interface to ada_is_tagged_type.
+ (ada_print_type): ada_is_array_descriptor =>
+ ada_is_array_descriptor_type.
+
+ * ada-valprint.c: Update copyright notice.
+ Include gdb_string.h
+ Include infcall.h
+ (ui_memcpy): New function.
+ (ada_print_floating): New function.
+ (ada_print_str): Order arguments correctly.
+ Correct handling of empty arrays and arrays of 0-length items.
+ ada_is_array_descriptor => ada_is_array_descriptor_type
+ Print values of type System.Address in hexadecimal format.
+ Use ada_print_floating to print floating-point numbers in Ada format.
+ Print class tag values with type names.
+ No longer print the address of reference values. Avoids
+ a potential confusion.
+ (ada_value_print): Stop printing the object type for reference
+ values, but preserve that behavior for access types. Avoids
+ a potential confusion.
+ Simplify one conditional expression, as the first part is now
+ necessarily true.
+ ada_is_array_descriptor => ada_is_array_descriptor_type
+ Add check for arrays for null records, and print them by hand.
2004-06-01 Jim Blandy <jimb@redhat.com>