* scripttempl/elfppc.sc: Remove.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 622c2ba33a665a5fea7c5a2126d04db11f321b96..e45c77239a55bfaf8465a784e967936bded30a37 100644 (file)
@@ -1,3 +1,182 @@
+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.
This page took 0.024956 seconds and 4 git commands to generate.