* gdbarch.sh (struct regcache): Add opaque declaration.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index e60cd4244c60623cbcfbafb63c3118a77c31f35a..b89be5deb1f02baef4530de7f280142004547d7f 100644 (file)
@@ -1,3 +1,498 @@
+2002-07-03  Andrew Cagney  <ac131313@redhat.com>
+
+       * gdbarch.sh (struct regcache): Add opaque declaration.
+       (EXTRACT_RETURN_VALUE): New architecture method.
+       (EXTRACT_STRUCT_VALUE_ADDRESS): Ditto.
+       * gdbarch.h, gdbarch.c: Regenerate.
+       * arch-utils.c (legacy_extract_return_value): New function.
+       * arch-utils.h (legacy_extract_return_value): Declare.
+       * values.c (value_being_returned): Re-enable code handling
+       EXTRACT_STRUCT_VALUE_ADDRESS.  Move
+       deprecated_grub_regcache_for_registers call to block handling
+       DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS.
+       (EXTRACT_RETURN_VALUE): Do not define.
+
+2002-07-03  Grace Sainsbury  <graces@redhat.com>
+
+       * config/mcore/tm-mcore.h (REGISTER_BYTES, NUM_REGS, PC_REGNUM)
+       (SP_REGNUM, FP_REGNUM, FUNCTION_START_OFFSET, DECR_PC_AFTER_BREAK)
+       (BREAKPOINT_FROM_PC, INNER_THAN, SAVED_PC_AFTER_CALL)
+       (INIT_EXTRA_FRAME_INFO, FRAME_INIT_SAVED_REGS, INIT_FRAME_PC)
+       (FRAME_CHAIN, FRAME_CHAIN_VALID, FRAME_SAVED_PC)
+       (STORE_RETURN_VALUE, DEPRECATED_EXTRACT_RETURN_VALUE)
+       (STORE_STRUCT_RETURN, DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS)
+       (SKIP_PROLOGUE, FRAME_ARGS_SKIP, FRAME_ARGS_ADDRESS)
+       (FRAME_LOCALS_ADDRESS, FRAME_NUM_ARGS, POP_FRAME)
+       (PUSH_RETURN_ADDRESS, PUSH_DUMMY_FRAME, PUSH_ARGUMENTS): Remove.
+       * mcore-tdep.c (mcore_init_extra_frame_info): Add fromleaf
+       argument so the function fits the prototype in the architecture
+       vector.
+       (mcore_pop_frame): Remove argument so the function fits the
+       prototype. Use get_current_frame instead of the argument.
+       (mcore_push_arguments): Change type of struct_return so the
+       function can be used in the architecture vector.
+       (mcore_store_struct_return): Add.
+       (mcore_frame_init_saved_regs): Add.
+       (mcore_gdbarch_init): Add function calls to replace the macros
+       removed from tm-mcore.h
+
+2002-07-03  Andrew Cagney  <ac131313@redhat.com>
+
+       * infcmd.c (print_return_value): Remove compatibility code calling
+       deprecated_grub_regcache_for_registers.
+       
+       * values.c: Include "regcache.h".
+       (value_being_returned): Update.  Use
+       deprecated_grub_regcache_for_registers to extract the register
+       buffer address.  
+       * value.h (value_being_returned): Change ``retbuf'' parameter to a
+       ``struct regcache''.
+       * Makefile.in (values.o): Add dependency on $(regcache_h).
+
+       * inferior.h (run_stack_dummy): Change type of second parameter to
+       a ``struct regcache''.
+       * valops.c (hand_function_call): Change type of retbuf to ``struct
+       regcache''.  Allocate using regcache_xmalloc, clean using
+       make_cleanup_regcache_xfree.
+       * infcmd.c (run_stack_dummy): Update.  Use
+       regcache_cpu_no_passthrough instead of memcpy to copy the buffer.
+
+       * regcache.c (do_regcache_xfree): New function.
+       (make_cleanup_regcache_xfree): New function.
+       * regcache.h (make_cleanup_regcache_xfree): Declare.
+
+2002-07-03  Martin M. Hunt  <hunt@redhat.com>
+
+       * event-top.c (command_line_handler): Don't read past
+        beginning of buffer.
+
+2002-07-03  Martin M. Hunt  <hunt@redhat.com>
+       
+        * varobj.c (struct varobj_root): Change frame from CORE_ADDR to 
+        struct frame_id. 
+        (varobj_create): Store frame_id for root.
+        (varobj_gen_name): Use xasprintf.
+        (varobj_update): Save and restore frame using get_frame_id() and
+        frame_find_by_id().
+        (create_child): Use xasprintf.
+        (new_root_variable): Initialize frame_id.
+        (c_name_of_child): Use xasprintf. Call find_frame_by_id().
+        (c_value_of_variable): Use xasprintf. Move mem_fileopen call
+        to prevent memory leak.
+
+2002-07-03  Andrew Cagney  <ac131313@redhat.com>
+
+       * valops.c (hand_function_call): Move declaration of retbuf to
+       start of function, allocate using malloc, add a cleanup but before
+       the inf_status cleanup, cleanup the buffer.  Rename local variable
+       old_chain to inf_status_cleanup.
+
+2002-07-03  Martin M. Hunt  <hunt@redhat.com>
+
+       * top.c (execute_command): Use cmd_func() and cmd_func_p().
+
+       * cli/cli-decode.c (cmd_func_p): New function.
+       (cmd_func): New function.
+
+       * command.h: Add cmd_func() and cmd_func_p().   
+       
+2002-07-03  Grace Sainsbury  <graces@redhat.com>
+
+       * config/mcore/tm-mcore.h (GDB_MULTI_ARCH): Add macro. Set to 0.
+       (REGISTER_SIZE): Remove.
+       (MAX_REGISTER_RAW_SIZE): Remove.
+       (REGISTER_VIRTUAL_TYPE): Remove.
+       (MAX_REGISTER_VIRTUAL_SIZE): Remove.
+       (REGISTER_NAME): Remove.
+       (USE_GENERIC_DUMMY_FRAMES): Remove.
+       (CALL_DUMMY): Remove.
+       (CALL_DUMMY_START_OFFSET): Remove.
+       (CALL_DUMMY_BREAKPOINT_OFFSET): Remove.
+       (CALL_DUMMY_LOCATION): Remove.
+       (FIX_CALL_DUMMY): Remove.
+       (CALL_DUMMY_ADDRESS): Remove.
+       (SIZEOF_CALL_DUMMY_WORDS): Remove.
+       (SAVE_DUMMY_FRAME_TOS): Remove.
+       * mcore-tdep.c (MCORE_REG_SIZE, MCORE_NUM_REGS): Add macros.
+       (mcore_register_virtual_type): New function.
+       (mcore_register_byte): New function.
+       (mcore_register_size): New function.
+       (mcore_register_name): New function.
+       (mcore_gdbarch_init): New function. Add set_gdbarch calls for
+       macros removed from tm-mcore.h.
+       (mcore_dump_tdep): Add.
+       (_initialize_mcore_tdep): Add gdbarch_register call.
+
+2002-07-03  Mark Kettenis  <kettenis@gnu.org>
+
+       * i386-tdep.c (i386_frameless_signal_p): Provide an argument in to
+       frameless_look_for_prologue, such that we actually call this
+       function.
+
+2002-07-02  Joel Brobecker  <brobecker@gnat.com>
+
+       * frame.h (frame_address_in_block): New function.
+
+       * blockframe.c (frame_address_in_block): New function extracted
+       from get_frame_block().
+       (get_frame_block): Use frame_address_in_block().
+       (block_innermost_frame): Use frame_address_in_block() to match
+       the frame pc address against the block boundaries rather than
+       the frame pc directly. This prevents a failure when a frame pc
+       is actually a return-address pointing immediately after the end
+       of the given block. 
+
+2002-07-02  Grace Sainsbury  <graces@redhat.com>
+
+       * MAINTAINERS: Add self under write after approval. 
+
+2002-07-02  Grace Sainsbury  <graces@redhat.com>
+
+       * m68k-tdep.c (m68k_remote_breakpoint_from_pc): Add. Currently not
+       used in architecture vector. The default is
+       m68k_local_breakpoint_from_pc.
+        (m68k_local_breakpoint_from_pc): Add.
+        (enum): Add register numbers from tm-m68k.h.
+        (m68k_gdbarch_init): Add breakpoint_from_pc to architecture
+       vector.  
+       * config/m68k/tm-m68k.h (GDB_MULTI_ARCH): Set to
+       GDB_MULTI_ARCH_PARTIAL.
+        (BPT_VECTOR, REGISTER_BYTES_FP, REGISTER_BYTES_NOFP)
+        (NUM_FREGS, SIG_PC_FP_OFFSET, SP_ARG0, REMOTE_BPT_VECTOR): Move to
+       m68k-tdep.c.
+        (BREAKPOINT, REMOTE_BREAKPOINT): Remove.
+        (A1_REGNUM, FP0_REGNUM, FPC_REGNUM, FPS_REGNUM, FPI_REGNUM): Move
+       to enum in m68k-tdep.c
+
+2002-07-02  Joel Brobecker  <brobecker@gnat.com>
+
+       * solib-osf.c (open_map): Compute the list of shared libraries
+       loaded by the inferior, rather than the list of libraries loaded
+       by GDB itself.  Otherwise, GDB ends up reading the symbols from
+       the wrong shared libraries...
+
+2002-07-02  Mark Kettenis  <kettenis@gnu.org>
+
+       * i386-linux-tdep.c (i386_linux_sigcontext_addr): Make static.
+       (LINUX_SIGCONTEXT_PC_OFFSET, LINUX_SIGCONEXT_SP_OFFSET): Remove
+       macros.
+       (i386_linux_sigtramp_saved_pc, i386_linux_sigtramp_saved_sp):
+       Remove functions.
+       (FRAMELESS_SIGNAL): Remove function.
+       (i386_linux_frame_chain, i386_linux_frame_saved_pc,
+       i386_linux_saved_pc_after_call): Removed.
+       (i386_linux_init_abi): Initialize tdep->sigcontext_addr,
+       tdep->sc_pc_offset and tdep->sc_sp_offset.  Don't override
+       frame_chain, frame_saved_pc and saved_pc_after_call any longer.
+
+       * i386-tdep.c (i386_frameless_signal_p): New function.
+       (i386_frame_chain): Deal with frameless signals.
+       (i386_sigtramp_saved_sp): New function.
+       (i386_frame_saved_pc): Deal with frameless signals.
+       (i386_saved_pc_after_call): Make sure the correct value is
+       returned just after entry into a sigtramp.
+       * i386bsd-tdep.c (i386bsd_sc_sp_offset, i386nbsd_sc_sp_offset,
+       i386fbsd4_sc_sp_offset): New variables.
+       (i386bsd_init_abi, i386nbsd_init_abi, i386fbsd4_init_abi): Use
+       these variables to initialize tdep->sc_sp_offset.  * i386bsd-nat.c
+       (_initialize_i386bsd_nat): Add sanity check for sc_sp_offset
+       similiar to what we already did for sc_pc_offset.
+       * i386-sol2-tdep.c (i386_sol2_init_abi): Initialize
+       tdep->sc_sp_offset.
+
+       * i386nbsd-tdep.c (fetch_elfcore_registers): Wrap long line.
+
+2002-07-02  Michal Ludvig  <mludvig@suse.cz>
+
+       * config/i386/tm-x86-64linux.h: New.
+       * config/i386/x86-64linux.mt: Add GDB_MULTI_ARCH and TM_FILE
+       definitions.
+       * config/i386/nm-x86-64.h: Rename to ...
+       * config/i386/nm-x86-64linux.h: ... this one.
+       * config/i386/x86-64linux.mh: Reflect the above change.
+       
+2002-07-01  Mark Kettenis  <kettenis@gnu.org>
+
+       * i386-tdep.h (struct gdbarch_tdep): Replace sigtramp_saved_pc
+       with sigcontext_addr.  Add sc_sp_offset.
+       (i386bsd_sigtramp_saved_pc): Remove prototype.
+       (i386bsd_sicontext_addr): Add prototype.
+       * i386-tdep.c (i386_sigtramp_saved_pc): New function.
+       (i386_frame_saved_pc): Rewrite to call i386_sigtramp_saved_pc.
+       (i386_svr4_sigtramp_saved_pc): Removed.
+       (i386_svr4_sigcontext_addr): New function.
+       (i386_svr4_init_abi): Don't initialize tdep->sigtramp_saved_pc.
+       Initialize tdep->sigcontext_addr instead.  Initialize
+       tdep->sc_pc_offset and tdep->sc_sp_offset.
+       (i386_gdbarch_init): Likewise.
+       * i386bsd-tdep.c (i386bsd_sigcontext_addr): Don't make it static
+       any more.
+       (i386bsd_sigtramp_saved_pc): Remove function.
+       (i386bsd_init_abi): Don't initialize tdep->sigtramp_saved_pc.
+       Initialize tdep->sigcontext_addr instead.  Initialize
+       tdep->sc_pc_offset.
+       * i386-linux-tdep.c (i386_linux_init_abi): Remove initialization
+       of tdep->sigtramp_saved_pc.
+       * i386-sol2-tdep.c (i386_sol2_init_abi): Don't initialize
+       tdep->sigtramp_saved_pc.  Initialize tdep->sigcontext_addr
+       instead.
+
+       * i386-tdep.c (i386_frameless_function_invocation,
+       i386_frame_num_args, i386_frame_init_saved_regs,
+       i386_skip_prologue, i386_push_dummy_frame, i386_fix_call_dummy,
+       i386_pop_frame, i386_push_arguments, i386_store_struct_return,
+       i386_extract_return_value, i386_store_return_value,
+       i386_extract_struct_value_address, i386_register_virtual_type,
+       i386_register_convertible, i386_register_convert_to_virtual,
+       i386_register_convert_to_raw, i386_svr4_sigtramp_saved_pc,
+       i386_go32_init_abi, i386_nw_init_abi, i386_gdbarch_init): Make
+       static.
+
+2002-07-01  Mark Kettenis  <kettenis@gnu.org>
+
+       * i386bsd-tdep.c (i386bsd_frame_saved_pc): Removed.
+
+       * config/i386/tm-i386sol2.h (COERCE_FLOAT_TO_DOUBLE): Removed.
+       * i386-sol2-tdep.c (i386_sol2_init_abi): Adjust for the removal of
+       this macro.  Include "value.h".
+
+2002-06-30  Aidan Skinner  <aidan@velvet.net>
+
+       * ada-exp.tab.c: remove as it's a generated file
+       * ada-lex.c: remove as it's a generated file
+               
+2002-06-30  Mark Kettenis  <kettenis@gnu.org>
+
+       * config/i386/tm-i386.h (struct frame_info, struct
+       frame_saved_regs, struct value, struct type): Remove forward
+       declarations.
+
+       * config/i386/tm-linux.h [HAVE_PTRACE_GETFPXREGS]
+       (FILL_FPXREGSET, HAVE_SSE_REGS): Remove define.
+       * config/i386/nm-linux.h [HAVE_PTRACE_GETFPXREGS]
+       (FILL_FPXREGSET): Define.
+
+       * config/i386/tm-nbsd.h (HAVE_SSE_REGS): Remove define.
+
+       * configure.tgt (i[3456]86-*-openbsd*): Fold into
+       i[3456]86-*-netbsd* case.
+       * config/i386/tm-obsd.h: Removed.
+       * config/i386/obsd.mt: Removed.
+       * config/i386/obsd.mh (NATDEPFILES): Remove corelow.o and
+       core-aout.o.
+       (MH_CFLAGS): Add -DYYDEBUG=0.
+
+       * i386bsd-nat.c (_initialize_i386bsd_nat): Define SC_PC_OFFSET to
+       i386nbsd_sc_pc_offset on OpenBSD too.
+
+       * config/i386/tm-fbsd.h [!SVR4_SHARED_LIBS]
+       (IN_SOLIB_CALL_TRAMPOLINE): Remove define.
+       * config/i386/tm-nbsdaout.h (IN_SOLIB_CALL_TRAMPOLINE): Remove
+       define.
+       * i386bsd-tdep.c: Include "arch-utils.h".
+       (i386bsd_aout_in_solib_call_trampoline): New function.
+       (i386bsd_init_abi): Set in_solib_call_trampoline to
+       i386bsd_aout_in_solib_call_trampoline.
+       (i386nbsdelf_init_abi, i386fbsd_init_abi): Set
+       in_solib_call_trampoline to generic_in_solib_call_trampoline.
+
+2002-06-28  Andrew Cagney  <ac131313@redhat.com>
+
+       * macrotab.h: Do not include "obstack.h" or "bcache.h".
+       (struct obstack, struct bcache): Add opaque declarations.
+       * Makefile.in (macrotab_h): Update
+
+2002-06-28  Andrew Cagney  <ac131313@redhat.com>
+
+       * blockframe.c (generic_find_dummy_frame): Change return type to
+       ``struct regcache''.
+       (struct dummy_frame): Replace field ``registers'' with regcache, a
+       struct regcache object.
+       (generic_find_dummy_frame): Update.
+       (generic_push_dummy_frame): Update.  Use regcache_xfree,
+       regcache_xmalloc and regcache_cpy.
+       (generic_pop_dummy_frame): Update.  Use regcache_cpy and
+       regcache_xfree.
+       (deprecated_generic_find_dummy_frame): Update.
+       (generic_read_register_dummy): Update.  Use
+       regcache_read_as_address.
+       (generic_call_dummy_register_unwind): Update.  Use regcache_read.
+       (generic_get_saved_register): Update.  Use regcache_read.
+
+2002-06-28  Andrew Cagney  <ac131313@redhat.com>
+
+       * Makefile.in (objfiles_h): Add $(bcache_h).
+       * objfiles.h: Include "bcache.h".
+
+       * Makefile.in (symtab_h): Remove $(bcache_h).
+       * symtab.h: Do not include "bcache.h".
+
+2002-06-28  Andrew Cagney  <ac131313@redhat.com>
+
+       * ppcnbsd-tdep.c (ppcnbsd_init_abi): Set frame_chain_valid to
+       generic_func_frame_chain_valid.
+
+2002-06-28  David O'Brien  <obrien@FreeBSD.org>
+
+       * config/i386/nm-fbsd.h: Include <sys/param.h>.
+       * config/i386/tm-fbsd.h: Likewise.
+
+2002-06-28  Andrew Cagney  <ac131313@redhat.com>
+
+       * rs6000-tdep.c (rs6000_gdbarch_init): Use
+       generic_unwind_get_saved_register.
+
+2002-06-27  Andrew Cagney  <ac131313@redhat.com>
+
+       From 2002-06-27 John David Anglin <dave@hiauly1.hia.nrc.ca>:
+       * regcache.c (supply_register): Add missing argument to
+       register_buffer call.
+
+2002-06-27  Andrew Cagney  <ac131313@redhat.com>
+
+       * Makefile.in (init.c): Drop -e option to grep.  Not necessary and
+       Solaris /bin/grep does not not like it.  From Peter Schauer.
+
+2002-06-26  Tom Tromey  <tromey@redhat.com>
+
+       * command.h (add_setshow_cmd): Declare.
+       (add_setshow_cmd_full): Declare.
+       * cli/cli-decode.c (add_setshow_cmd): No longer static.  Now
+       returns void.  Use add_setshow_cmd_full.
+       (add_setshow_cmd_full): New function.
+       (add_setshow_auto_boolean_cmd): Use add_setshow_cmd_full.
+       (add_setshow_boolean_cmd): Likewise.
+
+2002-06-26  Jason Thorpe  <thorpej@wasabisystems.com>
+
+       * config/vax/tm-vax.h: Protect from multiple inclusion.
+       (TARGET_UPAGES, TARGET_NBPG, STACK_END_ADDR)
+       (SIGTRAMP_START, SIGTRAMP_END, SIGCONTEXT_PC_OFFSET): Move to...
+       * config/vax/tm-vaxbsd.h: ...here.  New file.
+       * config/vax/vax.mt (TM_FILE): Set to tm-vaxbsd.h.
+
+2002-06-26  Jason Thorpe  <thorpej@wasabisystems.com>
+
+       * config/vax/tm-vax.h (BREAKPOINT): Remove.
+       (BELIEVE_PCC_PROMOTION): Remove.
+       (AP_REGNUM): Move to...
+       * config/vax/nm-vax.h: ...here.
+       * vax-tdep.c: Use VAX_AP_REGNUM instead of AP_REGNUM.
+       (vax_breakpoint_from_pc): New function.
+       (vax_gdbarch_init): Initialize gdbarch_breakpoint_from_pc
+       and gdbarch_believe_pcc_promotion.
+
+2002-06-26  Jason Thorpe  <thorpej@wasabisystems.com>
+
+       * Makefile.in (vax_tdep_h): Define.  
+       (vax-tdep.o): Use $(vax_tdep_h).
+       * vax-tdep.c (vax_gdbarch_init): Use generic OS ABI framework.
+       (vax_dump_tdep): New function. 
+       (_initialize_vax_tdep): Register vax_dump_tdep.
+       * vax-tdep.h: Include osabi.h.     
+       (struct gdbarch_tdep): New. 
+
+2002-06-26  Andrew Cagney  <cagney@redhat.com>
+
+       * frame.h (deprecated_generic_find_dummy_frame): Rename
+       generic_find_dummy_frame.
+       * blockframe.c (generic_find_dummy_frame): Make static.
+       (deprecated_generic_find_dummy_frame): New function.
+       * sh-tdep.c (sh_nofp_frame_init_saved_regs): Replace
+       generic_find_dummy_frame with deprecated_find_dummy_frame.
+       (sh64_nofp_frame_init_saved_regs): Ditto.
+       (sh_fp_frame_init_saved_regs): Ditto.
+       * s390-tdep.c (s390_frame_saved_pc_nofix): Ditto.
+       (s390_frame_chain): Ditto.
+       * cris-tdep.c (cris_frame_init_saved_regs): Ditto.
+
+2002-06-26  Grace Sainsbury  <graces@redhat.com>
+
+       * config/m68k/tm-m68k.h: Rearrange code so macros not in the
+       gdbarch vector are at the top.
+       (NUM_REGS): Remove.
+       (FP_REGNUM, SP_REGNUM, PS_REGNUM, PC_REGNUM, FP0_REGNUM): Remove.
+       (FRAME_ARGS_ADDRESS): Remove.
+       (FRAME_LOCALS_ADDRESS): Remove.
+       (FRAME_NUM_ARGS): Remove.
+       (FRAME_ARGS_SKIP): Remove.  
+       * m68k-tdep.c (enum): Add eumeration of special register numbers.
+       (m68k_gdbarch_init): Add gdbarch initializations for macros
+       undefined in tm-m68k.h
+
+2002-06-26  Grace Sainsbury  <graces@redhat.com>
+
+       * monitor.h: Add the function regname to monitor_ops
+       structure. This way NUM_REGS does not have to be a constant.
+       * monitor.c (monitor_fetch_register): Added support for regname
+       function. The function is called if the array regnames is NULL.
+       (monitor_store_register): Same.
+       * cpu32bug-rom.c (cpu32bug_regname): Add function. Replaces
+       regnames array.
+       (init_cpu32bug_cmds): set cpu32bug_cmds.regnames to NULL,
+       cpu32bug_cmds.regname to point to new function.
+       * abug-rom.c (abug_regname): Same as above.
+       (init_abug_cmds): Same.
+       * dbug-rom.c (dbug_regname): Same as above.
+       (init_dbug_cmds): Same.
+       * remote-est.c (est_regname): Same. 
+       (init_est_cmds): Same.
+       * rom68k-rom.c (rom68k_regname): Same. 
+       (init_rom68k_cmds): Same.
+
+2002-06-25  Tom Tromey  <tromey@redhat.com>
+
+       * breakpoint.c (delete_command): Don't repeat `delete' commands.
+
+2002-06-25  Andrew Cagney  <cagney@redhat.com>
+
+       * infrun.c (stop_registers): Change variable's type to ``struct
+       regcache'''.
+       (xmalloc_inferior_status): Delete function.
+       (free_inferior_status): Delete function.
+       (normal_stop): Use regcache_cpy.
+       (struct inferior_status): Change type of fields ``stop_registers''
+       and ``registers'' to ``struct regcache''.
+       (write_inferior_status_register): Use regcache_write.
+       (save_inferior_status): Instead of calling
+       xmalloc_inferior_status, allocate the inf_status buffer directly.
+       Use regcache_dup_no_passthrough and regcache_dup to save the
+       buffers.
+       (restore_inferior_status): Use regcache_xfree and regcache_cpy.
+       Replace the stop_registers regcache instead of overriding it.  Use
+       regcache_xfree.  Instead of calling free_inferior_status, xfree
+       the buffer directly.
+       (discard_inferior_status): Use regcache_xfree.  Instead of calling
+       free_inferior_status, xfree the buffer directly.
+       (build_infrun): Use regcache_xmalloc.
+       (_initialize_infrun): Delete redundant call to build_infrun.
+
+       * Makefile.in (infcmd.o): Add $(regcache_h).
+
+       * infcmd.c: Include "regcache.h".
+       (run_stack_dummy): Use deprecated_grub_regcache_for_registers to
+       obtain the address of `stop_registers' register buffer.
+       (print_return_value): Ditto.
+
+       * inferior.h (struct regcache): Add opaque declaration.
+       (stop_registers): Change variable's declared type to ``struct
+       regcache''.
+
+2002-06-24  Tom Tromey  <tromey@redhat.com>
+
+       * cli/cli-decode.c (add_show_from_set): Fixed typo in comment.
+       * target.c (initialize_targets): Fixed typo in
+       trust-readonly-sections `show' documentation.
+
+       * main.c: Marked all strings with _().
+
+2002-06-24  Don Howard  <dhoward@redhat.com>
+
+        * memattr.c (create_mem_region): Treat hi == 0 as a special case
+        that means max CORE_ADDR+1.
+        (lookup_mem_region): Ditto.
+        (mem_info_command): Ditto.
+
 2002-06-24  Grace Sainsbury  <graces@redhat.com>
 
        * config/m68k/tm-m68k.h (DECR_PC_AFTER_BREAK): Remove.
This page took 0.031305 seconds and 4 git commands to generate.