* target.h (TARGET_VIRTUAL_FRAME_POINTER): Delete, multi-arched.
[binutils-gdb.git] / gdb / ChangeLog
index 9bda34e86704d2ea07c51dfb7752c0916763a0ae..976e927aa07f33c53e64e556e3186b0f9598d9d3 100644 (file)
@@ -1,3 +1,221 @@
+2001-08-07  Andrew Cagney  <ac131313@redhat.com>
+
+       * target.h (TARGET_VIRTUAL_FRAME_POINTER): Delete, multi-arched.
+       * gdbarch.sh (TARGET_VIRTUAL_FRAME_POINTER): Add.
+       * gdbarch.h, gdbarch.c: Regenerate.
+
+       * arch-utils.h (legacy_virtual_frame_pointer): Declare.
+       * arch-utils.c: Include "gdb_assert.h".
+       (legacy_virtual_frame_pointer): Define.
+       * Makefile.in (arch-utils.o): Depends on gdb_assert.h.
+
+       * tracepoint.c (encode_actions): Make frame_reg an int.  Make
+       frame_offset a LONGEST.
+       * ax-gdb.c (gen_frame_args_address): Ditto.
+       (gen_frame_locals_address): Ditto.
+       * mn10300-tdep.c (mn10300_gdbarch_init): Initialize
+       virtual_frame_pointer.
+       (mn10300_virtual_frame_pointer): Make static.  Update parameter
+       list to match function signature.
+       * config/mn10300/tm-mn10300.h (TARGET_VIRTUAL_FRAME_POINTER): Delete.
+
+2001-08-10  Keith Seitz  <keiths@redhat.com>
+
+       * gdb-events.sh: Add architecture_changed event.
+       * gdbarch.sh: Include gdb-event.h.
+       (gdbarch_update_p): Notify UIs when architecture changes.
+       * gdb-events.h: Regenerated.
+       * gdb-events.c: Regenerated.
+       * gdbarch.c: Regenerated.
+
+2001-08-10  Michael Snyder  <msnyder@redhat.com>
+
+       * regcache.c (legacy_write_register_gen): Don't 'optimize out'
+       a write_register to a pseudo-reg.  Target_store_pseudo_register
+       needs to get called, because these regs may be computed and may
+       have side-effects.
+
+2001-08-10  Keith Seitz  <keiths@redhat.com>
+
+       * gdb-events.sh: Deal with event notifications with no
+       arguments.
+
+2001-08-10  Orjan Friberg  <orjanf@axis.com>
+
+       * remote.c (read_frame): Correct off-by-one error in condition.
+
+2001-08-08  Don Howard  <dhoward@redhat.com>
+
+       * stabsread.c (read_type): Add support for const and volatile
+       modifiers.
+
+2001-08-02  Daniel Jacobowitz  <drow@mvista.com>
+
+       * core-regset.c (fetch_core_registers):  Remove HAVE_GREGSET_T
+       and HAVE_FPREGSET_T checks.  Use gdb_gregset_t and gdb_fpregset_t.
+
+2001-08-02  Keith Seitz  <keiths@redhat.com>
+
+       * defs.h (SLASH_STRING): If not defined, set
+       to "/", regardless of _WIN32, __CYGWIN__, or
+       whatnot.
+
+2001-08-02  Mark Kettenis  <kettenis@gnu.org>
+
+       * cli/cli-decode.h: Include "gdb_regex.h" instead of
+       "gnu-regex.h".
+
+       * NEWS: Update.
+
+2001-08-02  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * config/i386/xm-go32.h: Include xm-i386.h.
+       (HOST_BYTE_ORDER, HOST_LONG_DOUBLE_FORMAT): Remove definitions.
+
+2001-08-02  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       The following changes avoid polluting global namespace with the
+       `enable' and `disable' identifiers, because some platforms define
+       in their system headers symbols with global scope that go by those
+       names.
+
+       * breakpoint.h (enum enable_state): Rename from `enum enable'.
+       Also rename all the enum members to have the "bp_" prefix.
+       (struct breakpoint): Rename the `enable' member to `enable_state'.
+       (enum bpdisp): Rename all members to have the "disp_" prefix.
+
+       * breakpoint.c: All users of `enum enable' and `enum bpdisp'
+       changed.
+       (args_for_catchpoint_enable): Rename the `enable' member to
+       `enable_p'.  All users changed.
+
+       * tracepoint.h (enum enable): Remove.
+       (struct tracepoint): The member `enabled' is now `int enabled_p'.
+
+       * tracepoint.c: All users of the `enabled' member changed.
+
+       * printcmd.c (struct display): The `status' member is now an int.
+
+       * memattr.h (struct mem_region): Rename the `status' member to
+       `enabled_p'.
+       (enum enable): Remove.
+
+       * memattr.c: Change all users of the `status' member of struct
+       mem_region to use `enabled_p' instead.
+
+       * infcmd.c (run_stack_dummy): Use disp_del instead of del.
+
+       * go32-nat.c: Remove the kludgey work-around for conflicts between
+       <dos.h> and "breakpoint.h".
+
+2001-08-02  Corinna Vinschen  <vinschen@redhat.com>
+
+       * MAINTAINERS: Add myself to the write-after-approval list.
+       * ser-tcp.c (tcp_open): Use `localhost' as default host if no
+       hostname is given.
+
+2001-08-01  Andrew Cagney  <ac131313@redhat.com>
+
+       * doublest.h (store_floating, floatformat_to_doublest): Make IN
+       paramter a const void pointer.
+       (floatformat_from_doublest): Make IN const, Make OUT a void
+       pointer.
+       * doublest.c (floatformat_to_doublest): Update.
+       (floatformat_from_doublest): Update.
+       (extract_floating): Update.
+
+2001-07-31  Andrew Cagney  <ac131313@redhat.com>
+
+       * defs.h (HOST_FLOAT_FORMAT, HOST_DOUBLE_FORMAT)
+       (HOST_FLOAT_FORMAT, HOST_DOUBLE_FORMAT)
+       (HOST_LONG_DOUBLE_FORMAT, DOUBLEST)
+       (floatformat_to_doublest, floatformat_from_doublest)
+       (floatformat_is_negative, floatformat_is_nan)
+       (floatformat_mantissa, store_floating)
+       (extract_floating): Move declaration from here.
+       * doublest.h: To here.  New file.
+       * utils.c (get_field, floatformat_to_doublest, put_field)
+       (ldfrexp, floatformat_from_doublest, floatformat_is_negative)
+       (floatformat_is_nan, floatformat_mantissa)
+       (FLOATFORMAT_CHAR_BIT): Move from here.
+       * doublest.c: To here.  New file.
+       * findvar.c (store_floating, extract_floating): Move from here.
+       * doublest.c: To here.
+       * Makefile.in (SFILES): Add doublest.c.
+       (COMMON_OBS): Add doublest.o.
+       (doublest.o): Specify dependencies.
+       (doublest_h): Define.
+
+       * config/m88k/tm-m88k.h: Include "doublest.h".
+       * config/i960/tm-i960.h: Ditto.
+       * config/i386/tm-symmetry.h: Ditto.
+       * rs6000-tdep.c, valarith.c: Ditto.
+       * valprint.c, stabsread.c, sh-tdep.c: Ditto.
+       * ia64-tdep.c, i387-tdep.c, i386-tdep.c: Ditto.
+       * values.c, arm-tdep.c, arm-linux-tdep.c: Ditto.
+       * alpha-tdep.c, ax.h, expression.h: Ditto.
+       * sh-tdep.c, parse.c, top.c, value.h: Ditto.
+       
+       * Makefile.in (arm-tdep.o): Add $(doublest_h).
+       (i386-tdep.o, i387-tdep.o, ia64-tdep.o): Ditto.
+       (rs6000-tdep.o, stabsread.o, valarith.o): Ditto.
+       (values.o, valprint.o, arm-linux-tdep.o): Ditto.
+       (alpha-tdep.o, ax_h, parse.o, top.o, value_h): Ditto.
+       (parser_defs_h): Ditto.
+       (expression_h): Add $(doublest_h) and $(symtab_h).
+
+2001-08-01  Andrew Cagney  <ac131313@redhat.com>
+
+       * Makefile.in: Sort header definitions.
+       (parser_defs_h, dis_asm_h, annotate_h, gdbthread_h): Define.
+       Replace parser-defs.h with $(parser_defs_h).  Replace $(dis-asm_h)
+       and $(dis-asm.h) with $(dis_asm_h).  Replace annotate.h with
+       $(annotate_h).  Replace target.h with $(target_h).  Replace
+       gdbthread.h with $(gdb_thread_h).  Replace symfile.h with $(symfile_h).
+
+2001-07-31  Mark Kettenis  <kettenis@gnu.org>
+
+       * config/i386/xm-i386.h: New file.
+       * config/i386/xm-fbsd.h: Removed.
+       * config/i386/xm-linux.h: Removed.
+       * config/i386/fbsd.mh: Reorganize a bit.
+       (XM_FILE): Set to xm-i386.h instead of xm-fbsd.h.
+       * config/i386/linux.mh (XM_FILE): Set to xm-i386.h insread of
+       xm-linux.h.
+
+2001-07-30  Jim Blandy  <jimb@redhat.com>
+
+       * dwarf2read.c (dwarf2_build_psymtabs_hard): Doc fix.
+
+2001-07-27  Daniel Jacobowitz  <drow@mvista.com>
+
+       * configure.in: Only invoke AC_FUNC_SETPGRP if not cross-compiling.
+       Check for SETPGRP_VOID separately if cross-compiling and ISO C
+       headers are available.
+
+2001-07-30  Mark Kettenis  <kettenis@gnu.org>
+
+       * config/i386/tm-i386sol2.h (STAB_REG_TO_REGNUM): Redefine to call
+       i386_dwarf_reg_to_regnum.
+
+       * i386-tdep.c (i386_register_convert_to_virtual): Replace
+       assertion with a warning if we're asked to convert towards a
+       non-floating-point type.  Zero out the the buffer where the data
+       is supposed to be stored in that case.
+
+2001-07-29  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * config/djgpp/djconfig.sh: Unset CDPATH.
+
+       * go32-nat.c (get_cr3): Temporary disable support for page tables
+       in UMBs, as it is incomplete.
+
+       Support for stepping through longjmp in DJGPP programs:
+
+       * config/i386/tm-go32.h (JB_ELEMENT_SIZE, JB_PC): New macros.
+       (GET_LONGJMP_TARGET): Define to call get_longjmp_target.
+       (get_longjmp_target): Add prototype.
+
 2001-07-28  Andrew Cagney  <ac131313@redhat.com>
 
        Fix some PID/TPID fallout for HP/UX.
 2001-06-13  Eli Zaretskii  <eliz@is.elta.co.il>
 
        * config/i386/xm-go32.h (SLASH_P, ROOTED_P, SLASH_CHAR)
-       (SLASH_STRING): Remove unised definitions.
+       (SLASH_STRING): Remove unused definitions.
        * config/i386/xm-cygwin.h: Likewise.
 
 2001-06-12  Andrew Cagney  <ac131313@redhat.com>