2002-04-20 Daniel Jacobowitz <drow@mvista.com>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index e3f39065ebc8d5615b6445d0ee6003126a9d11a3..16d3d763cf7c32ef5cc3347ed610f0ecea45e468 100644 (file)
@@ -1,3 +1,281 @@
+2002-04-20  Daniel Jacobowitz  <drow@mvista.com>
+
+       * gdbserver/inferiors.c (struct inferior_info): Add regcache_data.
+       (add_inferior): Call create_register_cache.
+       (clear_inferiors): Call free_register_cache.
+       (inferior_regcache_data, set_inferior_regcache_data): New functions.
+       * gdbserver/regcache.c (struct inferior_regcache_data): New.
+       (registers): Remove.
+       (get_regcache): New function.
+       (create_register_cache, free_register_cache): New functions.
+       (set_register_cache): Don't initialize the register cache here.
+       (registers_to_string, registers_from_string, register_data): Call
+       get_regcache.
+       * gdbserver/regcache.h: Add prototypes.
+       * gdbserver/server.h: Likewise.
+
+2002-04-20  Daniel Jacobowitz  <drow@mvista.com>
+
+       * gdbserver/mem-break.c: New file.
+       * gdbserver/mem-break.h: New file.
+       * gdbserver/Makefile.in: Add mem-break.o rule; update server.h
+       dependencies.
+       * gdbserver/inferiors.c (struct inferior_info): Add target_data
+       member.
+       (clear_inferiors): Free target_data member if set.
+       (inferior_target_data, set_inferior_target_data): New functions.
+       * gdbserver/linux-i386-low.c (i386_breakpoint, i386_breakpoint_len)
+       (i386_stop_pc, i386_set_pc): New.  Add to the_low_target.
+       * gdbserver/linux-low.c (linux_bp_reinsert): New variable.
+       (struct inferior_linux_data): New.
+       (linux_create_inferior): Use set_inferior_target_data.
+       (linux_attach): Likewise.  Call add_inferior.
+       (linux_wait_for_one_inferior): New function.
+       (linux_wait): Call it.
+       (linux_write_memory): Add const.
+       (initialize_low): Call set_breakpoint_data.
+       * gdbserver/linux-low.h (struct linux_target_ops): Add breakpoint
+       handling members.
+       * gdbserver/server.c (attach_inferior): Remove extra add_inferior
+       call.
+       * gdbserver/server.h: Include mem-break.h.  Update inferior.c
+       prototypes.
+       * gdbserver/target.c (read_inferior_memory)
+       (write_inferior_memory): New functions.
+       * gdbserver/target.h (read_inferior_memory)
+       (write_inferior_memory): Change macros to prototypes.
+       (struct target_ops): Update comments.  Add const to write_memory
+       definition.
+
+2002-04-19  Andrew Cagney  <ac131313@redhat.com>
+
+       * sparc-tdep.c (sparc_get_saved_register): Use get_prev_frame
+       instead of ->prev.
+       * z8k-tdep.c (z8k_frame_chain): Do not use ->prev.
+       * s390-tdep.c (s390_frame_chain): Do not use ->prev.
+       * rs6000-tdep.c (frame_get_saved_regs): Use rs6000_frame_chain()
+       instead of ->prev.
+
+2002-04-19  Elena Zannoni  <ezannoni@redhat.com>
+
+        Fix PR gdb/471.
+       * gdbtypes.c (init_simd_type): Rewrite using new functions.
+       (build_builtin_type_vec128): Ditto.
+       (append_composite_type_field): Fix calculation of type length in
+       union case.
+
+2002-04-19  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * config/djgpp/README: Update.
+
+       * go32-nat.c (store_register): Cast &a_tss to `char *' to avoid a
+       compiler warnings.
+
+2002-04-19  Jason Thorpe  <thorpej@wasabisystems.com>
+
+       * alpha-tdep.c (setup_arbitrary_frame): Rename...
+       (alpha_setup_arbitrary_frame): ...to this.
+       * config/alpha/tm-alpha.h (SETUP_ARBITRARY_FRAME): Update
+       for alpha_setup_arbitrary_frame.
+
+2002-04-18  Andrew Cagney  <cagney@redhat.com>
+
+       * gdbarch.sh (BREAKPOINT_FROM_PC): Return a const buffer.
+       * gdbarch.h, gdbarch.c: Regenerate.
+       
+       * defs.h (breakpoint_from_pc_fn): Delete type definition.
+       * target.h (memory_breakpoint_from_pc): Update declaration.
+       * config/mcore/tm-mcore.h (mcore_breakpoint_from_p): Ditto.
+
+       * arch-utils.c (legacy_breakpoint_from_pc): Update return type.
+       * mcore-tdep.c (mcore_breakpoint_from_pc): Ditto.
+       * mem-break.c (memory_breakpoint_from_pc): Ditto.
+       * rs6000-tdep.c (rs6000_breakpoint_from_pc): Ditto.
+       * s390-tdep.c (s390_breakpoint_from_pc): Ditto
+       * xstormy16-tdep.c (xstormy16_breakpoint_from_pc): Ditto.
+       * mn10300-tdep.c (mn10300_breakpoint_from_pc): Ditto.
+       * mips-tdep.c (mips_breakpoint_from_pc): Ditto.
+       * m68hc11-tdep.c (m68hc11_breakpoint_from_pc): Ditto.
+       * ia64-tdep.c (ia64_breakpoint_from_pc): Ditto.
+       * d10v-tdep.c (d10v_breakpoint_from_pc): Ditto.
+       * arch-utils.c (legacy_breakpoint_from_pc): Ditto..
+
+       * mem-break.c (default_memory_insert_breakpoint): Make `bp' a
+       const pointer.
+       * monitor.c (monitor_insert_breakpoint): Ditto.
+       * rs6000-tdep.c (rs6000_software_single_step): Ditto for `breakp'.
+
+       * config/mcore/tm-mcore.h: Update copyright.
+       * mem-break.c: Ditto.
+       * xstormy16-tdep.c: Ditto.
+
+2002-04-18  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       * p-exp.y: Add precedence rule for '^' token.
+       This removes the shift/reduce conflicts.
+       Remove the comment concerning these shift/reduce conflicts.
+
+2002-04-18  Elena Zannoni  <ezannoni@redhat.com>
+
+       * rs6000-tdep.c (COMMON_UISA_NOFP_REGS): New macro.
+       (registers_powerpc_nofp): New register set for processors
+       without floating point unit.
+
+2002-04-18  David S. Miller  <davem@redhat.com>
+
+       * MAINTAINERS: Add myself to write-after-approval.
+
+2002-04-17  Andrew Cagney  <ac131313@redhat.com>
+
+       * rs6000-tdep.c (frame_initial_stack_address): Use
+       frame_register_read to read the alloca_reg.
+
+2002-04-17  Andrew Cagney  <ac131313@redhat.com>
+
+       * frame.c (find_saved_register): Find saved registers in the next
+       not prev frame.
+       Fix PR gdb/365.
+
+2002-04-17  Andrew Cagney  <ac131313@redhat.com>
+
+       * gdbarch.sh (LANG): Set to ``c''.
+
+2002-04-15  Andrew Cagney  <ac131313@redhat.com>
+       * PROBLEMS: Mention hppa2.0-hp-hpux10.20 compile problems.
+2002-04-15  Andrew Cagney  <ac131313@redhat.com>
+
+       * bcache.c: Include <stddef.h> and <stdlib.h> after "defs.h".
+       Update copyright.
+
+       * hpread.c (hpread_get_lntt): Add declaration.
+       Also fix PR gdb/391.
+2002-04-14  Andrew Cagney  <ac131313@redhat.com>
+
+       * acinclude.m4 (AM_PROG_CC_STDC): Import from automake 1.6.
+       * aclocal.m4, configure: Re-generate.
+       Fix PR gdb/391.
+       
+2002-04-14  Elena Zannoni  <ezannoni@redhat.com>
+
+        * mi/mi-cmd-disas.c (dump_insns): Use TARGET_PRINT_INSN
+        instead of tm_print_insn.
+
+2002-04-14  Elena Zannoni  <ezannoni@redhat.com>
+
+       * ppc-bdm.c (bdm_ppc_fetch_registers): Fix typo.
+
+2002-04-14  Andrew Cagney  <ac131313@redhat.com>
+
+       * config/pa/tm-hppa.h (FRAME_CHAIN_COMBINE): Delete macro.
+       * blockframe.c (FRAME_CHAIN_COMBINE): Delete macro.
+       (get_prev_frame): Do not call FRAME_CHAIN_COMBINE.
+
+2002-04-12  Don Howard  <dhoward@redhat.com>
+
+       * cli/cli-cmds.c (init_cli_cmds): Add new user settable value:
+       max_user_call_depth.
+       (init_cmd_lists): Initialize the new value;
+       * cli/cli-script.c (execute_user_command): Limit the call depth of
+       user defined commands.  This avoids a core-dump when user commands
+       are infinitly recursive.
+
+2002-04-12  Kevin Buettner  <kevinb@redhat.com>
+
+       * ppc-tdep.h (struct gdbarch_tdep): Add new member ``lr_frame_offset''.
+       * rs6000-tdep.c (rs6000_frame_saved_pc): Use ``lr_frame_offset''
+       from tdep struct instead of DEFAULT_LR_SAVE.
+       (rs6000_gdbarch_init): Initialize ``lr_frame_offset''.
+       * config/powerpc/tm-ppc-eabi.h (DEFAULT_LR_SAVE): Delete.
+       * config/rs6000/tm-rs6000.h (DEFAULT_LR_SAVE): Delete.
+
+2002-04-12  Michael Snyder  <msnyder@redhat.com>
+
+       * Remote.c: Spelling fix.
+       * gcore.c (default_derive_heap_segment): Use bfd_section_name.
+       If no symbol found for "sbrk", try "_sbrk".
+       (make_output_phdrs): Use bfd_section_name.
+       (gcore_copy_callback): Use bfd_section_name.
+       * eval.c: Indentation fix-ups.
+       * d10v-tdep.c (d10v_make_iaddr): Make it idempotent,
+       in case it gets applied to an address that is already
+       in the instruction space.
+       * cli/cli-decode.c (help_list): Allow long lines to wrap.
+       * symfile.c: Fix indentation, long lines.
+       * source.c: White space fix-up.
+
+2002-04-12  Andrew Cagney  <cagney@redhat.com>
+
+       * defs.h (read_relative_register_raw_bytes): Delete declaration.
+       * frame.c (frame_register_read): New function.  Return non-zero on
+       success.
+       (read_relative_register_raw_bytes_for_frame): Delete.
+       (read_relative_register_raw_bytes): Delete.
+       * frame.h (frame_register_read): Declare.
+       * d30v-tdep.c: Update Copyright.  Use frame_register_read.
+       * sh-tdep.c: Ditto.
+       * infcmd.c (do_registers_info): Ditto.
+       * hppa-tdep.c: Ditto.
+       * rs6000-tdep.c: Ditto.
+       * h8500-tdep.c: Ditto.
+       * mips-tdep.c: Ditto.
+       * h8300-tdep.c: Ditto.
+       * z8k-tdep.c: Ditto.
+
+2002-04-12  Kevin Buettner  <kevinb@redhat.com>
+
+       From Jimi X <jimix@watson.ibm.com>:
+       * rs6000-tdep.c (rs6000_gdbarch_init): Use rs6000_* methods for
+       64-bit SysV ABI.
+
+2002-04-12  Kevin Buettner  <kevinb@redhat.com>
+
+       From Jimi X <jimix@watson.ibm.com>:
+       * rs6000-tdep.c (rs6000_gdbarch_init): Compute ``wordsize'' from
+       bfd info.
+
+2002-04-12  Kevin Buettner  <kevinb@redhat.com>
+
+       From Jimi X <jimix@watson.ibm.com>:
+       * rs6000-tdep.c (powerpc64, 630, rs64ii, rs64iii): Define
+       register sets for these processor variants.
+
+2002-04-11  Daniel Jacobowitz  <drow@mvista.com>
+
+       * gdbserver/linux-low.c (usr_store_inferior_registers): Support
+       registers which are allowed to fail to store.
+       * gdbserver/linux-low.h (linux_target_ops): Likewise.
+       * gdbserver/linux-ppc-low.c (ppc_regmap): Support FPSCR.
+       (ppc_cannot_store_register): FPSCR may not be storable.
+       * regformats/reg-ppc.dat: Support FPSCR.
+
+2002-04-11  Kevin Buettner  <kevinb@redhat.com>
+
+       * ppc-tdep.h (struct gdbarch_tdep): Add new field ``ppc_fpscr_regnum''.
+       * ppc-bdm.c (bdm_ppc_fetch_registers, bdm_ppc_store_registers):
+       Add fpscr as an invalid/unfetchable register.
+       * ppc-linux-nat.c (ppc_register_u_addr, store_register)
+       (fetch_ppc_registers, store_ppc_registers, supply_fpregset)
+       (fill_fpregset): Add support for register fpscr.
+       (fetch_ppc_registers, store_ppc_registers, supply_gregset)
+       (fill_gregset): Account for the fact that register ``mq'' might
+       not exist.
+       * rs6000-tdep.c (PPC_UISA_SPRS): Use (unused) slot 70 for fpscr.
+       (registers_power): Add fpscr to register set at slot 71.
+       (rs6000_gdbarch_init): Account for the fact that ``mq'' doesn't
+       exist on most PPC architectures.  Initialize ppc_fpscr_regnum.
+
+2002-04-11  Michael Snyder  <msnyder@redhat.com>
+
+       * configure.in: Autoconfiscate _SYSCALL32 define for solaris.
+       * configure: Regenerate.
+       * config.in: Regenerate.
+       * acconfig.h: Add define for _SYSCALL32.
+       * core-sol2.c: Remove #define _SYSCALL32.
+       * solib-legacy.c: Remove #define _SYSCALL32.
+
 2002-04-10  Andrew Cagney  <ac131313@redhat.com>
 
        * stack.c (select_frame): Cleanup internal error message, do not
 
 2002-02-13  Michael Snyder  <msnyder@redhat.com>
 
+       * config/i386/i386v42mp.mh: Add gcore.o to NATDEPFILES.
+
        * gcore.c (gcore_command): Use gcore_default_target instead of NULL.
        (default_gcore_mach): Just return 0, work around a problem in bfd.
        (default_gcore_target): OK to return NULL if exec_bfd is null.
This page took 0.025547 seconds and 4 git commands to generate.