s/value_ptr/struct value */
[binutils-gdb.git] / gdb / ChangeLog
index 69d6362c39839c4db120dc68d7aa5f5936342e57..b19d3d5567acf56ab2f468cb3a52733a6d42234d 100644 (file)
@@ -1,3 +1,750 @@
+2001-10-31  Andrew Cagney  <ac131313@redhat.com>
+
+       * varobj.c: Replace value_ptr with ``struct value *''.
+
+2001-10-31  Andrew Cagney  <ac131313@redhat.com>
+
+       * varobj.c: Re-indent.
+
+2001-10-31  Andrew Cagney  <ac131313@redhat.com>
+
+       * x86-64-tdep.c (value_push, x86_64_push_arguments): Replace
+       ``value_ptr'' with ``struct value *''.
+       * s390-tdep.c (s390_push_arguments): Ditto.
+
+2001-10-30  Andrew Cagney  <ac131313@redhat.com>
+
+       * ppc-tdep.h: Add #ifndef wrapper.  Replace value_ptr with
+       ``struct value *''.
+       (struct frame_info, struct value): Add opaque declarations.
+       
+2001-10-31  Corinna Vinschen  <vinschen@redhat.com>
+
+       * arch-utils.c (generic_in_solib_call_trampoline): New function.
+       * arch-utils.h (generic_in_solib_call_trampoline): Extern declaration.  
+       * gdbarch.c: Regenerated from gdbarch.sh.
+       * gdbarch.h: Ditto.
+       * gdbarch.sh (function_list): Add `IN_SOLIB_CALL_TRAMPOLINE' definition.
+       * infrun.c (IN_SOLIB_CALL_TRAMPOLINE): Remove macro.
+
+2001-10-31  Andrew Cagney  <ac131313@redhat.com>
+
+       From DJ Barrow.
+       * s390-tdep.c: (s390_gdbarch_init): Don't initialize
+       find_solib_trampoline_target.
+
+2001-10-31  Andrew Cagney  <ac131313@redhat.com>
+
+       * remote-vx.c (net_wait): Fix typo from PIDGET change.
+
+2001-10-31  Mark Kettenis  <kettenis@gnu.org>
+
+       * config/i386/tm-i386.h (REGISTER_NAMES): Remove.
+       (REGISTER_NAME): New define.
+       (i386_register_name): New prototype.
+       * i386-tdep.c (i386_register_names): New variable.
+       (i386_register_name): New function.
+       * config/i386/tm-i386os9k.h, config/i386/tm-ptx.h,
+       config/i386/tm-symmetry.h: Undefine REGISTER_NAME instead of
+       REGISTER_NAMES.
+
+2001-10-31  Christopher Faylor  <cgf@redhat.com>
+
+       * win32-nat.c (register_loaded_dll): Attempt to ensure that the case of
+       the loaded DLL matches the on-disk case since the debugging API does
+       not seem to ensure this.  Calculate max name length here.
+       (handle_load_dll): Move max name length calculation to
+       register_loaded_dll.
+
+2001-10-31  Daniel Jacobowitz  <drow@mvista.com>
+
+       * arm-linux-nat.c: Include <asm/ptrace.h> explicitly.
+
+2001-10-30  Keith Seitz  <keiths@redhat.com>
+
+       * wrapper.h (gdb_value_struct_elt): New function.
+       * wrapper.c (gdb_value_struct_elt): Ditto.
+       (do_captured_value_struct_elt): Ditto.
+
+2001-10-30  Andrew Cagney  <ac131313@redhat.com>
+
+       * README, NEWS: Update for 5.1.
+
+2001-10-30  Andrew Cagney  <ac131313@redhat.com>
+
+       * configure.in (WERROR_CFLAGS): Use AC_TRY_COMPILE to test the
+       -W... flags.
+       * configure: Re-generate.
+
+2001-10-30  Fred Fish  <fnf@redhat.com>
+
+       * somsolib.c (som_solib_add): A megabyte is 1024*1024 bytes.
+       * pa64solib.c (add_to_solist): Ditto.
+       * win32-nat.c (_initialize_inftarg): Remove unnecessary
+       initialization of auto_solib_add, it defaults to 1.
+
+2001-10-27  Fred Fish  <fnf@redhat.com>
+
+       * symfile.c (auto_solib_add): Update comment to note that
+       this variable is now just used as a boolean to control shlib
+       autoloading, and clarify when it is used.
+       * symfile.h (auto_solib_add): Ditto.
+
+       * symfile.c (auto_solib_limit): New variable that holds the
+       autoloading threshold instead of overloading auto_solib_add.
+       * symfile.h (auto_solib_limit): Ditto.
+
+       * irix5-nat.c (_initialize_solib): Change auto-solib-add
+       variable from var_zinteger to var_boolean and update help.
+       * osfsolib.c (_initialize_solib): Ditto.
+       * pa64solib.c (_initialize_pa64_solib): Ditto.
+       * solib.c (_initialize_solib): Ditto.
+       * somsolib.c (_initialize_som_solib): Ditto.
+       * xcoffsolib.c (_initialize_solib): Ditto.
+
+       * pa64solib.c (pa64_solib_total_st_size): Update comment to
+       note that the new auto_solib_limit variable is used instead
+       of overloading auto_solib_add variable.
+       (_initialize_pa64_solib): Ditto.
+       * somsolib.c (som_solib_total_st_size): Ditto.
+       (_initialize_som_solib): Ditto.
+
+       * pa64solib.c (_initialize_pa64_solib): Add new set/show
+       commands for auto-solib-limit variable.
+       * somsolib.c (_initialize_som_solib): Ditto
+
+       * pa64solib.c (add_to_solist): Check that auto_solib_add is
+       set and use auto_solib_limit as the threshold size instead
+       of auto_solib_add.
+       * somsolib.c (som_solib_add): Ditto, and also change warning
+       text about size threshold exceeded.
+
+2001-10-21  Mark Kettenis  <kettenis@gnu.org>
+
+       * config/i386/tm-i386v.h: Don't include "regcache.h".
+       (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE, FRAME_CHAIN,
+       FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC, FRAME_NUM_ARGS):
+       Remove macros.  The versions from "tm-i386.h" should work fine
+       (and in most cases even better).
+
+2001-10-30  Mark Kettenis  <kettenis@gnu.org>
+
+       * i386-tdep.c (i386_extract_return_value): Use
+       convert_typed_floating to extract floating-point value from
+       register buffer.
+       (i386_store_return_value): Use convert_typed_floating to store
+       floating-point return balue in register buffer
+       (i386_register_virtual_type): Change type of floating-point
+       registers to builtin_type_i387_ext.
+       (i386_register_convert_to_virtual): Use convert_typed_floating to
+       do the conversion.
+       (i386_register_convert_to_raw): Likewise.
+
+2001-10-29  Mark Kettenis  <kettenis@gnu.org>
+
+       * doublest.h (convert_typed_floating): New prototype.
+       * doublest.c (convert_typed_floating): New function.
+
+2001-10-28  Mark Kettenis  <kettenis@gnu.org>
+
+       * doublest.c: Improve comments a bit.
+       (floatformat_from_length): New function.
+       (NAN): Define to 0.0 if not already defined.
+       (extract_floating): Rewrite to use floatformat_from_length.  Warn
+       instead of error if LEN doesn't match a known floating-point type,
+       and return NaN (or 0.0 if NaN isn't available) in that case.
+       (store_floating): Likewise, but zero out the target byte-stream if
+       LEN doesn't match a known floating-point type.
+       (extract_typed_floating): Reformat a bit.
+       (store_typed_floating): Reformat a bit.  Add comment about zeroing
+       out padding in the target buffer.
+       * doublest.h (extract_floating, store_floating): Fix comment about
+       deprecation of these functions.  Add parameter names to prototypes.
+
+2001-10-28  Mark Kettenis  <kettenis@gnu.org>
+
+       * i387-tdep.c (print_i387_value): Use extract_typed_floating to
+       convert RAW to a DOUBLEST instead of extract_floating.
+
+       * gdbtypes.c (_initialize_gdbtypes): Set floating-point type for
+       builtin_type_i387_ext to floatformat_i387_ext.
+
+2001-10-24  Daniel Jacobowitz  <drow@mvista.com>
+
+       * arm-linux-nat.c (fill_gregset): Do not check register_valid[].
+       (fill_fpregset): Likewise.
+
+2001-10-26  Orjan Friberg  <orjanf@axis.com>
+
+       * cris-tdep.c (constraint): Loop through the whole cris_spec_regs
+       struct, not just the NUM_SPECREGS first entries.
+       (bdap_prefix): Read PC before autoincrement.
+
+2001-10-24  Corinna Vinschen  <vinschen@redhat.com>
+
+       * win32-nat.c (DebugSetProcessKillOnExit): New static function
+       pointer to Windows' DebugSetProcessKillOnExit() function.
+       (DebugActiveProcessStop): Ditto for DebugActiveProcessStop().
+       (has_detach_ability): New function.
+       (child_attach): If system has detach ability, enable it.
+       (child_detach): If system has detach ability, actually  
+       detach from process.
+       Change tty output to Linux format.
+
+2001-10-23  Jim Blandy  <jimb@redhat.com>
+
+       Isolate STABS readers' use of the `textlow' and `texthigh' fields
+       of `struct partial_symtab' to only a few locations.  This change
+       is not supposed to affect the way the values are computed, only
+       where they live.
+
+       * dbxread.c (struct symloc): Add `textlow' and `texthigh' fields
+       to the reader-specific structure.
+       * mdebugread.c (struct symloc): Same.
+       * dbxread.c (TEXTLOW, TEXTHIGH): New accessor macros.
+       * mdebugread.c (TEXTLOW, TEXTHIGH): Same.
+       * dbxread.c (dbx_symfile_read): After we've built all our partial
+       symbol tables, set each partial symtab's `textlow' and `texthigh'
+       fields from our reader-specific structure.
+       * mdebugread.c (mdebug_build_psymtabs): Same.
+       * dbxread.c (start_psymtab): Initialize the reader-specific
+       structure's `textlow' and `texthigh' from the new psymtab's.
+       * mdebugread.c (parse_partial_symbols, new_psymtab): Same.
+       * dbxread.c (read_dbx_symtab, end_psymtab, read_ofile_symtab): Use
+       the reader-specific `textlow' and `texthigh', not the generic
+       psymtab fields.
+       * mdebugread.c (parse_lines, parse_partial_symbols,
+       psymtab_to_symtab_1): Same.
+       * partial-stab.h: Same.
+
+Tue Oct 23 18:59:42 2001  Andrew Cagney  <cagney@redhat.com>
+
+       * hp-psymtab-read.c, hppah-nat.c, hppa-tdep.c: Fix -Wformat
+       problems.
+
+Tue Oct 23 14:16:10 2001  Andrew Cagney  <cagney@redhat.com>
+
+       * somsolib.c (som_solib_add): Use core_addr_to_host_pointer.
+       (som_solib_desire_dynamic_linker_symbols): Compare integers with
+       zero not NULL.
+       * hp-psymtab-read.c (hpread_call_pxdb): Make parameter constant.
+
+2001-10-21  Andrew Cagney  <ac131313@redhat.com>
+
+       * top.c (print_gdb_version): Do not print ``(MI_OUT)''.  MI
+       interface is always enabled.
+
+2001-10-21  Andrew Cagney  <ac131313@redhat.com>
+
+       * Makefile.in: Replace top.h with $(top_h). Replace expression.h
+       with $(expression_h).  Replace command.h with $(command_h).
+       (language_h): Define.  Replace language.h with $(language_h).
+       Replace call-cmds.h with $(call_cmds_h).  Replace varobj.h with
+       $(varobj_h).
+       (wrapper_h, valprint_h, objfiles_h, complaints_h): Ditto.
+       (serial_h, hpread_h, buildsym_h, stabsread_h): Ditto.
+       (xcoffsolib_h, gdb_stabs_h, linespec_h): Ditto.
+       (bcache_h, gdb_events_h, monitor_h): Ditto.
+       (ser_unix_h, source_h): Ditto.
+       (varobj_h): Update list.
+
+       * call-cmds.h: Add CALL_CMDS_H macro wrapper.
+       * solist.h: Add SOLIST_H macro wrapper.
+       * monitor.h: Add MONITOR_H macro wrapper.
+       * typeprint.h: Add TYPEPRINT_H macro wrapper.
+       * xcoffsolib.h: Add XCOFFSOLIB_H macro wrapper.
+       * valprint.h: Add VALPRINT_H macro wrapper.
+       * top.h: Add TOP_H macro wrapper.
+       
+2001-10-21  Andrew Cagney  <ac131313@redhat.com>
+
+       * config/a29k/tm-vx29k.h, i386-tdep.c: Include "value.h".
+       * arm-tdep.c, exec.c, ia64-tdep.c, infrun.c: Ditto.
+       * ppc-linux-tdep.c, remote-es.c, remote.c: Ditto.
+       * rs6000-tdep.c, s390-tdep.c, x86-64-tdep.c: Ditto.
+       * Makefile.in (arm-tdep.o, exec.o, i386-tdep.o, ia64-tdep.o)
+       (infrun.o, ppc-linux-tdep.o, remote.o, rs6000-tdep.o)
+       (x86-64-tdep.o): Update dependencies.
+       * gdbarch.sh [!GDB_MULTI_ARCH]: Include "value.h".
+       * gdbarch.h, gdbarch.c: Re-generate.
+
+2001-10-21  Mark Kettenis  <kettenis@gnu.org>
+
+       * infptrace.c (child_xfer_memory): Fix a few coding standards
+       violations.
+
+2001-10-21  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * config/djgpp/README: Fix a typo and tweak for GDB 5.1.
+
+2001-10-20  Andrew Cagney  <ac131313@redhat.com>
+
+       * jv-lang.h: Add #ifndef JV_LANG_H wrapper.
+       (struct value): Add opaque declaration.  Replace value_ptr with
+       ``struct value *''.
+       * jv-valprint.c, jv-lang.c: Replace value_ptr with equivalent
+       struct.
+
+       * wrapper.h (struct value): Add opaque declaration.  Replace
+       value_ptr with ``struct value *''.
+       * wrapper.c: Replace value_ptr with ``struct value *''.
+       * breakpoint.h, breakpoint.c: Ditto.
+       * cp-abi.h, hpacc-abi.c, gnu-v2-abi.c, cp-abi.c: Ditto.
+
+2001-10-20  Andrew Cagney  <ac131313@redhat.com>
+
+       * alpha-nat.c: Include <alpha/coreregs.h> instead of
+       <machine/reg.h>.
+       (fetch_osf_core_registers): Define core_reg_mapping in a way that
+       works on OSF5 as well as previous OSF versions.
+
+2001-10-20  Christopher Faylor  <cgf@redhat.com>
+
+       * win32-nat.c (handle_load_dll): Avoid strlwr'ing loaded DLLs or cygwin
+       may not be able to read them in certain situations.
+
+2001-10-18  Andrew Cagney  <ac131313@redhat.com>
+
+       * config/powerpc/nbsd.mt (SIM_OBS, SIM): Define.
+       * config/powerpc/linux.mt (SIM, SIM_OBS): Ditto
+
+2001-10-18  Andrew Cagney  <ac131313@redhat.com>
+
+       * README: Mention problems with HP/UX.
+
+2001-10-16  Andrew Cagney  <ac131313@redhat.com>
+
+       Based on code by John Moore <jmore@redhat.com>:
+       
+       * utils.c (core_addr_to_string): New function for conversion of
+       CORE_ADDR to string.
+       (string_to_core_addr): New function to convert from string to
+       CORE_ADDR.
+       * defs.h: Added extern statements for the above.
+
+2001-10-17  Jason Molenda  (jason-cl@molenda.com)
+
+       * symtab.c (lookup_block_symbol):  Break out of linear search
+        if we're past the range of possible matches.
+
+2001-10-16  Christopher Faylor  <cgf@redhat.com>
+
+       * win32-nat.c (safe_symbol_file_add_stub): Improve logic for avoiding
+       load of already loaded DLL.
+       (register_loaded_dll): Convert loaded DLL name to "posix" format or it
+       will confuse subsequent opening of the filename due to dos paths.
+       (dll_symbol_command): Pass from_tty parameter to safe_symbol_file_add.
+
+2001-10-15  Elena Zannoni  <ezannoni@redhat.com>
+
+        * symtab.c (lookup_block_symbol): Update comment.
+
+2001-10-15  Andrew Cagney  <ac131313@redhat.com>
+
+       * value.h (value_as_address): Rename value_as_pointer.
+       * eval.c, findvar.c, gnu-v2-abi.c, gnu-v3-abi.c, jv-lang.c,
+       jv-valprint.c, printcmd.c, stack.c, top.c, valarith.c, valops.c,
+       values.c: Update.
+
+202001-10-15  Jim Ingham  <jingham@inghji.apple.com>
+
+        * valarith.c (value_sub): Don't pass a raw type to
+        value_from_pointer, it has to go through check_typedef first.
+
+2001-10-15  Andrew Cagney  <ac131313@redhat.com>
+
+       * gdbarch.sh (fallbackdefault): Set to one when predefault is
+       empty.
+       * gdbarch.h: Regenerate.
+
+2001-10-15  Andrew Cagney  <ac131313@redhat.com>
+
+       * mips-tdep.c (mips_integer_to_address): New function.
+       (mips_gdbarch_init): Initialize pointer_to_address,
+       address_to_pointer and integer_to_address.
+
+       * config/mips/tm-mips.h (POINTER_TO_ADDRESS): Delete
+       (ADDRESS_TO_POINTER): Delete.
+
+       * d10v-tdep.c (d10v_integer_to_address): New function.
+       (d10v_gdbarch_init): Initialize integer_to_address.
+
+       * values.c (value_as_pointer): Use INTEGER_TO_ADDRESS when
+       available.
+
+       * gdbarch.sh (INTEGER_TO_ADDRESS): New predicate and function.
+       * gdbarch.h, gdbarch.c: Regenerate.
+
+2001-10-14  Mark Kettenis  <kettenis@gnu.org>
+
+       * config/s390/nm-linux.h: Don't include <signal.h>.
+       (lin_lwp_attach_lwp, ATTACH_LWP, lin_thread_get_thread_signals,
+       GET_THREAD_SIGNAL): Remove.
+
+       * config/nm-linux.h (struct objfile): Remove forward declaration.
+       (linuxthreads_new_objfile): Remove prototype.
+       (linuxthreads_pid_to_str): Remove prototype.
+       (PREPARE_TO_PROCEED): Redefine in terms of
+       lin_lwp_prepare_to_proceed.
+       (struct target_waitstatus): Forward declaration.
+       (child_wait): New prototype.
+       (CHILD_WAIT): Define.
+       (lin_lwp_attach_lwp, ATTACH_LWP, lin_thread_get_thread_signals,
+       GET_THREAD_SIGNAL): Moved here from arch-specific files.
+       * config/alpha/nm-linux.h, config/arm/nm-linux.h,
+       config/ia64/nm-linux.h, config/mips/nm-linux.h,
+       config/powerpc/nm-linux.h: Don't include <signal.h>.
+       (lin_lwp_attach_lwp, ATTACH_LWP, lin_thread_get_thread_signals,
+       GET_THREAD_SIGNAL): Remove.
+       * config/i386/nm-linux.h: Likewise.
+       (struct target_waitstatus, child_wait, CHILD_WAIT): Remove.
+       * config/m68k/linux.mh, config/sparc/linux.mh (NATDEPFILES):
+       Remove linux-thread.o.  Add proc-service.o, thread-db.o and
+       lin-lwp.o.
+       (LOADLIBES): New variable.
+
+       * sparc-nat.c (fetch_core_registers): Remove redundant prototype.
+
+       * proc-service.c (BUILD_LWP): Redefine in terms of ptid_build.
+
+       Fix attaching to cloned processes.  This fixes PR gdb/61.
+       * lin-lwp.c (struct lwp_info): Add new member `cloned'.
+       (is_cloned) Removed.
+       (lin_lwp_attach_lwp): Don't call stop_wait_callback.  Instead call
+       waitpid explicitly.  Mark the LWP as cloned if waitpid fails and
+       retry with __WCLONE flag.
+       (lin_lwp_attach): Likewise.  Warn if attaching to a cloned process.
+       (detach_callback): Replace use of is_cloned with explicit check on
+       LWP id and process id.
+       (stop_wait_callback): Replace use of is_cloned with check if LWP
+       is marked as cloned.
+       [CHILD_WAIT] (child_wait): New function.
+       (lin_lwp_wait): Replace use of is_cloned with check if LWP is
+       marked as cloned.  Mark newly detected LWPs as cloned if detected
+       by waitpid with __WCLONE flag.
+       (kill_wait_callback): Replace use of is_cloned with check if LWP
+       is marked as cloned.
+       * config/i386/nm-linux.h (struct target_waitstatus): Add forward
+       declaration.
+       (child_wait): Add prototype.
+       (CHILD_WAIT): Define.
+
+2001-10-13  Andrew Cagney  <ac131313@redhat.com>
+
+       S/390 31 & 64 bit target and GNU/Linux native support.
+       Contributed by D.J. Barrow <djbarrow@de.ibm.com> of IBM.
+       * s390-nat.c, s390-tdep.c: New file.
+       * config/s390/nm-linux.h, config/s390/s390.mh: New file.
+       * config/s390/s390.mt, config/s390/s390x.mt: New file.
+       * config/s390/tm-linux.h, config/s390/tm-s390.h: New file.
+       * config/s390/xm-linux.h: New file.
+       * NEWS: Update.
+       * MAINTAINERS: Update.
+
+2001-10-13  Andrew Cagney  <ac131313@redhat.com>
+
+       From 2001-07-09 D.J. Barrow <djbarrow@de.ibm.com>:
+        * gdbarch.sh: Fixed CALL_DUMMY_BREAKPOINT_OFFSET to check
+       CALL_DUMMY_BREAKPOINT_OFFSET_P.
+       * gdbarch.c: Regenerate.
+       
+2001-10-13  Mark Kettenis  <kettenis@gnu.org>
+
+       * thread-db.c: Fix a few formatting mistakes.
+
+2001-10-12  Christopher Faylor  <cgf@redhat.com>
+
+       * win32-nat.c (safe_symbol_file_add_stub): Properly initialize linked
+       list pointer to beginning rather than one beyond beginning.
+
+2001-10-12  Daniel Jacobowitz  <drow@mvista.com>
+
+       * symtab.h (struct block): (ALL_BLOCK_SYMBOLS): New macro.
+
+       * symtab.c (find_pc_sect_symtab): Use ALL_BLOCK_SYMBOLS.
+       (make_symbol_completion_list): Likewise.
+       (make_symbol_overload_list): Likewise.
+       * buildsym.c (finish_block): Likewise.
+       * breakpoint.c (get_catch_sals):  Likewise.
+       * mdebugread.c (mylookup_symbol): Likewise.
+       * objfiles.c (objfile_relocate): Likewise.
+       * printcmd.c (print_frame_args): Likewise.
+       * stack.c (print_block_frame_locals): Likewise.
+       (print_block_frame_labels): Likewise.
+       (print_frame_arg_vars): Likewise.
+       * symmisc.c (dump_symtab): Likewise.
+       * tracepoint.c (add_local_symbols): Likewise.
+       (scope_info): Likewise.
+
+2001-10-12  Daniel Jacobowitz  <drow@mvista.com>
+
+       * minsyms.c (msymbol_hash): Use better hash function.
+       (msymbol_hash_iw): Likewise.  Terminate loop at '(' properly.
+
+       * objfiles.h: Increase MINIMAL_SYMBOL_HASH_SIZE to match modern
+       binaries.
+
+2001-10-12  Daniel Jacobowitz  <drow@mvista.com>
+
+       * printcmd.c (print_frame_args):  Move symbol iteration explicitly
+       inside the func != NULL block.
+
+2001-10-12  Fernando Nasser  <fnasser@redhat.com>
+
+       * MAINTAINERS (Misc): Add Ian Roxborough as tcl/, tk/ and itcl/
+       maintainer.
+
+2001-10-12  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       * config/i386/tm-cygwin.h: Include tm-i386.h instead of tm-i386v.h.
+       This fixes errors in "long long" handling for 'finish' and 'return'
+       commands.
+
+2001-10-12  Christopher Faylor  <cgf@redhat.com>
+
+       * win32-nat.c (safe_symbol_file_add_stub): Avoid adding a shared
+       library if it has already been loaded.
+       (safe_symbol_file_add_cleanup): Don't mess with stderr or we won't see
+       any error messages.
+       (safe_symbol_file_add): Ditto.
+       (solib_symbols_add): Make static.  Accept 'from_tty' parameter.  Pass
+       it to safe_symbol_file_add.
+       (core_dll_symbols_add): Accomodate extra solib_symbols_add parameter.
+       (child_solib_add): Ditto.
+
+       * win32-nat.c (handle_exception): Don't print "first chance"
+       exceptions.
+       (get_child_debug_event): Continue from exceptions if !handle_exception.
+
+2001-10-11  Tom Tromey  <tromey@redhat.com>
+
+       * symtab.c (lookup_symtab): Removed.
+       (lookup_symtab_1): Renamed to lookup_symtab.
+
+2001-10-10  Christopher Faylor  <cgf@redhat.com>
+
+       * win32-nat.c (get_child_debug_event): Close file handles created after
+       process creation and DLL load.
+       (child_create_inferior): Close unneeded process/thread handle after
+       thread creation.
+
+2001-10-10  Jim Blandy  <jimb@redhat.com>
+
+       * mn10300-tdep.c (mn10300_analyze_prologue): Doc fixes.
+
+2001-10-10  Keith Seitz  <keiths@redhat.com>
+
+       * varobj.c (cplus_value_of_child): Deal with a failure
+       to dereference a pointer object.
+
+2001-10-08  J. Brobecker <brobecker@gnat.com>
+
+       * hpux-thread.c: rewrite find_active_thread() and find_tcb()
+       to use ptid_t, instead of overloading the thread and the pid
+       into the same 32-bit value. Make associated necessary adaptations.
+       Also remove unused variable cached_active_thread.
+
+2001-10-08  Nicholas Duffek  <nsd@redhat.com>
+
+       * MAINTAINERS (powerpc, SCO/Unixware, Solaris/x86): Remove my
+       entries.
+
+2001-10-06  Mark Kettenis  <kettenis@beast.freebsd.org>
+
+       * config/alpha/tm-fbsd.h (FRAME_CHAIN_VALID): Define.
+
+2001-10-04  Tom Tromey  <tromey@redhat.com>
+
+       * main.c (enable_external_editor): Don't declare.
+       (captured_main): Don't set enable_external_editor.
+
+2001-10-02  Kevin Buettner  <kevinb@redhat.com>
+
+       * Makefile.in (ALLDEPFILES): Add solib-svr4.c and solib-sunos.c
+       to this list.
+       (solib-sunos.o): Add dependencies.
+       (solib-svr4.o): Revise dependencies.
+       * solib-svr4.c: Remove SunOS shared library support.
+       * solib-sunos.c: New file, created from solib-svr4.c, which still
+       contains SunOS shared library support, but no SVR4 support.
+
+       * config/i386/nbsd.mh (NATDEPFILES): Remove solib-svr4.o and
+       solib-legacy.o from this list.  Add solib-sunos.o.
+       * config/i386/sun386.mt (TDEPFILES): Likewise.
+       * config/m68k/nbsd.mh (NATDEPFILES): Likewise.
+       * config/m68k/sun2os4.mt (TDEPFILES): Likewise.
+       * config/m68k/sun3os4.mt (TDEPFILES): Likewise.
+       * config/ns32k/nbsd.mh (NATDEPFILES): Likewise.
+       * config/sparc/nbsd.mh (NATDEPFILES): Likewise.
+       * config/sparc/sun4os4.mt (TDEPFILES): Likewise.
+
+2001-10-01  Elena Zannoni <ezannoni@redhat.com>
+
+        * Makefile.in (mipsread.o): Remove old dependency on partial-stab.h.
+
+2001-10-01  Elena Zannoni <ezannoni@redhat.com>
+
+        * xcoffread.c (N_UNDF, N_ABS, N_TEXT, N_DATA, N_BSS, N_COMM, N_FN,
+        N_EXT, N_INDR, N_SETA, N_SETT, N_SETD, N_SETB, N_SETV,
+        CUR_SYMBOL_TYPE, CUR_SYMBOL_VALUE, START_PSYMTAB, END_PSYMTAB,
+        SET_NAMESTRING): Delete definitions.
+        Don't include language.h any more.
+        Don't include partial-stab.h any more.
+        (scan_xcoff_symtab): Don't jump through hoops to reuse code in
+        partial-stab.h, include the code directly, instead.
+
+        * Makefile.in (xcoffread.o): Remove dependency on partial-stab.h.
+
+2001-10-01  Andrew Cagney  <ac131313@redhat.com>
+
+       * infcmd.c (do_registers_info): Delete code dumping large
+       registers.  Handled by val_print.
+
+2001-09-30  Andrew Cagney  <ac131313@redhat.com>
+
+       * gdbarch.sh (gdbarch_alloc): Name the new architecture
+       ``current_gdbarch'' so that it, and not the identically named
+       global is refered to by macros.
+       * gdbarch.c: Regenerate.
+
+2001-09-29  Andrew Cagney  <ac131313@redhat.com>
+
+       * cli/cli-decode.c (add_set_boolean_cmd): Define.
+       * cli/cli-decode.h (add_set_boolean_cmd): Declare.
+       * command.h (add_set_boolean_cmd): Ditto.
+       * remote.c (_initialize_remote): Use add_set_boolean_cmd for "set
+       remotebreak"
+
+2001-09-29  Andrew Cagney  <ac131313@redhat.com>
+
+       * gdbarch.sh (gdbarch_dump): Sort output.
+       * gdbarch.c: Regenerate.
+
+2001-09-29  Andrew Cagney  <ac131313@redhat.com>
+
+       * rs6000-tdep.c (rs6000_gdbarch_init): Don't use the previous
+       architecture to infer the wordsize.  Previous architecture may not
+       be a PowerPC.
+
+2001-09-27  J. Brobecker <brobecker@gnat.com>
+
+       * infttrace.c (kill_inferior): Issue a TT_PROC_EXIT request rather
+       than a TT_PROC_STOP request to kill the inferior and its child
+       processes. Otherwise, the inferior is not killed on HPUX 11.0.
+       Removed the code that detaches the child processes since we just
+       killed them.
+
+2001-09-26  Andrew Cagney  <ac131313@redhat.com>
+
+       * serial.c (serial_set_cmdlist, serial_show_cmdlist): New
+       variables.
+       (serial_set_cmd, serial_show_cmd): New functions.
+       (_initialize_serial): Add "set/show serial" command.
+
+2001-09-26  Andrew Cagney  <ac131313@redhat.com>
+
+       * CONTRIBUTE: Update.
+
+2001-09-26  Kevin Buettner  <kevinb@redhat.com>
+
+       * solib-svr4.h (set_solib_svr4_fetch_link_map_offsets): Add
+       argument ``gdbarch''.
+       * solib-svr4.c (SVR4_FETCH_LINK_MAP_OFFSETS): Change default value.
+       (default_svr4_fetch_link_map_offsets): Rename to
+       legacy_fetch_link_map_offsets().
+       (svr4_fetch_link_map_offsets): New function.
+       (fetch_link_map_offsets, fetch_link_map_offsets_init): Deleted.
+       (fetch_link_map_offsets_gdbarch_data): New static global.
+       (set_solib_svr4_fetch_link_map_offsets): Add argument ``gdbarch''.
+       Revise to invoke set_gdbarch_data().
+       (init_fetch_link_map_offsets): Change return type and add an
+       argument so that it may be used as a gdbarch_data initializer.
+       (_initialize_svr4_solib): Eliminate use of gdbarch swap mechanism.
+       Use gdbarch data mechanism instead.
+
+2001-09-25  Jiri Smid  <smid@suse.cz>
+
+       * x86-64-linux-tdep.c (LINUX_SIGINFO_SIZE): Add.
+       (x86_64_linux_sigcontext_addr): Replace `sizeof (struct siginfo)'
+       by LINUX_SIGINFO_SIZE.
+
+2001-09-24  Andrew Cagney  <ac131313@redhat.com>
+
+       * maint.c (maintenance_set_cmdlist, maintenance_show_cmdlist): New
+       variables.
+       (maintenance_set_profile_cmd): New function.
+       (maintenance_show_cmd, maintenance_set_cmd): New functions.
+       (_initialize_maint_cmds): Add "maintenance set" and "maintenance
+       show" and, commented out, "maintenance set/show profile" commands.
+
+2001-09-24  Andrew Cagney  <ac131313@redhat.com>
+
+       * findvar.c (read_var_value): For LOC_INDIRECT and LOC_REF_ARG
+       convert the pointer into a CORE_ADDRs.
+
+2001-09-24  Andrew Cagney  <ac131313@redhat.com>
+
+       * doublest.h (store_floating, extract_floating): Add comment
+       indicating these functions are deprecated.
+       (extract_typed_floating, store_typed_floating): Declare.
+       * doublest.c: Include "gdbtypes.h".
+       (extract_typed_floating, store_typed_floating): Define.
+
+       * stabsread.c (define_symbol): Use store_typed_floating.
+       * valarith.c (value_binop): Ditto.
+       * values.c (unpack_long): Use extract_typed_floating.
+       (unpack_double): Ditto.
+
+2001-09-24  Orjan Friberg  <orjanf@axis.com>
+
+       * cris-tdep.c (reg_mode_add_sub_cmp_and_or_move_op): Fetch operand1
+       from correct register.
+
+2001-09-22  Mark Kettenis  <kettenis@gnu.org>
+
+       * x86-64-linux-tdep.c (STRUCT_OFFSET): Removed.
+
+2001-09-21  Jiri Smid   <smid@suse.cz>
+
+       * config/i386/x86-64linux.mh: New file.
+       * config/i386/x86-64linux.mt: New file.
+       * config/i386/nm-x86_64.h: New file.
+       * x86-64-linux-tdep.c: New file.
+       * x86-64-linux-nat.c: New file.
+       * x86-64-tdep.c: New file.
+       * x86-64-tdep.h: New file.
+       * i386-tdep.h: New file.
+       * i387-nat.c: Include i386-tdep.h when multiarch.
+       * i387-tdep.c: Ditto.
+       * config/djgpp/fnchange.lst: Add entries for x86_64-linux-tdep.c
+       and x86_64-linux-nat.c
+       * Makefile.in: Add x86_64-linux-tdep.o, x86_64-tdep.o,
+       x86_64-linux-tdep.o, x86_64-nat.o, update dependencies.
+
+2001-09-21  Jiri Smid   <smid@suse.cz>
+
+       * MAINTAINERS: Add myself to the write-after-approval list.
+       * i386-nat.c (TARGET_HAS_DR_LEN_8, DR_LEN_8): Declare.
+       (i386_length_and_rw_bits, i386_handle_nonaligned_watchpoint,
+       i386_insert_watchpoint, i386_remove_watchpoint):  Add support for
+       8-byte wide watchpoints.
+       (i386_show_dr): Debug message format string change.
+
+2001-09-21  Michael Snyder  <msnyder@redhat.com>
+
+       * c-exp.y (typebase): Accept (signed long long) as a type expr.
+
+2001-09-20  Michael Snyder  <msnyder@redhat.com>
+       Changes by Daniel Berlin  <dan@cgsoftware.com>, to support
+       better parsing of const and volatile type expressions.
+       * c-exp.y (const_and_volatile, const_or_volatile_noopt, 
+       const_or_volatile): New non-terminals.
+       (ptype): Use new rule for const_or_volatile.
+       (typebase): Use new rule for const_or_volatile_noopt.
+       * parser-defs.h (enum type_pieces): New values tp_const, tp_volatile.
+       * parse.c (follow_types): Handle tp_const and tp_volatile on the
+       type stack: call make_cv_type to create new const/volatile type.
+
 2001-09-20  Kevin Buettner  <kevinb@redhat.com>
 
        * solib-svr4.c (fetch_link_map_offsets): Add comment.