* doc/gdbint.texinfo (Host Definition): Remove documentation
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 8728ff45beca7d0c20e24fea9482f3062c17646a..ccda0fa5ec7d5427fff3ff9f87c4c71d53df9cb7 100644 (file)
@@ -1,3 +1,658 @@
+2004-08-11  Joel Brobecker  <brobecker@gnat.com>
+
+       * doc/gdbint.texinfo (Host Definition): Remove documentation
+       for USE_O_NOCTTY, no longer used.
+       * config/xm-aix4.h (USE_O_NOCTTY): Remove, no longer used.
+       * config/rs6000/xm-rs6000.h (USE_O_NOCTTY): Likewise.
+
+2004-08-11  Joel Brobecker  <brobecker@gnat.com>
+
+       * config/xm-aix4.h (FIVE_ARG_PTRACE): Remove, no longer used.
+       * config/pa/nm-hppah.h (FIVE_ARG_PTRACE): Likewise.
+       * config/rs6000/xm-rs6000.h (FIVE_ARG_PTRACE): Likewise.
+
+2004-08-11  Mark Kettenis  <kettenis@gnu.org>
+
+       * infptrace.c (call_ptrace): Select code based on PTRACE_TYPE_ARG5
+       instead of FIVE_ARG_PTRACE.
+
+       * inflow.c (O_NOCTTY): Define to zero if not already defined.
+       (new_tty): Use O_NOCTTY unconditionally.
+
+2004-08-10  Mark Kettenis  <kettenis@gnu.org>
+
+       * procfs.c (procfs_detach): Cleanup.  Print process ID, not LWP
+       ID.  Use comma in output.  Use gdb_flush on gdb_stdout instead of
+       fflush on stdout.
+
+2004-08-10  Joel Brobecker  <brobecker@gnat.com>
+
+       * xcoff_symfile_finish: Replace last call to xmfree by call
+       to xfree.
+
+2004-08-10  Andrew Cagney  <cagney@gnu.org>
+
+       * main.c (captured_main): Delete call to init_malloc.
+       * defs.h (init_malloc): Delete declaration.
+       * utils.c (mmalloc, mrealloc, mcalloc, mfree)
+       (init_malloc): Delete functions.
+
+       * defs.h (xmfree): Delete.
+       * utils.c (xmfree): Delete function.
+       (xfree): Inline calls to xmfree and mfree.
+       * symmisc.c (free_symtab_block, free_symtab): Use xfree.
+       * symfile.c (reread_symbols, init_psymbol_list): Ditto.
+       * source.c (forget_cached_source_info, find_and_open_source): Ditto.
+       * somread.c (som_symfile_finish): Ditto.
+       * objfiles.c (allocate_objfile, free_objfile): 
+       * nlmread.c (nlm_symfile_finish): Ditto.
+       * hpread.c (hpread_symfile_finish): Ditto.
+       * elfread.c (free_elfinfo, elf_symfile_finish): Ditto.
+       * dbxread.c (dbx_symfile_finish, free_bincl_list): Ditto.
+       * coffread.c (coff_symfile_finish): Ditto.
+
+       * defs.h (xmcalloc): Delete declaration.
+       * utils.c (xmcalloc): Delete.
+       (xcalloc): Inline calls to xmcalloc and mcalloc.
+       * ada-lang.c (_initialize_ada_language): Use htab_create_alloc,
+       xcalloc and xfree.
+       * symtab.c (create_demangled_names_hash): Ditto.
+
+       * defs.h (xmrealloc): Delete.
+       * utils.c (xmrealloc): Delete.
+       (xrealloc): Inline calls to xmrealloc, mmalloc and mrealloc.
+       * symmisc.c (extend_psymbol_list): Use xrealloc.
+       * source.c (find_source_lines): Ditto.
+       * hpread.c (hpread_lookup_type): Ditto.
+       * dbxread.c (add_bincl_to_list): Ditto.
+
+       * utils.c (xmmalloc): Delete.
+       (xmalloc): Inline xmmalloc and mmalloc calls.
+       (msavestring): Use xmalloc.
+       * defs.h (xmmalloc): Delete declaration.
+       * xcoffread.c (xcoff_symfile_init): Use xmalloc instead of
+       xmmalloc.
+       * symmisc.c (extend_psymbol_list): Ditto.
+       * symfile.c (init_psymbol_list): Ditto.
+       * source.c (find_source_lines): Ditto.
+       * hpread.c (hpread_symfile_init, hpread_lookup_type): Ditto.
+       * elfread.c (elf_symtab_read): Ditto.
+       * dbxread.c (dbx_symfile_init, init_bincl_list): Ditto.
+       * coffread.c (coff_symfile_init): Ditto.
+
+2004-08-10  David Carlton  <carlton@bactrian.org>
+
+       * MAINTAINERS: Remove David Carlton from c++ testsuite
+       maintainers.
+
+2004-08-10  Jerome Guitton  <guitton@gnat.com>
+
+       * symfile.c (symbol_file_add_with_addrs_or_offsets): Make sure to
+       print a line feed before the prompt.
+
+2004-08-10  Mark Kettenis  <kettenis@gnu.org>
+
+       * procfs.c (procfs_pid_to_str): Use "%ld" to print LWP.
+
+2004-08-09  Joel Brobecker  <brobecker@gnat.com>
+
+       General cleanup of the AIX xm include file:
+       * config/xm-aix4.h (fd_set): Remove undefine.
+       Remove include of <sys/select.h>.
+       (HAVE_TERMIO): Remove define.
+       (USG): Likewise.
+       (NULL): Remove redefine.
+       (alloca): Remove #pragma.
+       (vfork): Remove define.
+       (termdef): Remove.
+       (SIGWINCH_HANDLER): Remove.
+       (SIGWINCH_HANDLER_BODY): Remove.
+
+2004-08-09  Mark Kettenis  <kettenis@gnu.org>
+
+       * configure.tgt (x86_64-*-openbsd*): Set gdb_osabi to
+       GDB_OSABI_OPENBSD_ELF.
+
+2004-08-07  Robert Millan  <robertmh@gnu.org>
+
+       * bsd-kvm.c: Check for nlist.h before including it.
+
+2004-08-09  Mark Kettenis  <kettenis@gnu.org>
+
+       * i386bsd-nat.c (_initialize_i386bsd_nat): Remove `struct
+       sigcontext' offset consistency checks for ancient BSD.
+
+       * gdb_curses.h [HAVE_CURSESX_H]: Include <cursesX.h>
+
+       * configure.in: Check for <sys/types.h>.  Check return and
+       argument types of ptrace.
+       * configure, config.in: Regenerate.     
+
+2004-08-09  Jim Blandy  <jimb@redhat.com>
+
+       * rs6000-tdep.c (set_sim_regno, init_sim_regno_table,
+       rs6000_register_sim_regno): Doc fixes.
+
+2004-08-08  Joel Brobecker  <brobecker@gnat.com>
+
+       * mips-tdep.c: Include "floatformat.h".
+       (n32n64_floatformat_always_valid): New function.
+       (floatformat_n32n64_long_double_big): New constant.
+       (mips_gdbarch_init): Set size and format of long double
+       for N32 and N64 ABIs.
+       * Makefile.in (mips-tdep.o): Update dependencies.
+
+2004-08-08  Andrew Cagney  <cagney@gnu.org>
+
+       * gdbarch.sh: Delete "fmt" and "attrib" fields.  Always use %s to
+       print.  Improve script's error messages.
+       * gdbarch.h: Re-generate.
+
+       * gdbarch.sh (pformat): New function.
+       (float_format, double_format, long_double_format): List with bit
+       members.  Use pformat when printing.
+       * gdbarch.c, gdbarch.h: Re-generate.
+       
+2004-08-08  Nathan J. Williams  <nathanw@wasabisystems.com>
+
+       * ppcnbsd-nat.c: Include <machine/frame.h>, <machine/pcb.h>,
+       "gdbcore.h", "regcache.h", and "bsd-kvm.h".
+       (ppcnbsd_supply_pcb): New function.
+       (_initialize_ppcnbsd_nat): New prototype and function.
+       * config/powerpc/nbsd.mh (NATDEPFILES): Add bsd-kvm.o.
+       (LOADLIBES): New variable.
+       * Makefile.in (ppcnbsd-nat.o): Update dependencies.
+
+2004-08-08  Andrew Cagney  <cagney@gnu.org>
+
+       * gdbtypes.c (builtin_type_arm_ext, builtin_type_ieee_single)
+       (builtin_type_ieee_double, builtin_type_ia64_quad)
+       (builtin_type_ia64_spill, _initialize_gdbtypes): Add tables of
+       BE/LE floating-point types.
+       * gdbtypes.h (builtin_type_arm_ext, builtin_type_ieee_single)
+       (builtin_type_ieee_double, builtin_type_ia64_quad)
+       (builtin_type_ia64_spill): Declare.
+       * doublest.c (_initialize_doublest, floatformat_ieee_single)
+       (floatformat_ieee_double, floatformat_arm_ext)
+       (floatformat_ia64_spill, floatformat_ia64_quad): Add tables
+       of LE/BE floatformats.  
+       * doublest.h: (struct floatformat, floatformat_ieee_single)
+       (floatformat_ieee_double, floatformat_arm_ext)
+       (floatformat_ia64_spill, floatformat_ia64_quad): Declare.
+
+2004-08-08  Mark Kettenis  <kettenis@gnu.org>
+
+       * i386gnu-nat.c (gnu_store_registers): Fix typo.
+
+       * i386gnu-nat.c (gnu_store_registers): Use regcache_raw_collect
+       instead of regcache_raw_supply when storing the registers.
+
+       * i386gnu-nat.c: Update copyright year.
+       (gnu_store_registers): Don't use deprecated_registers and
+       deprecated_registers_valid.  Use regcache_valid_p and
+       regcache_raw_supply instead.
+
+       * vax-tdep.c (vax_frame_this_id): Use frame_func_unwind instead of
+       frame_pc_unwind.
+
+       * procfs.c (procfs_pid_to_str): Remove redundant and unused
+       variables.  Incapitalized "process".
+
+       * configure.in: Add cursesX to the list of possible curses libs.
+       Add cursesX.h to the list of possible curses headers. 
+       * configure, config.in: Regenerate.     
+
+2004-08-07  Nathan J. Williams  <nathanw@wasabisystems.com>
+
+       * configure.in: Test for struct lwp in <sys/lwp.h>.
+       * bsd-kvm.c (bsd_kvm_proc_cmd): If HAVE_STRUCT_LWP is defined, use
+       the offset of l_addr in struct lwp.
+
+2004-08-07  Nathan J. Williams  <nathanw@wasabisystems.com>
+
+       * bsd-kvm.c: Include "gdbcore.h"
+       (bsd_kvm_open): Use get_exec_file() to set 'execfile'.
+
+2004-08-07  Andrew Cagney  <cagney@gnu.org>
+
+       * gdbtypes.c (build_flt, build_complex): New functions.
+       (gdbtypes_post_init): Use.
+
+       * doublest.c (floatformat_from_length): Fix tipo, "*" not "&".
+
+       * gdbtypes.c (_initialize_gdbtypes): Do not swap builtin_type_int8
+       through to builtin_type_uint128.
+
+       * c-exp.y: Use builtin_type function to obtain builtin types.
+
+       * gdbtypes.h (struct builtin_type): Delete builtin_int0 through to
+       builtin_uint128.
+       * gdbtypes.c (gdbtypes_post_init): Update.
+       (build_gdbtypes): Move initialization of builtin_type_int0
+       through to builtin_type_uint128 from here ...
+       (_initialize_gdbtypes): ... to here.
+       * d10v-tdep.c (d10v_register_type): Update.
+
+       * doublest.c: Update copyright.
+       (floatformat_from_length): Call error when floatformat is NULL.
+       (extract_floating_by_length): Remove NULL fmt check.
+       (store_floating_by_length): Ditto.
+
+2004-08-07  Andrew Cagney  <cagney@gnu.org>
+
+       * regcache.c (regcache_raw_read): For the moment, #ifdef assert
+       that the register is valid.
+
+2004-08-05  Mark Kettenis  <kettenis@chello.nl>
+
+       * i386-linux-tdep.c (i386_linux_sigtramp_start)
+       (i386_linux_rt_sigtramp_start): Change argument from CORE_ADDR to
+       struct frame_info *.  Use safe_frame_unwind_memory instead of
+       deprecated_read_memory_nobpt.
+       (i386_linux_sigtramp_p, i386_linux_sigcontext_addr): Adjust for
+       changed signature of i386_linux_sigtramp_start and
+       i386_linux_rt_sigtramp_start.
+
+       * i386nbsd-tdep.c (i386nbsd_sigtramp_offset): Change argument from
+       CORE_ADDR to struct frame_info *.  Use safe_frame_unwind_memory
+       instead of deprecated_read_memory_nobpt.
+       (i386nbsd_sigtramp_p): Adjust for changed signature of
+       i386nbsd_sigtramp_offset.
+
+       * i386obsd-tdep.c (i386obsd_sigtramp_p): Use
+       safe_frame_unwind_memory instead of target_read_memory.
+
+       * infptrace.c: Include <sys/file.h> if HAVE_SYS_FILE_H instead of
+       !NO_SYS_FILE.
+       [KERNEL_U_ADDR_BSD]: Don't include <a.out.h>.
+       [KERNEL_U_ADDR_BSD] (kernel_u_addr): Remove variable.
+       (_initialize_kernel_u_addr): Remove prototype and function.
+       * infttrace.c: Include <sys/file.h> if HAVE_SYS_FILE_H instead of
+       !NO_SYS_FILE.
+       * xcoffread.c: Likewise.
+
+2004-08-06  Mark Kettenis  <kettenis@gnu.org>
+
+       * vax-nat.c: New file.
+       * vaxbsd-nat.c: Tweak comment.
+       * Makefile.in (ALLDEPFILES): Add vax-nat.c, vaxbsd-nat.c and
+       vaxnbsd-tdep.c.
+       (vax-nat.o): New dependency.
+       * configure.host (vax-*-bsd*, vax-*-ultrix*): Set gdb_host to vax.
+       (vax-*-ultrix2*): Remove.
+       * config/vax/vax.mh: New file.
+       * config/vax/nm-vax.h (vax_kernel_u_addr): New extern declaration.
+       (KERNEL_U_ADDR): Define as vax_kernel_u_addr.
+       (vax_register_u_addr): New prototype.
+       (REGISTER_U_ADDR): Define using vax_register_u_addr.
+       * config/vax/vaxult2.mh: Remove file.
+       * config/vax/vaxult.mh: Remove file.
+       * config/vax/vaxbsd.mh: Remove file.
+       * config/vax/vax.mt (TM_FILE): Remove.
+       * config/vax/tm-vaxbsd.h: Remove file.
+
+2004-08-06  Joel Brobecker  <brobecker@gnat.com>
+
+       * aix-thread.c (get_signaled_thread): New function.
+       (iter_trap): Delete, no longer used.
+       (iter_tid): New function.
+       (pd_update): Find the thread that received the SIGTRAP signal
+       by first locating the kernel thread, and then finding its
+       associated thread.
+
+2004-08-06  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * lin-lwp.c (child_wait): Continue inferior after processing
+       PTRACE_EVENT_CLONE event.
+
+2004-08-05  Nathanael Nerode  <neroden@gcc.gnu.org>
+
+       * MAINTAINERS: Add self to Write-After-Approval.
+
+2004-08-05  Jeff Johnston  <jjohnstn@redhat.com>
+
+       * libunwind-frame.c (LIBUNWIND_SO): Change to be of form:
+       libunwind-xxxx.so" where xxxx is UNW_TARGET.
+
+2004-08-05  Andrew Cagney  <cagney@gnu.org>
+
+       * config/xm-sysv4.h: Delete file.
+       * config/mips/xm-irix5.h: Delete file.
+       * config/mips/irix6.mh (XM_FILE, XM_CLIBS): Delete.
+       * config/mips/irix5.mh (XM_FILE, XM_CLIBS): Delete.
+       * config/ia64/xm-aix.h: Delete file.
+       * config/ia64/aix.mh (XM_FILE): Delete.
+       * config/pa/xm-hppah.h: Delete file.
+       * config/pa/hpux11w.mh (XM_FILE): Delete.
+       * config/pa/hpux11.mh (XM_FILE): Delete.
+       * config/pa/hpux1020.mh (XM_FILE): Delete.
+       * config/pa/hppahpux.mh (XM_FILE): Delete.
+
+       * config/alpha/xm-alphalinux.h: Delete file.
+       * config/djgpp/fnchange.lst: Do not fix xm-alphalinux.h.
+       * config/alpha/alpha-linux.mh (XM_FILE, LOADLIBES): Delete.
+       * config/alpha/xm-alphaosf.h: Delete file.
+       * config/djgpp/fnchange.lst: Do not fix xm-alphaosf.h.
+       * config/alpha/alpha-osf3.mh (XM_FILE): Delete.
+       * config/alpha/alpha-osf2.mh (XM_FILE): Delete.
+       * config/alpha/alpha-osf1.mh (XM_FILE): Delete.
+
+       * config/i386/xm-i386v.h: Delete file.
+       * config/i386/i386v.mh (XM_FILE, XM_CLIBS): Delete.
+       * config/i386/i386sco5.mh (XM_FILE, XM_CLIBS): Delete.
+       * config/i386/xm-i386sco.h: Delete file.
+       * config/i386/i386sco4.mh (XM_FILE, XM_CLIBS, MH_CFLAGS): Delete.
+       * config/i386/i386sco.mh (XM_FILE, XM_CLIBS, CC): Delete.
+       * config/i386/xm-i386v4.h: Delete file.
+       * config/djgpp/fnchange.lst: Do not fix xm-i386v4.h.
+       * config/i386/ncr3000.mh (CC, CFLAGS, XM_FILE): Delete.
+       * config/i386/i386v42mp.mh (XM_FILE, XM_CLIBS): Delete.
+       * config/i386/i386v4.mh (XM_FILE, XM_CLIBS): Delete.
+
+       * config/vax/xm-vax.h: Delete file.
+       * Makefile.in (xm-vaxult.h, xm-vaxbsd.h): Delete.
+       * config/vax/xm-vaxult2.h: Delete file.
+       * config/djgpp/fnchange.lst: Do not fix xm-vaxult2.h.
+       * config/vax/vaxult2.mh (XM_FILE): Delete.
+       * config/vax/xm-vaxult.h: Delete file.
+       * config/vax/vaxult.mh (XM_FILE): Delete.
+       * config/vax/xm-vaxbsd.h: Delete file.
+       * config/vax/vaxbsd.mh (XM_FILE): Delete.
+
+       * gdbarch.sh (deprecated_frame_saved_pc): Delete.
+       * gdbarch.h, gdbarch.c: Re-generate.
+       * regcache.c (deprecated_read_fp, deprecated_write_sp): Delete.
+       * inferior.h (deprecated_read_fp, deprecated_write_sp): Delete.
+       * frame.h: Delete deprecated_read_fp from comments.
+       * arch-utils.c (deprecated_init_frame_pc_default): Delete.
+       * arch-utils.h (deprecated_init_frame_pc_default): Delete.
+
+2004-08-04  Mark Kettenis  <kettenis@gnu.org>
+
+       * i386obsd-tdep.c (i386obsd_sigtramp_p): Adjust for changed signal
+       trampoline in OpenBSD 3.5-current.
+
+       * i387-tdep.c (i387_supply_fsave): Provide summy values for the
+       SSE registers.
+
+       * Makefile.in: Remove embedded page breaks.
+
+2004-08-04  Jim Blandy  <jimb@redhat.com>
+
+       * regcache.c (regcache_raw_read): Assert that, after calling
+        target_fetch_registers, the register we're reading is cached.
+
+       * ppc-linux-nat.c (fetch_register): Replace 'gdb_assert (0)' with
+       a call to 'internal_error', with a more helpful error message.
+       * rs6000-tdep.c (e500_pseudo_register_read,
+       e500_pseudo_register_write, rs6000_store_return_value): Same.
+
+2004-08-04  Andrew Cagney  <cagney@gnu.org>
+
+       * Makefile.in: Update dependencies.
+
+2004-08-04  Jim Blandy  <jimb@redhat.com>
+
+       Change the layout of the PowerPC E500 raw register cache to allow
+       the lower 32-bit halves of the GPRS to be their own raw registers,
+       not pseudoregisters.
+       * ppc-tdep.h (struct gdbarch_tdep): Remove ppc_gprs_pseudo_p flag;
+       add ppc_ev0_upper_regnum flag.
+       * rs6000-tdep.c: #include "reggroups.h".
+       (spe_register_p): Recognize the ev upper half registers as SPE
+       registers.
+       (init_sim_regno_table): Build gdb->sim mappings for the upper-half
+       registers.
+       (e500_move_ev_register): New function.
+       (e500_pseudo_register_read, e500_pseudo_register_write): The 'ev'
+       vector registers are the pseudo-registers now, formed by splicing
+       together the gprs and the upper-half registers.
+       (e500_register_reggroup_p): New function.
+       (P): Macro deleted.
+       (P8, A4): New macro.
+       (PPC_EV_REGS, PPC_GPRS_PSEUDO_REGS): Macros deleted.
+       (PPC_SPE_GP_REGS, PPC_SPE_UPPER_GP_REGS, PPC_EV_PSEUDO_REGS): New
+       macros.
+       (registers_e500): Rearrange register set so that the raw register
+       set contains 32-bit GPRs and upper-half registers, and the SPE
+       vector registers become pseudo-registers.
+       (rs6000_gdbarch_init): Don't initialize tdep->ppc_gprs_pseudo_p;
+       it has been deleted.  Initialize ppc_ev0_upper_regnum.  Many other
+       register numbers are now the same for the E500 as they are for
+       other PowerPC variants.  Register e500_register_reggroup_p as the
+       register group function for the E500.
+       * Makefile.in (rs6000-tdep.o): Update dependencies.
+
+       Adapt PPC E500 native support to the new raw regcache layout.
+       * ppc-linux-nat.c (struct gdb_evrregset_t): Doc fixes.
+       (read_spliced_spe_reg, write_spliced_spe_reg): Deleted.
+       (fetch_spe_register, store_spe_register): Handle fetching/storing
+       all the SPE registers at once, if regno == -1.  These now take
+       over the job of fetch_spe_registers and store_spe_registers.
+       (fetch_spe_registers, store_spe_registers): Deleted.
+       (fetch_ppc_registers, store_ppc_registers): Fetch/store gprs
+       unconditionally; they're always raw.  Fetch/store SPE upper half
+       registers, if present, instead of ev registers.
+       (fetch_register, store_register): Remove sanity checks: gprs are
+       never pseudo-registers now, so we never need to even mention any
+       registers that are ever pseudoregisters.
+
+       Use a fixed register numbering when communicating with the PowerPC
+       simulator.
+       * ppc-tdep.h (struct gdbarch_tdep): New member: 'sim_regno'.
+       * rs6000-tdep.c: #include "sim-regno.h" and "gdb/sim-ppc.h".
+       (set_sim_regno, init_sim_regno_table, rs6000_register_sim_regno): 
+       New functions.
+       (rs6000_gdbarch_init): Register rs6000_register_sim_regno.  Call
+       init_sim_regno_table.
+       * Makefile.in (gdb_sim_ppc_h): New variable.
+       (rs6000-tdep.o): Update dependencies.
+
+2004-08-02  Andrew Cagney  <cagney@gnu.org>
+
+       * cris-tdep.c (cris_register_size): Restore function, still used
+       locally.
+
+       * gdbarch.sh (deprecated_target_read_fp)
+       (deprecated_frame_locals_address, deprecated_frame_args_address)
+       (deprecated_frame_chain_valid, deprecated_frame_chain)
+       (deprecated_init_extra_frame_info, deprecated_pop_frame)
+       (deprecated_frame_init_saved_regs, deprecated_get_saved_register)
+       (deprecated_do_registers_info, deprecated_init_frame_pc): Delete.
+       * gdbarch.h, gdbarch.c: Re-generate.
+       * regcache.c (deprecated_read_fp): Do not call
+       DEPRECATED_TARGET_READ_FP_P.
+       * infcmd.c (default_print_registers_info): Do not call
+       DEPRECATED_DO_REGISTERS_INFO.
+       * frame-base.c (default_frame_locals_address): Do not call
+       DEPRECATED_FRAME_LOCALS_ADDRESS.
+       (default_frame_args_address): Do not call
+       DEPRECATED_FRAME_ARGS_ADDRESS.
+
+       * gdbarch.sh (deprecated_register_raw_size)
+       (deprecated_register_virtual_size:int): Delete.
+       * gdbarch.h, gdbarch.c: Re-generate.
+       * cris-tdep.c (cris_register_size): Delete.
+       (cris_gdbarch_init): Update.
+       * alpha-tdep.c (alpha_register_raw_size)
+       (alpha_register_virtual_size): Delete.
+       (alpha_gdbarch_init): Update.
+
+       * gdbarch.sh (deprecated_register_virtual_type)
+       (deprecated_save_dummy_frame_tos, deprecated_push_return_address)
+       (deprecated_dummy_write_sp): Delete.
+       * gdbarch.h, gdbarch.c: Re-generate.
+
+       * gdbarch.sh (deprecated_register_bytes): Delete.
+       * gdbarch.h, gdbarch.c: Re-generate.
+       * regcache.c (deprecated_register_bytes): New function.
+       * regcache.h (deprecated_register_bytes): Declare.
+       * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
+       * v850-tdep.c (v850_gdbarch_init): Update.
+       * sh64-tdep.c (sh64_gdbarch_init): Update.
+       * ns32k-tdep.c (ns32k_gdbarch_init_32082): Update.
+       * mn10300-tdep.c (mn10300_gdbarch_init): Update.
+       * mcore-tdep.c (mcore_gdbarch_init): Update.
+       * cris-tdep.c (cris_gdbarch_init): Update.
+       * arm-tdep.c (arm_gdbarch_init): Update.
+       * remote.c (init_remote_state): Update.
+       * remote-vx.c (vx_prepare_to_store): Update.
+       * remote-sds.c (sds_fetch_registers, sds_prepare_to_store): Update.
+       * irix5-nat.c (fetch_core_registers): Update.
+       * cris-tdep.c (cris_register_bytes_ok): Update.
+       * config/nm-gnu.h (CHILD_PREPARE_TO_STORE): Update.
+
+       * mips-tdep.c (mips_gdbarch_init, mips_insn16_frame_cache)
+       (mips_insn16_frame_this_id, mips_insn16_frame_prev_register)
+       (mips_insn16_frame_unwind, mips_insn16_frame_sniffer)
+       (mips_insn16_frame_base_address, mips_insn16_frame_base)
+       (mips_insn16_frame_base_sniffer, mips_insn32_frame_cache)
+       (mips_insn32_frame_this_id, mips_insn32_frame_prev_register)
+       (mips_insn32_frame_unwind, mips_insn32_frame_sniffer)
+       (mips_insn32_frame_base_address, mips_insn32_frame_base)
+       (mips_insn32_frame_base_sniffer): Replace mips16 / mips32 prefix
+       with mips_insn16 and mips_insn32.
+
+       Replace DEPRECATED_REGISTER_RAW_SIZE with register_size.
+       * rs6000-tdep.c (rs6000_push_dummy_call)
+       (rs6000_extract_return_value): Use register_size.
+       * xstormy16-tdep.c (xstormy16_get_saved_register) 
+       (xstormy16_extract_return_value): Ditto.
+       * valops.c (value_assign): Ditto.
+       * v850ice.c (v850ice_fetch_registers, v850ice_store_registers): 
+       * v850-tdep.c (v850_extract_return_value): Ditto.
+       * tracepoint.c (collect_symbol): Ditto.
+       * target.c (debug_print_register): Ditto.
+       * stack.c (frame_info): Ditto.
+       * rs6000-nat.c (ARCH64, fetch_register, store_register): Ditto.
+       * rom68k-rom.c (rom68k_supply_one_register): Ditto.
+       * remote.c (struct packet_reg, remote_wait, remote_async_wait)
+       (store_register_using_P): Ditto.
+       * remote-vxmips.c (vx_read_register, vx_write_register): Ditto.
+       * remote-sim.c (gdbsim_fetch_register, gdbsim_store_register): Ditto.
+       * remote-mips.c (mips_wait, mips_fetch_registers): Ditto.
+       * remote-e7000.c (fetch_regs_from_dump, sub2_from_pc): Ditto.
+       * regcache.c (deprecated_read_register_bytes) 
+       (deprecated_write_register_bytes, read_register) 
+       (write_register): Ditto.
+       * ppc-linux-nat.c (fetch_altivec_register, fetch_register)
+       (supply_vrregset, store_altivec_register, fill_vrregset): Ditto.
+       * monitor.c (monitor_supply_register, monitor_fetch_register) 
+       (monitor_store_register): Ditto.
+       * mn10300-tdep.c (mn10300_pop_frame_regular) 
+       (mn10300_print_register): Ditto.
+       * mipsv4-nat.c (fill_fpregset): Ditto.
+       * mips-linux-tdep.c (supply_32bit_reg, fill_fpregset) 
+       (mips64_fill_fpregset): Ditto.
+       * mi/mi-main.c (register_changed_p, get_register)
+       (mi_cmd_data_write_register_values): Ditto.
+       * lynx-nat.c (fetch_inferior_registers, store_inferior_registers): 
+       * irix5-nat.c (fill_gregset, fetch_core_registers): 
+       * infrun.c (write_inferior_status_register): Ditto.
+       * infptrace.c (fetch_register, store_register): Ditto.
+       * infcmd.c (default_print_registers_info): Ditto.
+       * ia64-linux-nat.c (COPY_REG, fill_fpregset): Ditto.
+       * ia64-aix-nat.c (COPY_REG, fill_gregset): Ditto.
+       * i386gnu-nat.c (gnu_store_registers, fill): Ditto.
+       * hpux-thread.c (hpux_thread_fetch_registers)
+       (hpux_thread_store_registers): Ditto.
+       * hppah-nat.c (store_inferior_registers, fetch_register): 
+       * findvar.c (value_from_register): Ditto.
+       * dve3900-rom.c (fetch_bitmapped_register): 
+       * cris-tdep.c (cris_gdbarch_init): Ditto.
+       * alpha-tdep.h: Ditto.
+       * aix-thread.c (pd_enable, fill_sprs64, fill_sprs32): Ditto.
+
+       * regcache.h: Delete DEPRECATED_REGISTER_VIRTUAL_SIZE and
+       DEPRECATED_REGISTER_RAW_SIZE from comments.
+       * regcache.c (init_regcache_descr, regcache_dump): Do not check or
+       use DEPRECATED_REGISTER_VIRTUAL_SIZE and
+       DEPRECATED_REGISTER_RAW_SIZE.
+       * findvar.c (value_of_register): Simplify by assuming that the
+       registers raw and virtual sizes are identical.
+       * regcache.h: Delete DEPRECATED_REGISTER_VIRTUAL_TYPE in
+       comment.
+       * arch-utils.c (generic_register_size): Simplify by assuming
+       register_type.
+
+       * regcache.c (legacy_read_register_gen, real_register) 
+       (legacy_write_register_gen): Delete, not used.
+
+       * regcache.c (struct regcache_descr): Delete legacy_p.
+       (init_legacy_regcache_descr): Delete function.
+       (init_regcache_descr): Delete call to init_legacy_regcache_descr.
+       Do not use deprecated register functions.
+       (regcache_raw_read, deprecated_write_register_gen):
+       (deprecated_read_register_gen, regcache_raw_write): Delete code
+       predicated on legacy_p.
+       (register_size): Delete check against register raw size.
+
+       * cris-tdep.c (cris_register_type): Replace
+       cris_register_virtual_type.
+       (cris_gdbarch_init): Update, set register_type.
+
+       * gdbarch.sh (deprecated_frameless_function_invocation): Delete.
+       * gdbarch.h, gdbarch.c: Re-generate.
+       * arm-tdep.c    (arm_frameless_function_invocation): Delete.
+       (arm_gdbarch_init) Do not set frameless function invocation.
+       * frame.h (legacy_frameless_look_for_prologue): Delete declaration.
+       * blockframe.c (legacy_frameless_look_for_prologue): Delete function.
+       * frv-tdep.c (frv_frameless_function_invocation): Delete.
+       (frv_gdbarch_init): Do not set frameless function invocation.
+       * sh64-tdep.c (sh64_gdbarch_init): Ditto.
+       * sh-tdep.c (sh_gdbarch_init): Ditto.
+       * m32r-tdep.c (m32r_gdbarch_init): Ditto.
+       * h8300-tdep.c (h8300_gdbarch_init): Ditto.
+       * avr-tdep.c (avr_gdbarch_init): Ditto.
+
+       * blockframe.c (legacy_frame_chain_valid): Delete function.
+
+       * dummy-frame.c (struct dummy_frame): Delete call_lo, call_hi, top
+       and pc.  Update comments.
+       (pc_in_dummy_frame): Delete function.
+       (deprecated_pc_in_call_dummy): Inline old pc_in_dummy_frame code,
+       use the "id".
+       (dummy_frame_push, dummy_frame_sniffer): Instead of call_lo,
+       call_hi, top and pc, use the id.
+       (fprint_dummy_frames): Do not print call_lo, call_hi, top and pc.
+
+       * dummy-frame.c: Include "gdb_string.h".
+       (generic_save_call_dummy_addr, generic_push_dummy_frame)
+       (generic_save_dummy_frame_tos): Delete.
+       (dummy_frame_push): New function, replaces above.
+       * dummy-frame.h: Update copyright.
+       (dummy_frame_push): Declare.
+       * frame.h (generic_save_dummy_frame_tos, generic_push_dummy_frame)
+       (generic_save_call_dummy_addr): Delete declarations.
+       * infcall.c: Include "dummy-frame.h".
+       (call_function_by_hand): Add locals caller_regcache,
+       caller_regcache_cleanup and dummy_id.  Replace push_dummy_frame
+       with call to frame_save_as_regcache plus cleanup.  Delete calls to
+       generic_save_call_dummy_addr and generic_save_dummy_frame_tos.
+       Move clear_proceed_status to just before the resume, add call to
+       dummy_frame_push (discard cleanup).
+       * Makefile.in (infcall.o): Add $(dummy_frame_h).
+       (dummy-frame.o): Add $(gdb_string_h).
+
+2004-08-01  Andrew Cagney  <cagney@gnu.org>
+
+       * dummy-frame.h (dummy_frame_unwind): Replace dummy_frame_sniffer.
+       * frame-unwind.c (frame_unwind_init): Use dummy_frame_unwind.
+       * dummy-frame.c (find_dummy_frame): Delete.
+       (struct dummy_frame_cache, dummy_frame_sniffer)
+       (dummy_frame_prev_register, dummy_frame_this_id)
+       (dummy_frame_unwinder, dummy_frame_unwind): Re-implement dummy
+       frame unwinder using a dummy_frame_cache.
+
+2004-08-01  Andrew Cagney  <cagney@gnu.org>
+
+       * frame.h (frame_save_as_regcache): Declare.
+       * frame.c (frame_save_as_regcache): New function.
+       (do_frame_read_register): Replace do_frame_unwind_register.
+       (frame_pop): Use frame_save_as_regcache.
+       * dummy-frame.c (generic_push_dummy_frame): Use
+       frame_save_as_regcache.
+
 2004-08-01  Joel Brobecker  <brobecker@gnat.com>
 
        * dwarf2read.c (dwarf_decode_lines): Do not consider the current
This page took 0.030845 seconds and 4 git commands to generate.