* i386-linux-nat.c (GETREGS_SUPPLIES, supply_gregset,
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 9203a324b60b5aad5ed6c92a721a41325a022094..a571e1b2803bfc322e02988f622426ae4bda68a1 100644 (file)
@@ -1,3 +1,689 @@
+2001-11-04  Mark Kettenis  <kettenis@gnu.org>
+
+       * i386-linux-nat.c (GETREGS_SUPPLIES, supply_gregset,
+       fill_gregset): Add support for "orig_eax" register.
+
+       Add support for "orig_eax" pseudo register on Linux/x86.
+       * i386-linux-tdep.c: Include "inferior.h".
+       (i386_linux_register_name, i386_linux_register_byte,
+       i386_linux_register_raw_size): New functions.
+       (i386_linux_write_pc): New function.
+       * config/i386/tm-linux.h (I386_LINUX_ORIG_EAX_REGNUM): New define.
+       (NUM_REGS, MAX_NUM_REGS, REGISTER_BYTES, REGISTER_NAME,
+       REGISTER_BYTE, REGISTER_RAW_SIZE): Define to deal with additional
+       register.
+       (i386_linux_register_name, i386_linux_register_byte,
+       i386_linux_register_raw_size): New prototypes.
+       (TARGET_WRITE_PC): New define.
+       (i386_linux_write_pc): New prototype.
+
+       * i386-tdep.c (i386_register_offset): Renamed from
+       i386_register_byte.  Made static.
+       (i386_register_size): Renamed from i386_register_raw_size.  Made
+       static.
+       (i386_register_virtual_size): Removed.
+       (i386_register_byte, i386_register_raw_size,
+       i386_register_virtual_size): New functions.
+       (_initialize_i386_tdep): Initialize i386_register_offset instead
+       of i386_register_byte.  Remove code to initialize
+       i386_register_virtual_size.
+       * config/i386/tm-i386.h (REGISTER_BYTE): Redefine to use
+       i386_register_byte function.
+       (REGISTER_RAW_SIZE): Redefine to use i386_register_raw_size
+       function.
+       (REGISTER_VIRTUAL_SIZE): Redefine to use
+       i386_register_virtual_size function.
+       (i386_register_byte, i386_register_raw_size,
+       i386_register_virtual_size): New functions.
+
+       * Makefile.in (ALLDEPFILES): Add i387-nat.c.
+       (i387-nat.o): Add dependencies.
+
+2001-11-02  Andrew Cagney  <ac131313@redhat.com>
+
+       * README: Mention problem with alpha-dec-osf5.1.
+
+2001-11-02  Andrew Cagney  <ac131313@redhat.com>
+
+       * utils.c (internal_verror): Restore calls to abort().
+       Fix PR gdb/219.
+       
+2001-11-02  Michael Chastain  <mec@shout.net>
+
+        * MAINTAINERS: Update my entry.
+
+2001-11-01  Fred Fish  <fnf@redhat.com>
+
+       * coff-solib.c (coff_solib_add): Add new readsyms arg.
+       * irix5-nat.c (solib_add): Ditto.
+       * osfsolib.c (solib_add): Ditto.
+       * pa64solib.c (pa64_solib_add): Ditto.
+       * pa64solib.c (add_to_solist): Ditto.
+       * pa64solib.c (read_dld_descriptor): Ditto.
+       * solib.c (solib_add): Ditto.
+       * somsolib.c (som_solib_add): Ditto.
+       * win32-nat.c (child_solib_add): Ditto.
+       * xcoffsolib.c (solib_add): Ditto.
+
+       * coff-solib.h (coff_solib_add): Add new readsyms arg to prototype.
+       * pa64solib.c (add_to_solist): Ditto.
+       * pa64solib.c (read_dld_descriptor): Ditto.
+       * pa64solib.h (pa64_solib_add): Ditto.
+       * solib.h (solib_add): Ditto.
+       * somsolib.h (som_solib_add): Ditto.
+       * config/i386/tm-cygwin.h (child_solib_add): Ditto.
+
+       * coff-solib.c (coff_solib_add):  If readsyms is zero don't read
+       symbols but do any other needed work for shared libs.
+       * irix5-nat.c: Ditto.
+       * osfsolib.c (solib_add): Ditto.
+       * solib.c (solib_add): Ditto.
+       * win32-nat.c (child_solib_add): Ditto.
+       * xcoffsolib.c (solib_add): Ditto.
+
+       * irix5-nat.c (sharedlibrary_command): Pass 1 as readsyms to
+       solib_add to force reading of shared library symbols.
+       * osfsolib.c (sharedlibrary_command;): Ditto.
+       * pa64solib.c (pa64_solib_sharedlibrary_command): Ditto.
+       * solib.c (sharedlibrary_command): Ditto.
+       * somsolib.c (som_solib_sharedlibrary_command): Ditto.
+       * xcoffsolib.c (sharedlibrary_command): Ditto.
+
+       * coff-solib.c (coff_solib_create_inferior_hook): Call solib_add
+       unconditionally with auto_solib_add.
+       * irix5-nat.c (solib_create_inferior_hook): Ditto.
+       * osfsolib.c (solib_create_inferior_hook): Ditto.
+       * solib.c (solib_create_inferior_hook): Ditto.
+       * solib-osf.c (osf_solib_create_inferior_hook): Ditto.
+       * solib-svr4.c (enable_break): Ditto.
+       * solib-sunos.c (sunos_solib_create_inferior_hook): Ditto.
+
+       * corelow.c (solib_add_stub): Add auto_solib_add to args passed
+       via SOLIB_ADD.
+       * sol-thread.c (sol_thread_attach): Ditto.
+       * config/rs6000/nm-rs6000.h (SOLIB_ADD): Ditto.
+
+       * infcmd.c (attach_command): Remove auto_solib_add decl.
+       Call SOLIB_ADD directly with auto_solib_add.
+       * infrun.c (handle_inferior_event): Ditto.
+
+       * coff-solib.h (SOLIB_ADD): Add readsyms arg.
+       * pa64solib.h (SOLIB_ADD): Ditto.
+       * solib.h (SOLIB_ADD): Ditto.
+       * somsolib.h (SOLIB_ADD): Ditto.
+       * config/i386/tm-cygwin.h (SOLIB_ADD): Ditto.
+
+       * fork-child.c (clone_and_follow_inferior): Remove unused
+       auto_solib_add decl.
+
+       * pa64solib.c (pa64_solib_add): Call add_to_solist with readsyms.
+       (read_dld_descriptor): Ditto.
+       (pa64_solib_add): Call read_dld_descriptor with readsyms.
+       (pa64_solib_in_dynamic_linker): Ditto.
+
+       * corelow.c (symfile.h): Need this for auto_solib_add declaration.
+       * sol-thread.c (symfile.h): Ditto.
+
+2001-10-31  Andrew Cagney  <ac131313@redhat.com>
+
+       * s390-nat.c (s390_remove_watchpoint): Use xfree.
+       (s390_insert_watchpoint): Use xmalloc.
+
+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.
This page took 0.034363 seconds and 4 git commands to generate.