* scripttempl/elfppc.sc: Remove.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index d8b60e73007eb4680165e5ac93f4c023228ed064..e45c77239a55bfaf8465a784e967936bded30a37 100644 (file)
@@ -1,3 +1,285 @@
+2000-04-14  Jim Blandy  <jimb@redhat.com>
+
+       Provide the hooks needed to support architectures on which
+       pointers are not always simple byte addresses.
+
+       * gdbarch.sh (POINTER_TO_ADDRESS, ADDRESS_TO_POINTER): Two new
+       functions which architectures can redefine, defaulting to
+       generic_pointer_to_address and generic_address_to_pointer.
+       * findvar.c (extract_typed_address, store_typed_address,
+       generic_pointer_to_address, generic_address_to_pointer): New
+       functions.
+       (POINTER_TO_ADDRESS, ADDRESS_TO_POINTER): Provide default
+       definitions.
+       (extract_address, store_address): Doc fixes.
+       * values.c (value_as_pointer): Doc fix.
+       (value_from_pointer): New function.
+       * defs.h (extract_typed_address, store_typed_address): New
+       declarations.
+       * inferior.h (generic_address_to_pointer,
+       generic_pointer_to_address): New declarations.
+       * value.h (value_from_pointer): New declaration.
+       
+       The following changes are all of the general form "Use these
+       functions instead of these other functions."  In each case, the
+       change is because the new calls provide enough information to do
+       the appropriate address / pointer conversions, where the old calls
+       did not, or because the new functions are more appropriately named
+       for the operation being performed.
+       
+       * ax-gdb.c (const_var_ref): Use value_from_pointer, not
+       value_from_longest.
+       * blockframe.c (generic_push_dummy_frame): Use read_pc and
+       read_sp, not read_register.
+       * c-valprint.c (c_val_print): Use extract_typed_address instead of
+       extract_address to extract vtable entries and references.
+       * cp-valprint.c (cp_print_value_fields): Use value_from_pointer
+       instead of value_from_longest to extract the vtable's address.
+       * eval.c (evaluate_subexp_standard): Use value_from_pointer
+       instead of value_from_longest to compute `this', and for doing
+       pointer-to-member dereferencing.
+       * findvar.c (read_register): Use extract_unsigned_integer, not
+       extract_address.
+       (read_var_value): Use store_typed_address instead of store_address
+       for building label values.
+       (locate_var_value): Use value_from_pointer instead of
+       value_from_longest.
+       * hppa-tdep.c (find_stub_with_shl_get): Use value_from_pointer,
+       instead of value_from_longest, to build arguments to __d_shl_get.
+       * printcmd.c (set_next_address): Use value_from_pointer, not
+       value_from_longest.
+       (x_command): Use value_from_pointer, not value_from_longest.
+       * tracepoint.c (set_traceframe_context): Use value_from_pointer,
+       not value_from_longest.
+       * valarith.c (value_add, value_sub): Use value_from_pointer, not
+       value_from_longest.
+       * valops.c (find_function_in_inferior, value_coerce_array,
+       value_coerce_function, value_addr, hand_function_call): Same.
+       * value.h (COERCE_REF): Use unpack_pointer, not unpack_long. 
+       * values.c (unpack_long): Use extract_typed_address to produce
+       addresses from pointers and references, not extract_address.
+       (value_from_longest): Use store_typed_address instead of
+       store_address to produce pointer and reference values.
+
+2000-04-13  Mark Kettenis  <kettenis@gnu.org>
+
+       * acconfig.h (HAVE_PRGREGSET_T, HAVE_PRFPREGSET_T, HAVE_LWPID_T,
+       HAVE_PSADDR_T): Add them here instead of in config.in.
+
+       * acconfig.h (PRFPREGSET_T_BROKEN): New define.
+       * configure.in: Add check for broken prfpregset_t type.
+       * lin-thread.c (gdb_prfpregset): New typedef, depends on
+       definition of PRFPREGSET_T_BROKEN.
+       (ps_lgetfpregs, ps_lsetfpregs, p_td_thr_getfpregs,
+       p_td_thr_setfpregs, thread_db_fetch_registers,
+       thread_db_store_registers): Use gdb_prfpregset_t instead of
+       prfpregset_t.
+       * config.in: Regenerated.
+       * configure: Regenerated.
+
+2000-04-13  DJ Delorie  <dj@cygnus.com>
+
+       * mips-tdep.c (do_fp_register_row): copy the number of bytes
+       allocated, not the size of the pointer.
+
+2000-04-13  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>
+
+       * config/i386/nm-i386sol2.h (CANNOT_STEP_HW_WATCHPOINTS):  Define.
+       * config/i386/tm-i386sol2.h (HAVE_I387_REGS):  Define.
+       * i386v4-nat.c (supply_fpregset, fill_fpregset):  Add code
+       to handle floating point registers if NUM_FREGS is not zero.
+
+2000-04-13  Nick Duffek  <nsd@cygnus.com>
+
+       * sol-thread.c (init_sol_core_ops): Initialize to_thread_alive
+       and document to_find_new_threads bug.
+
+2000-04-13  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * infrun.c (proceed, normal_stop): Change the error message about
+       failure to insert breakpoints/watchpoints so that it makes sense
+       even if ptrace is not used or no other processes can be active.
+
+Thu Apr 13 13:24:27 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure.in: Add --enable-maintainer-mode.
+       * aclocal.m4, configure: Re-generate.
+
+       * Makefile.in ($(srcdir)/copying.c): Enable dependencies only when
+       on maintainer-mode.  Update copying.c in source directory.
+       (copying.txt): Delete rule.
+       (copying.o): Add explict paths to $(srcdir) and explicit make
+       rule.
+
+2000-04-12  Kevin Buettner  <kevinb@redhat.com>
+
+       * ia64-linux-nat.c (IA64_PSR_DB, IA64_PSR_DD): Define.
+       (fetch_debug_register, fetch_debug_register_pair,
+       store_debug_register, store_debug_register_pair, is_power_of_2,
+       enable_watchpoints_in_psr, ia64_linux_insert_watchpoint,
+       ia64_linux_remove_watchpoint, ia64_linux_stopped_by_watchpoint):
+       New functions.
+       * config/ia64/nm-linux.h (TARGET_HAS_HARDWARE_WATCHPOINTS,
+       TARGET_CAN_USE_HARDWARE_WATCHPOINT, HAVE_STEPPABLE_WATCHPOINT,
+       STOPPED_BY_WATCHPOINT, target_insert_watchpoint,
+       target_remove_watchpoint): Define.
+       (ia64_linux_stopped_by_watchpoint, ia64_linux_insert_watchpoint,
+       ia64_linux_remove_watchpoint): Declare.
+
+2000-04-12  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * go32-nat.c (go32_insert_hw_breakpoint): When there are no more
+       hardware breakpoint resources, return EBUSY.
+       (go32_handle_nonaligned_watchpoint): If the argument WHAT is not
+       one of the enumerated values, return EINVAL.
+
+2000-04-12  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * README: Mention special build instructions for DJGPP.
+       * NEWS: Update with FP features on x87 platforms, and
+       DJGPP-related changes.
+
+2000-04-12  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * top.c (gdb_completer_file_name_break_characters): New variable.
+       (line_completion_function): When completing on file names, use
+       gdb_completer_file_name_break_characters as word break
+       characters for the readline library.
+
+2000-04-12  Mark Kettenis  <kettenis@gnu.org>
+
+       * i387-tdep.c (print_i387_value): Avoid call to
+       floatformat_to_doublest if long double type is the same on host
+       and target.
+
+2000-04-11  Fernando Nasser  <fnasser@cygnus.com>
+
+       * wrapper.h: Remove definitions of internal functions.
+       * wrapper.c: Remove definitions of exported functions (which are
+       already in wrapper.h) and make static all internal wrap_* functions.
+
+Mon Apr 10 21:58:36 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * acconfig.h (USE_INCLUDED_REGEX): Add.
+       * Makefile.in (REGEX_CFLAGS): Delete
+       * configure.in (REGEX_CFLAGS): Delete. Use AC_DEFINE instead.
+       * configure, config.in: Re-generate.
+
+2000-04-10  Philip Blundell <philb@gnu.org>
+
+       * arm-linux-nat.c (arm_skip_solib_resolver): Remove and move to
+       arm-linux-tdep.c.
+       * arm-linux-tdep.c (arm_skip_solib_resolver): New.
+
+2000-04-10  Fernando Nasser  <fnasser@cygnus.com>
+
+       From 2000-04-10 Rodney Brown <rdb@redhat.com>:
+       * command.h (enum command_class): Remove trailing "," to placate
+       AIX xlc.
+
+Mon Apr 10 20:17:32 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * TODO, NEWS: Update.  Mention MI.
+
+Mon Apr 10 00:21:09 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * gdbarch-utils.h, gdbarch-utils.c: Delete.
+       * arch-utils.h, arch-utils.c: New files.  Avoid 14 character file
+       name problems.
+       * Makefile.in: Update.
+       * gdbarch.c: Update.
+
+Sun Apr  9 23:42:16 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       From 2000-04-07 Jonathan Larmour <jlarmour@redhat.co.uk>:
+       * mips-tdep.c (saved_gpreg_size_enums): Define enum command for
+       new "set mips saved-gpreg-size" command
+       (MIPS_SAVED_REGSIZE): Now a function mips_saved_regsize()
+       (MIPS_DEFAULT_SAVED_REGSIZE): Define for default MIPS_SAVED_REGSIZE,
+       either from target, or gdb multi-arch
+       (show_mips_command): New. For "show mips" prefix command
+       (set_mips_command): New. For "show mips" prefix command
+       (_initialize_mips_tdep): Add top-level mips prefix command
+       Add "set mips saved-gpreg-size" command
+
+       * mips-tdep.c (struct gdbarch_tdep): Rename mips_saved_regsize to
+       mips_default_saved_regsize.
+       (mips_gdbarch_init): Update.
+       (MIPS_DEFAULT_SAVED_REGSIZE): Update.
+       (mips_gdbarch_init): Use MIPS_REGSIZE as the default value for
+       mips_default_saved_regsize.
+
+Sun Apr  9 23:27:00 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       From 2000-04-07 J.T. Conklin <jtc@redback.com>:
+       * lynx-nat.c (fetch_inferior_registers, store_inferior_registers):
+       replace calls to target_xfer_memory() with target_read_memory()
+       and target_write_memory().
+
+Sun Apr  9 22:54:29 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * valops.c (value_rtti_type): Compare VALUE_ADDRESS with ``0'' not
+       NULL. Macro returns a CORE_ADDR.
+
+2000-04-08  Jim Blandy  <jimb@redhat.com>
+
+       * dwarf2read.c: Revert Andrew Cagney's change of Dec 15, 1997.
+       Don't include "bfd-elf.h".
+       (address_significant_size): Delete variable.
+       (dwarf2_build_psymtabs_hard): Don't set it, or check for
+       consistency between it and the Dwarf 2 compilation unit header
+       address size.
+       (read_address): Don't mask off bits above
+       address_significant_size.
+       * Makefile.in (dwarf2read.o): Don't depend on $(elf_bfd_h).
+       (elf_bfd_h): Remove variable; it's no longer used.
+
+2000-04-08  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>
+
+       * configure.in (NEW_PROC_API):  Escape square brackets when testing
+       for solaris2.[678].
+       * configure:  Regenerate.
+
+2000-04-07  Scott Bambrough <scottb@netwinder.org>
+
+       * ChangeLog: Correct date on last entry.
+       * arm-linux-tdep.c (arm_linux_push_arguments): New function.
+       * config/arm/tm-linux: Redefined PUSH_ARGUMENTS for Linux.  
+       * config/arm/tm-embed: Fix build warning from redefinition of
+       LOWEST_PC.
+       * config/arm/tm-arm.h: Remove TARGET_BYTE_ORDER_SELECTABLE.
+       * config/arm/tm-wince.h: Remove TARGET_BYTE_ORDER_SELECTABLE and 
+       TARGET_BYTE_ORDER.  Add TARGET_BYTE_ORDER_SELECTABLE_P to 
+       override default in tm-arm.h.  Use default target byte order
+       from tm-arm.h.
+
+2000-04-07  Scott Bambrough <scottb@netwinder.org>
+
+       * Makefile.in: Add dependency information for arm-linux-tdep.c.
+       * config/djgpp/fnchange.lst: Add arm-linux-tdep.c, arm-linux-nat.c.
+
+2000-04-07  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>
+
+       * sol-thread.c (gdb_ps_addr_t):  New typedef, depends on definition
+       of PROC_SERVICE_IS_OLD.
+       (ps_pglobal_lookup, ps_pdread, ps_pdwrite, ps_ptread, ps_ptwrite,
+       rw_common):  Change argument type from psaddr_t to gdb_ps_addr_t.
+
+Fri Apr  7 17:18:42 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * Makefile.in (CFLAGS): Set using configure.
+
+       * configure.in (WARN_CFLAGS): Enable by default when GCC.
+       * configure: Re-generate.
+
+Fri Apr  7 13:33:43 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       From 2000-03-27 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>:
+        * procfs.c (init_procfs_ops):  Set procfs_ops.to_has_memory and
+        procfs_ops.to_has_all_memory to 1.
+
+       * TODO: Update
+
 2000-04-06  Nick Duffek  <nsd@cygnus.com>
 
        * configure.in (_MSE_INT_H): Define on Solaris 7.
This page took 0.031288 seconds and 4 git commands to generate.