+
+ * README: Mention problems with HP/UX.
+
+
+
+ * 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.
+
+
+ * symtab.c (lookup_block_symbol): Break out of linear search
+ if we're past the range of possible matches.
+
+
+ * 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.
+
+
+ * symtab.c (lookup_block_symbol): Update comment.
+
+
+ * 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.
+
+
+ * valarith.c (value_sub): Don't pass a raw type to
+ value_from_pointer, it has to go through check_typedef first.
+
+
+ * gdbarch.sh (fallbackdefault): Set to one when predefault is
+ empty.
+ * gdbarch.h: Regenerate.
+
+
+ * 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.
+
+
+ * 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.
+
+
+ S/390 31 & 64 bit target and GNU/Linux native support.
+ * 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.
+
+
+ * gdbarch.sh: Fixed CALL_DUMMY_BREAKPOINT_OFFSET to check
+ CALL_DUMMY_BREAKPOINT_OFFSET_P.
+ * gdbarch.c: Regenerate.
+
+
+ * thread-db.c: Fix a few formatting mistakes.
+
+
+ * win32-nat.c (safe_symbol_file_add_stub): Properly initialize linked
+ list pointer to beginning rather than one beyond beginning.
+
+
+ * 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.
+
+
+ * 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.
+
+
+ * printcmd.c (print_frame_args): Move symbol iteration explicitly
+ inside the func != NULL block.
+
+
+ * MAINTAINERS (Misc): Add Ian Roxborough as tcl/, tk/ and itcl/
+ maintainer.
+
+
+ * 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.
+
+
+ * 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.
+
+
+ * symtab.c (lookup_symtab): Removed.
+ (lookup_symtab_1): Renamed to lookup_symtab.
+
+
+ * 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.
+
+
+ * mn10300-tdep.c (mn10300_analyze_prologue): Doc fixes.
+
+
+ * varobj.c (cplus_value_of_child): Deal with a failure
+ to dereference a pointer object.
+
+
+ * 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.
+
+
+ * MAINTAINERS (powerpc, SCO/Unixware, Solaris/x86): Remove my
+ entries.
+
+
+ * config/alpha/tm-fbsd.h (FRAME_CHAIN_VALID): Define.
+
+
+ * main.c (enable_external_editor): Don't declare.
+ (captured_main): Don't set enable_external_editor.
+
+
+ * 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.
+
+
+ * Makefile.in (mipsread.o): Remove old dependency on partial-stab.h.
+
+
+ * 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.
+
+
+ * infcmd.c (do_registers_info): Delete code dumping large
+ registers. Handled by val_print.
+
+
+ * 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.
+
* cli/cli-decode.c (add_set_boolean_cmd): Define.