* config/mcore/tm-mcore.h (mcore_virtual_frame_pointer): Update
[binutils-gdb.git] / gdb / ChangeLog
index a192c74a11a2306ce4350f7f415bab1cafe24f20..b062a43dcbb48076f8e18a94ff65d6f13cc284e8 100644 (file)
@@ -1,3 +1,321 @@
+2001-09-19  Andrew Cagney  <ac131313@redhat.com>
+
+       * config/mcore/tm-mcore.h (mcore_virtual_frame_pointer): Update
+       function signature to match recent tracepoint.c:encode_actions
+       changes.
+       * mcore-tdep.c (mcore_virtual_frame_pointer): Ditto.
+
+2001-09-18  Andrew Cagney  <ac131313@redhat.com>
+
+       * thread.c (do_captured_thread_select): Add uiout parameter.
+       (do_captured_list_thread_ids): Ditto.
+       * breakpoint.c (do_captured_breakpoint_query): Ditto.
+
+       * breakpoint.c (gdb_breakpoint_query): Update.  Use
+       catch_exceptions.
+       * thread.c (gdb_list_thread_ids): Ditto.
+       (gdb_thread_select): Ditto.
+       (thread_command): Pass uiout to gdb_thread_select.
+
+       * gdb.h (gdb_breakpoint_query): Add parameter ui_out.
+       (gdb_thread_select, gdb_list_thread_ids): Ditto.
+
+2001-09-13  Kevin Buettner  <kevinb@redhat.com>
+
+       From Ilya Golubev <gin@mo.msk.ru>:
+       * solib.c (clear_solib): Call `remove_target_sections' to fix
+       stale pointers in `struct target_ops'.
+       * irix5-nat.c (clear_solib): Likewise.
+       * osfsolib.c (clear_solib): Likewise.
+
+2001-09-13  Jim Blandy  <jimb@redhat.com>
+
+       * monitor.c (monitor_load): Don't delete symtab users, or reset
+       inferior_ptid.
+       
+       * monitor.c (monitor_load): Fix indentation.
+
+2001-09-11  Jim Blandy  <jimb@redhat.com>
+
+       * printcmd.c (print_scalar_formatted): Compare the length of the
+       value against the lengths of the target's floating-point types,
+       not the host's.  Add support for `long double'.
+
+       * printcmd.c (print_scalar_formatted): Fix indentation.
+
+2001-09-10  Jim Blandy  <jimb@redhat.com>
+
+       * rom68k-rom.c (init_rom68k_cmds): Set the flag indicating that
+       programs running on the board can produce output.
+
+2001-09-10  Jason Molenda  (jmolenda@apple.com)
+
+        * NEWS: "ANS/ISO C" -> "ISO C".
+        * MAINTAINERS (write-after-approval):  Update my entry.
+
+2001-09-08  Mark Kettenis  <kettenis@gnu.org>
+
+       * config/xm-aix4.h (MEM_FNS_DECLARED): Removed.
+
+       * config/arm/xm-linux.h, config/ia64/xm-linux.h,
+       config/m68k/xm-linux.h, config/mips/xm-linux.h,
+       config/powerpc/xm-linux.h, config/sparc/xm-linux.h: Remove
+       redundant inclusion of <unistd.h>.
+
+       * gdbtypes.h (struct block): Add forward declaration.
+
+2001-09-07  Andrew Cagney  <ac131313@redhat.com>
+
+       * defs.h (enum return_reason): Renumber so that all values are
+       negative.
+       (RETURN_MASK): Negate reason.
+       (catch_exception_ftype): Declare.
+       (catch_exceptions): Declare.
+       * top.c (catcher): New function, based on catch_errors.  Add in
+       parameter func_uiout and out parameters func_val, func_caught and
+       func_cleanup.  Change type of func to catch_exceptions_ftype.
+       Save/restore uiout.
+       (struct catch_errors_args): Define.
+       (do_catch_errors): New function.
+       (catch_errors): Rewrite, use do_catch_errors and catcher.
+       (catch_exceptions): New function, use catcher.
+
+2001-09-07  Jim Blandy  <jimb@redhat.com>
+
+       Correctly parse register values provided by the monitor.
+       * rom68k-rom.c: #include "value.h".
+       (is_hex_digit, hex_digit_value, is_whitespace,
+       rom68k_supply_one_register): New static functions.
+       (rom68k_supply_register): Call rom68k_supply_one_register, instead
+       of monitor_supply_register; the latter was incorrectly parsing 
+       the values.
+       * Makefile.in (rom68k-rom.o): Note that this now #includes value.h.
+
+2001-09-07  Mark Kettenis  <kettenis@gnu.org>
+
+       * config/rs6000/xm-rs6000.h (setpgrp): Remove macro.  GDB defaults
+       to using setpgid if available now.
+
+2001-09-06  Keith Seitz  <keiths@redhat.com>
+
+       From Ian Roxborough  <irox@redhat.com>
+       * configure.in: Use ITCL_LIB_FULL_PATH and
+       ITK_LIB_FULL_PATH to set Itcl and Itk dependancies
+       for gdb.
+       * configure: Regenerated.
+
+2001-09-06  Kevin Buettner  <kevinb@redhat.com>
+       
+       * dbxread.c (process_one_symbol): Don't use error result from
+       find_stab_function_addr().
+       * partial-stab.h (case 'F'): Likewise.
+
+       * partial-stab.h (case 'f'): Make SOFUN_ADDRESS_MAYBE_MISSING
+       code match that used for case 'F'.  This fixes the divergence
+       that was introduced by my 1999-09-14 changes to partial-stab.h.
+
+2001-09-05  Elena Zannoni  <ezannoni@redhat.com>
+
+        * gdbarch.sh: Move include of dis-asm.h so it is generated earlier
+        in gdbarch.h.
+        (TARGET_PRINT_INSN): Multiarch.
+        * gdbarch.h: Regenerate.
+        * gdbarch.c: Regenerate.
+
+        * arch-utils.c (legacy_print_insn): New function.
+        * arch-utils.h (legacy_print_insn): Export.
+
+        * cris-tdep.c (cris_delayed_get_disassembler): Use
+        TARGET_PRINT_INSN, instead of tm_print_insn.
+        * d10v-tdep.c (print_insn): Ditto.
+        * d30v-tdep.c (print_insn): Ditto.
+        * m32r-tdep.c (dump_insn): Ditto.
+        * v850-tdep.c (v850_scan_prologue): Ditto.
+        * mcore-tdep.c (mcore_dump_insn): Ditto.
+        * sh-tdep.c (sh_gdbarch_init): Set print_insn gdbarch field.
+
+2001-09-05  Jim Blandy  <jimb@redhat.com>
+
+       * gdbtypes.h (struct type): Doc fix.
+
+2001-09-04  Elena Zannoni  <ezannoni@redhat.com>
+
+       From Daniel Jacobowitz  <drow@mvista.com>       
+       * dbxread.c (free_header_files): Make global.
+       (init_header_files): Likewise.
+       * stabsread.h (free_header_files): Add prototype.
+       (init_header_files): Likewise.
+       * mdebugread.c (mdebug_build_psymtabs): Initialize
+       properly before using the stabs debug reader.
+
+2001-09-04  Elena Zannoni  <ezannoni@redhat.com>
+
+       From Daniel Jacobowitz  <drow@mvista.com>       
+       * dbxread.c (dbx_symfile_read): Only reinitialize
+       the psymbol list if mainline or if both static
+       and global lists are empty.
+       * dwarf2read.c (dwarf2_build_psymtabs): Likewise.
+       * dwarfread.c (dwarf_build_psymtabs): Likewise.
+       * xcoffread.c (xcoff_initial_scan): Likewise.
+       * os9kread.c (os9k_symfile_read): Likewise.
+       
+2001-09-04  Elena Zannoni  <ezannoni@redhat.com>
+
+       From Daniel Jacobowitz  <drow@mvista.com>       
+       * mdebugread.c (psymtab_to_symtab_1): Handle N_SO stabs without
+       a name specially.
+
+2001-09-01  Mark Kettenis  <kettenis@gnu.org>
+
+       Make GDB use libiberty regex implementation.
+       * gdb_regex.h: Normalize protection against multiple inclusion.
+       Include "xregex.h" instead of "gnu-regex.h".
+       * cli/cli-cmds.c: Include "gdb_regex.h" instead of "gnu-regex.h".
+       * cli/cli-decode.c: Likewise.
+       * Makefile.in (REGEX): Remove.
+       (GDB_CFLAGS): Remove reference to gnu-regex.h in comment.
+       (ADD_FILES, ADD_DEPS): Remove $(REGEX).
+       (POSSLIBS): Remove.
+       (TAGFILES_NO_SRCDIR): Remove $(POSSLIBS).
+       (irix5-nat.o, solib.o, solib-svr4.o, source.o, symtab.o,
+       xcoffsolib.o, cli-decode.o, cli-cmd.o): Replace gnu-regex.h with
+       gdb_regex.h in list of dependencies.
+       (gnu-regex.o): Remove rule.
+       * gnu-regex.c, gnu-regex.h: Remove files.
+
+2001-08-31  Jason Molenda  (jmolenda@apple.com)
+
+       * c-valprint.c (c_val_print):  Second call to check_typedef ()
+       is no longer necessary.
+
+2001-08-31  Kevin Buettner  <kevinb@redhat.com>
+
+       * ia64-tdep.c (examine_prologue): Don't let a branch unit nop
+       terminate the prologue scan.
+
+2001-08-30  Jim Blandy  <jimb@redhat.com>
+
+       * symfile.c (sections_overlap): New function.
+       (map_overlay_command): Call sections_overlap, instead of using
+       incorrect logic to recognize overlapping sections.
+
+       * symfile.c (load_command): Invalidate the overlay cache.
+
+2001-08-30  Mark Kettenis  <kettenis@gnu.org>
+
+       * config/i386/xm-i386.h (HOST_BYTE_ORDER): Removed.
+
+2001-08-29  Kevin Buettner  <kevinb@redhat.com>
+
+       From 2001-08-07  Daniel Jacobowitz  <drow@mvista.com>:
+       * solib-svr4.c (enable_break): Check the inferior link map
+       before assuming the inferior PC is at the start of the dynamic
+       loader.
+
+2001-08-28  Andrew Cagney  <cagney@toribio.toronto.redhat.com>
+
+       * frame.h (struct frame_info): Fix documentation on fields
+       saved_regs, next and prev.
+
+2001-08-23  Mark Kettenis  <kettenis@gnu.org>
+
+       * event-top.c (async_stop_sig) [HAVE_SIGPROCMASK]: Some
+       gratuitious whitespace changes.
+       [!HAVE_SIGPROCMASK]: Call sigsetmask if HAVE_SIGSETMASK is defined.
+       * top.c: Remove redundant logic to define HAVE_SIGSETMASK.
+       (sigsetmask) Don't define macro.
+       (stop_sig) [HAVE_SIGPROCMASK]: Add bit of code snatched from
+       async_stop_sig from event-top.c.
+       [!HAVE_SIGPROCMASK]: Call sigsetmask if HAVE_SIGSETMASK is
+       defined.
+       * configure.in (AC_CHECK_FUNCS): Put functions in alphabetical
+       order.  Add sigsetmask.
+       (AC_FUNC_VFORK, AC_FUNC_ALLOCA): Reorder such that they're in
+       alphabetical order.
+       * config/xm-aix4.h, config/alpha/xm-alphalinux.h,
+       config/i386/xm-cygwin.h, config/rs6000/xm-rs6000.h
+       (HAVE_SIGSETMASK): Remove.
+       * aclocal.m4, config.in, configure: Regenerated.
+
+2001-08-26  Andrew Cagney  <ac131313@redhat.com>
+
+       From 2001-06-29 Andrew Cagney  <ac131313@redhat.com>:
+       * config/powerpc/nbsd.mh (XM_FILE): Delete.
+
+2001-08-21  Andrew Cagney  <ac131313@redhat.com>
+
+       * doublest.h (HOST_FLOAT_FORMAT): Delete macro.
+       (HOST_DOUBLE_FORMAT): Delete macro.
+
+2001-08-24  Mark Kettenis  <kettenis@gnu.org>
+
+       * config/xm-lynx.h, config/xm-nbsd.h, config/xm-sysv4.h,
+       config/i386/xm-i386aix.h, config/m68k/xm-dpx2.h: Remove redundant
+       inclusion of <limits.h>.
+
+2001-08-24  Andrew Cagney  <ac131313@redhat.com>
+
+       * regcache.c (read_register_bytes): When REGISTER_NAME indicates
+       that a register should be ignored, supply a value for the register
+       from the raw registers[] buffer.
+
+2001-08-24  Andrew Cagney  <ac131313@redhat.com>
+
+       * go32-nat.c (go32_create_inferior): Use xfree instead of free.
+       * config/djgpp/fnchange.lst: Add entries for i386bsd-tdep.c and
+       i386bsd-nat.c.
+
+2001-08-21  Andrew Cagney  <ac131313@redhat.com>
+
+       * gdbtypes.h (builtin_type_ieee_single_big)
+       (builtin_type_ieee_single_little, builtin_type_ieee_double_big)
+       (builtin_type_ieee_double_little)
+       (builtin_type_ieee_double_littlebyte_bigword)
+       (builtin_type_i387_ext, builtin_type_m68881_ext)
+       (builtin_type_i960_ext, builtin_type_m88110_ext)
+       (builtin_type_m88110_harris_ext, builtin_type_arm_ext_big)
+       (builtin_type_arm_ext_littlebyte_bigword)
+       (builtin_type_ia64_spill_big, builtin_type_ia64_spill_little)
+       (builtin_type_ia64_quad_big)
+       (builtin_type_ia64_quad_little): Declare.
+       * gdbtypes.c (builtin_type_ieee_single_big)
+       (builtin_type_ieee_single_little, builtin_type_ieee_double_big)
+       (builtin_type_ieee_double_little)
+       (builtin_type_ieee_double_littlebyte_bigword)
+       (builtin_type_i387_ext, builtin_type_m68881_ext)
+       (builtin_type_i960_ext, builtin_type_m88110_ext)
+       (builtin_type_m88110_harris_ext, builtin_type_arm_ext_big)
+       (builtin_type_arm_ext_littlebyte_bigword)
+       (builtin_type_ia64_spill_big, builtin_type_ia64_spill_little)
+       (builtin_type_ia64_quad_big)
+       (builtin_type_ia64_quad_little): Define.
+       (_initialize_gdbtypes): Initialize builtin floatformat types.
+       
+2001-08-23  Mark Kettenis  <kettenis@gnu.org>
+
+       * tracepoint.c (read_actions): Add FIXME for code depending on
+       STOP_SIGNAL.
+
+2001-08-23  Martin M. Hunt  <hunt@redhat.com>
+
+       * remote-mips.c (pmon_load_fast): Add ui_load_progress_hook
+       to download loop.
+       (mips_load_srec): Ditto.
+
+2001-08-22  Andrew Cagney  <ac131313@redhat.com>
+
+       * gdbtypes.c (build_gdbtypes): Initialize TYPE_FLOATFORMAT field
+       of builtin_type_float, builtin_type_double and
+       builtin_type_long_double.
+       (recursive_dump_type): Print the floatformat name.
+       * gdbtypes.h (struct type): Add type_specific field floatformat.
+       (TYPE_FLOATFORMAT): Define
+
+2001-08-21  Keith Seitz  <keiths@redhat.com>
+
+       * printcmd.c (print_insn): Use the given stream for
+       output.
+
 2001-07-24  Andrew Cagney  <ac131313@redhat.com>
 
        * arm-tdep.c (convert_from_extended, convert_to_extended): Delete
@@ -6355,7 +6673,7 @@ Tue Jan 30 15:14:26 2001  Andrew Cagney  <cagney@skil>
 
 2001-01-29  Michael Chastain  <chastain@redhat.com>
 
-       * symtab.c (block_lookup_symbol): Use 'namespace' parameter in
+       * symtab.c (lookup_block_symbol): Use 'namespace' parameter in
        symbol comparisons in binary search.
 
 2001-01-27  Christopher Faylor  <cgf@cygnus.com>