]> Git Repo - binutils.git/blobdiff - gdb/ChangeLog
* i386bsd-nat.c (_initialize_i386bsd_nat): Define SC_PC_OFFSET to
[binutils.git] / gdb / ChangeLog
index 1fc1844c6d9f16f88b9e785eb4f97dee688dd616..cf04b030331928c43fd7332045c5b4f68958b34b 100644 (file)
@@ -1,3 +1,270 @@
+2002-06-30  Mark Kettenis  <[email protected]>
+
+       * 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  <[email protected]>
+
+       * 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  <[email protected]>
+
+       * 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  <[email protected]>
+
+       * 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  <[email protected]>
+
+       * ppcnbsd-tdep.c (ppcnbsd_init_abi): Set frame_chain_valid to
+       generic_func_frame_chain_valid.
+
+2002-06-28  David O'Brien  <[email protected]>
+
+       * config/i386/nm-fbsd.h: Include <sys/param.h>.
+       * config/i386/tm-fbsd.h: Likewise.
+
+2002-06-28  Andrew Cagney  <[email protected]>
+
+       * rs6000-tdep.c (rs6000_gdbarch_init): Use
+       generic_unwind_get_saved_register.
+
+2002-06-27  Andrew Cagney  <[email protected]>
+
+       From 2002-06-27 John David Anglin <[email protected]>:
+       * regcache.c (supply_register): Add missing argument to
+       register_buffer call.
+
+2002-06-27  Andrew Cagney  <[email protected]>
+
+       * 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  <[email protected]>
+
+       * 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  <[email protected]>
+
+       * 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  <[email protected]>
+
+       * 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  <[email protected]>
+
+       * 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  <[email protected]>
+
+       * 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  <[email protected]>
+
+       * 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  <[email protected]>
+
+       * 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  <[email protected]>
+
+       * breakpoint.c (delete_command): Don't repeat `delete' commands.
+
+2002-06-25  Andrew Cagney  <[email protected]>
+
+       * 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  <[email protected]>
+
+       * 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  <[email protected]>
+
+        * 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  <[email protected]>
+
+       * config/m68k/tm-m68k.h (DECR_PC_AFTER_BREAK): Remove.
+       (REGISTER_BYTES_OK): Remove.
+       (REGISTER_BYTES): Remove.
+       (STORE_STRUCT_RETURN): Remove.
+       (DEPRECATED_EXTRACT_RETURN_VALUE): Remove.
+       (STORE_RETURN_VALUE): Remove.
+       (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Remove.
+       (FRAME_CHAIN): Remove.
+       (FRAMELESS_FUNCTION_INVOCATION): Remove.
+       (FRAME_SAVED_PC): Remove.  
+       * m68k-tdep.c (m68k_register_bytes_ok):Add.
+       (m68k_store_struct_return): Add.
+       (m68k_deprecated_extract_return_value): Add.
+       (m68k_deprecated_extract_struct_value_address): Add.
+       (m68k_store_return_value): Add.
+       (m68k_frame_chain): Add.
+       (m68k_frameless_function_invocation): Add.
+       (m68k_frame_saved_pc): Add.
+       (m68k_gdbarch_init): added set_gdbarch calls for new 
+       functions and deleted macros.
+
+2002-06-23  Tom Tromey  <[email protected]>
+
+       * Makefile.in (HFILES_NO_SRCDIR): Remove old files.
+       (ALLDEPFILES): Likewise.
+       (udiheaders): Removed.
+       (udip2soc.o): Likewise.
+       (udi2go32.o): Likewise.
+       (udr.o): Likewise.
+       (HFILES_WITH_SRCDIR): Don't mention udiheaders.
+
+2002-06-22  Andrew Cagney  <[email protected]>
+
+       * infrun.c (_initialize_infrun): Delete unnecessary call to
+       build_infrun.
+
+       * regcache.h: Update comments describing the regcache_cpy family
+       of functions.
+       (regcache_save, regcache_restore): Delete declaration.
+       (regcache_save_no_passthrough): Delete declaration.
+       (regcache_restore_no_passthrough): Delete declaration.
+       * regcache.c (regcache_save): Delete function.
+       (regcache_save_no_passthrough): Delete function.
+       (regcache_restore): Delete function.
+       (regcache_restore_no_passthrough): Delete function.
+
+2002-06-21  Andrew Cagney  <[email protected]>
+
+       * config/m68k/tm-m68k.h: Fix typo.
+       (FRAME_INIT_SAVED_REGS): Define when non-multi-arch.
+       (m68k_frame_init_saved_regs): Declare.
+
 2002-06-21  Jim Blandy  <[email protected]>
 
        Remove some vestiges of Harris 88k support.
This page took 0.030314 seconds and 4 git commands to generate.