+2001-06-07 Andrew Cagney <ac131313@redhat.com>
+
+ * MAINTAINERS (Write After Approval): Note the entry criteria.
+
+2001-06-07 Jim Blandy <jimb@redhat.com>
+
+ * gdbarch.sh: Make sure that '[' doesn't interpret interesting
+ variable values as operators.
+
+2001-06-07 Keith Seitz <keiths@redhat.com>
+
+ * gdb-events.sh: Fix quote escaping which was obsoleted
+ by last patch.
+
+2001-06-07 Keith Seitz <keiths@redhat.com>
+
+ * gdb-events.sh: Make if statements and tests
+ a little more portable.
+ Don't use shell's echo command to put strings containing
+ escaped characeters into a file -- different flavors of /bin/sh
+ require differnt levels of escaping. Use cat <<EOF instead.
+ Our internal field separator is a colon. Change all
+ commands which assume it is a space.
+
+2001-06-06 Mark Kettenis <kettenis@gnu.org>
+
+ * lin-lwp.c (struct lwp_info): Add member `resumed'.
+ (iterate_over_lwps): Make sure we can handle CALLBACK deleting the
+ LWP it's called for.
+ (lin_lwp_attach): Mark LWP as resumed to make sure the fake
+ SIGSTOP is reported.
+ (resume_clear_callback): New function.
+ (resume_set_callback): New function.
+ (lin_lwp_resume): Mark all LWP's that we're going to resume as
+ resumed, and unmark all others.
+ (status_callback): Only report a pending wait status if we pretend
+ that LP has been resumed.
+ (resumed_callback): New function.
+ (lin_lwp_wait): Add assertions to check that LWP's are properly
+ marked as resumed. Partially revert 2001-05-25 patch by Michael
+ Snyder: do not resume all threads. Add comment explaining the
+ problems associated with this bit of code.
+
+2001-06-07 Keith Seitz <keiths@redhat.com>
+
+ * MAINTAINTERS: Syd Polk is stepping down from
+ maintaining libgui. I am replacing him.
+
+2001-06-07 Eli Zaretskii <elis@is.elta.co.il>
+
+ * config/mips/tm-irix6.h: New file.
+
+ * config/mips/irix6.mh: New file.
+
+ * config/mips/irix6.mt: New file.
+
+ * config/mips/xm-irix6.h: New file.
+
+ * config/mips/nm-irix6.h: New file.
+
+ * mips-tdep.c (mips_gdbarch_init) <MIPS_ABI_N32>: Set up the
+ disassembler info in tm_print_insn_info as appropriate for the N32
+ ABI. Force N32 ABI to be the default if the CPU is R8000 or
+ R10000.
+
+ * configure.tgt (mips*-sgi-irix6*): Map to irix6.
+
+ * configure.host (mips*-sgi-irix6*): Ditto.
+
+2001-06-07 Andrew Cagney <ac131313@redhat.com>
+
+ * gnu-v3-abi.c: Include "gdb_assert.h".
+ (build_gdb_vtable_type): Replace abort() with gdb_assert().
+
+2001-06-06 Jim Blandy <jimb@redhat.com>
+
+ * cp-abi.h: Rearrange code to put documentation comments above the
+ functions we export. The actual function table itself simply
+ refers to those functions. Minor doc fixes.
+
+ * gdbarch.sh: Changes to effect the following:
+ * gdbarch.c (initialize_non_multiarch): New function.
+ * gdbarch.h (initialize_non_multiarch): New declaration.
+ * arch-utils.c (initialize_current_architecture): For
+ non-multiarch configurations, call initialize_non_multiarch.
+
+2001-06-06 Andrew Cagney <ac131313@redhat.com>
+
+ * symfile.c (compare_psymbols): Replace PTR with void*. Delete
+ declaration.
+ (compare_symbols): Ditto.
+
+2001-06-06 Jonathan Larmour <jlarmour@redhat.com>
+
+ * arch-utils.c (generic_prepare_to_proceed): Allow for having
+ stopped due to a Ctrl-C as well as breakpoints.
+
+ * hppa-tdep.c (hppa_prepare_to_proceed): Add FIXME as this may not
+ support thread switches after Ctrl-C.
+ * lin-lwp.c (lin_lwp_prepare_to_proceed): Ditto.
+ * linux-thread.c (linuxthreads_prepare_to_proceed): Ditto.
+ * m3-nat.c (mach3_prepare_to_proceed): Ditto.
+
+2001-06-06 Jim Blandy <jimb@redhat.com>
+
+ * gdbarch.sh, gdbarch.c: Revert change of 2001-06-01; all
+ per-architecture data should be registered at initialization time,
+ before any gdbarch objects get used, so the generality is
+ unnecessary.
+
+2001-06-06 Keith Seitz <keiths@redhat.com>
+
+ * gdb-events.sh (function_list): Add tracepoint_create,
+ tracepoint_delete, and tracepoint_modify events.
+ * gdb-events.c: Regenerated.
+ * gdb-events.h: Regenerated.
+
+2001-06-06 Keith Seitz <keiths@redhat.com>
+
+ * gdb-events.sh: Update copyrights.
+ Change free to xfree.
+ * gdb-events.c: Regenerated.
+ * gdb-events.h: Regenerated.
+
+2001-06-06 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * source.c (mod_path, openp): Use #ifdef HAVE_DOS_BASED_FILE_SYSTEM
+ instead of #if HAVE_DOS_BASED_FILE_SYSTEM.
+ * completer.c: Ditto.
+ * cli/cli-cmds.c (cd_command): Ditto.
+
+2001-06-04 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * mips-tdep.c (show_mipsfpu_command): Remove unused variable msg.
+ (mips_set_processor_type_command): Remove unused variable j.
+ (mips_breakpoint_from_pc): Declare breakpoint instruction
+ sequences as unsigned char, to avoid compiler warnings.
+
+ * source.c (mod_path, openp): Use HAVE_DOS_BASED_FILE_SYSTEM
+ instead of system-specific define's like _WIN32 and __MSDOS__.
+ Use IS_DIR_SEPARATOR and IS_ABSOLUTE_PATH instead of SLASH_P and
+ ROOTED_P.
+ (top-level): #include "filenames.h".
+
+ * solib.c (solib_open): Use IS_DIR_SEPARATOR and IS_ABSOLUTE_PATH
+ instead of SLASH_CHAR, ROOTED_P and SLASH_P.
+ (top-level): #include "filenames.h".
+
+ * defs.h (SLASH_P, SLASH_CHAR, ROOTED_P): Remove definitions.
+ (SLASH_STRING): Define only for _WIN32.
+
+ * completer.c: Use HAVE_DOS_BASED_FILE_SYSTEM instead of
+ __MSDOS_.
+
+ * cli/cli-cmds.c (cd_command): Use IS_DIR_SEPARATOR and
+ IS_ABSOLUTE_PATH instead of SLASH_P and ROOTED_P. Replace
+ system-specific ifdefs with HAVE_DOS_BASED_FILE_SYSTEM.
+ (top-level): #include "filenames.h".
+
+ * go32-nat.c (go32_wait): Change the return value to ptid_t.
+
+ * config/djgpp/fnchange.lst: Add two new files in the
+ gdb/testsuite/gdb.c++/ directory to the remapped names.
+
+ * config/djgpp/djconfig.sh (lt_cv_sys_max_cmd_len): Set to 12KB.
+
+2001-06-01 Jim Blandy <jimb@redhat.com>
+
+ Expand the gdbarch per-architecture data vector as needed, rather
+ than requiring that all per-architecture data be registered before
+ the first gdbarch object is allocated.
+ * gdbarch.sh: Changes to effect the following:
+ * gdbarch.c (alloc_gdbarch_data, init_gdbarch_data): Delete
+ declarations and definitions.
+ (check_gdbarch_data): New function, and declaration.
+ (gdbarch_alloc): Don't call alloc_gdbarch_data; leaving the fields
+ zero is good enough.
+ (free_gdbarch_data): Tolerate a null data pointer. Free only
+ those data items gdbarch->data actually has allocated.
+ (set_gdbarch_data, gdbarch_data): Call check_gdbarch_data.
+ (gdbarch_update_p): No need to call init_gdbarch_data.
+
+2001-06-01 Kevin Buettner <kevinb@redhat.com>
+
+ * ia64-tdep.c (is_float_or_hfa_type_recurse): Call check_typedef()
+ on types that we wish to recurse on.
+ (slot_alignment_is_next_even): New function.
+ (ia64_push_arguments): Call slot_alignment_is_next_even() to
+ examine the type in order to decide if it's necessary to skip
+ an odd slot.
+
+2001-06-01 Michael Snyder <msnyder@redhat.com>
+
+ * thread.c (delete_step_resume_breakpoint): New function.
+ Maintain internal consistency of the thread list while deleting
+ a step_resume_breakpoint.
+ * gdbthread.h (delete_step_resume_breakpoint): Export.
+ * breakpoint.c (bpstat_find_step_resume_breakpoint):
+ Make thread-aware: don't return a step_resume_breakpoint
+ for the wrong thread.
+ * infrun.c (wait_for_inferior): Call delete_step_resume_breakpoint
+ instead of delete_breakpoint_current_contents.
+ (fetch_inferior_event): Ditto.
+ (handle_inferior_event): Call delete_step_resume_breakpoint
+ instead of delete_breakpoint.
+ * infrun.c (handle_inferior_event): After singlestepping over a
+ thread-specific breakpoint, use currently_stepping() to decide
+ whether to step or continue.
+
+2001-06-01 Jim Blandy <jimb@redhat.com>
+
+ * gnu-v3-abi.c (gnu_v3_abi_ops, vtable_type_gdbarch_data): Make
+ these static --- there's no reason other files should use these.
+
+ * partial-stab.h (case N_FUN: case 'f':, case N_FUN: case 'F':)
+ Fix memory leak.
+
+ * partial-stab.h: New complaint: function_outside_compilation_unit.
+ (case N_FUN: case 'f':, case N_FUN: case 'F':): If pst is zero,
+ complain, and don't try to set pst's start address.
+
+2001-05-31 Kevin Buettner <kevinb@redhat.com>
+
+ * ia64-linux-tdep.c (IA64_LINUX_SIGCONTEXT_OFFSET): Revise to
+ match the location at which the kernel is placing the sigcontext
+ struct.
+
+ * ia64-tdep.c (max_skip_non_prologue_insns): New static global.
+ (refine_prologue_limit): New function.
+ (examine_prologue): Further limit number of instructions
+ scanned by calling refine_prologue_limit(). Revise way in
+ which the end of prologue address is computed for frameless
+ functions.
+
+2001-05-29 Christopher Faylor <cgf@redhat.com>
+
+ * partial-stab.h: Revert previous patch.
+
+2001-05-29 Christopher Faylor <cgf@redhat.com>
+
+ * partial-stab.h: Consistently guard against pst being NULL.
+
+2001-05-29 Alexandre Oliva <aoliva@redhat.com>
+
+ * symfile.c (compare_psymbols, compare_symbols): Declare using
+ PTR, as in the definition.
+ * minsyms.c (compare_minimal_symbols): Likewise.
+ * coffread.c (find_targ_sec): Likewise.
+ * elfread.c (free_elfinfo, elf_locate_sections): Likewise.
+ * mipsread.c (alphacoff_locate_sections): Likewise.
+ * mdebugread.c (compare_blocks): Likewise.
+
+2001-05-25 Nick Duffek <nsd@redhat.com>
+
+ * solib.c (update_solib_list): Move target_resize_to_sections()
+ into solib_map_sections() loop.
+ (info_sharedlibrary_command): Try bfd_arch_bits_per_address() if
+ bfd_get_arch_size() fails.
+
+2001-05-25 Nick Duffek <nsd@redhat.com>
+
+ * Makefile.in (osfsolib.c, osfsolib.o): Rename to solib-osf.c and
+ solib-osf.o.
+ * config/alpha/alpha-osf1.mh (NATDEPFILES): Replace osfsolib.o
+ with solib-osf.o and solib.o.
+ * config/alpha/alpha-osf2.mh: Likewise.
+ * config/alpha/alpha-osf3.mh: Likewise.
+ * solib-osf.c: New file, renamed and largely rewritten from
+ osfsolib.c.
+
+2001-05-25 Michael Snyder <msnyder@redhat.com>
+
+ * lin-lwp.c (lin_lwp_attach_lwp): Call stop_wait_callback,
+ to consume the SIGSTOP generated by PTRACE_ATTACH.
+ (stop_wait_callback): If a SIGTRAP or a SIGINT event is consumed,
+ try again to get the SIGSTOP event.
+ (lin_lwp_wait): Resume all threads when ignoring a signal.
+ This will insure that newly attached threads get resumed.
+ * lin-lwp.c (stop_wait_callback): Discard redundant SIGINT events.
+ * remote.c (remote_write_bytes): Update 'p' packet pointer.
+
+2001-05-25 Jim Blandy <jimb@redhat.com>
+
+ * gnu-v2-abi.c (gnuv2_virtual_fn_field): There's no need to clear
+ VALUE_POINTED_TO_OFFSET here; if value_cast doesn't return a
+ useful value, then we should fix that instead.
+
+2001-05-24 Nick Duffek <nsd@redhat.com>
+
+ * solist.h (struct so_list): Document the requirement that
+ current_sos initialize some fields to 0.
+
+2001-05-24 Mark Kettenis <kettenis@gnu.org>
+
+ * gnu-nat.c: Include <ctype.h>.
+ (gnu_pid_to_exec_file): Add PID parameter.
+ (set_sig_thread_cmd): Use PIDGET on return value from
+ thread_id_to_pid.
+ (proc_string): Use MERGEPID to construct argument to
+ pid_to_thread_id.
+
+2001-05-22 Kevin Buettner <kevinb@redhat.com>
+
+ * breakpoint.c (breakpoint_address_is_meaningful): New function.
+ (check_duplicates): Don't compare non-meaningful addresses.
+
+2001-05-22 Michael Snyder <msnyder@redhat.com>
+
+ * thread-db.c: Allow for defunct zombie threads.
+ (attach_thread): Do not attempt to attach zombie thread.
+ (thread_db_thread_alive): Return false for defunct zombie thread.
+ (find_new_threads_callback): Don't add defunct zombie thread to list.
+
+2001-05-22 Jim Blandy <jimb@redhat.com>
+
+ Add support for the GNU V3 C++ ABI.
+ (Includes changes by Dan Berlin.)
+
+ * gnu-v3-abi.c: New file.
+ * minsyms.c: #include "value.h" and "cp-abi.h".
+ (install_minimal_symbols): Check the minimal symbol table for
+ symbols that look mangled in the V3 style, and select the V3 ABI
+ if we find any.
+ * Makefile.in (SFILES): Add gnu-v3-abi.c.
+ (COMMON_OBS): Add gnu-v3-abi.o.
+ (gnu-v3-abi.o): Add new rule.
+ (minsyms.o): Depend on $(cp_abi_h) and $(value_h).
+
+2001-05-21 Jim Blandy <jimb@redhat.com>
+
+ * values.c (value_primitive_field): If we're extracting a base
+ class, then the type of the result should be the base class being
+ extracted, not the type of which it is a base class.
+
+ * value.h (struct value): Doc fix, and rearrange members to place
+ them near their explanations.
+
+2001-05-21 Michael Snyder <msnyder@redhat.com>
+
+ * remote.c (remote_async_wait): Added new variable fieldsize.
+ Add fieldsize (return value of hex2bin) to string pointer p.
+
+2001-05-20 Stephane Carrez <Stephane.Carrez@worldnet.fr>
+
+ * m68hc11-tdep.c (m68hc11_pop_frame): Fix stack pointer computation.
+ (m68hc11_analyze_instruction): Update the pc correctly.
+ (m68hc11_guess_from_prologue): Take into account the stack correction
+ for the saving address.
+
+2001-05-07 Daniel Berlin <dan@cgsoftware.com>
+
+ Changes by Jim Ingham:
+
+ * values.c (value_change_enclosing_type): New function. If the
+ new enclosing type is larger than the old one, we need to allocate
+ more space.
+ * value.h: Add value_change_enclosing_type prototype.
+ * valops.c (value_cast): Use it.
+ (value_assign): Use it.
+ (value_addr): Use it.
+ (value_ind): Use it.
+ (value_full_object): Use it.
+
+2001-05-07 Daniel Berlin <dan@cgsoftware.com>
+
+ * values.c (value_static_field): Handle static fields that have a
+ constant value.
+
+2001-05-17 Michael Snyder <msnyder@redhat.com>
+
+ * blockframe.c (create_new_frame): Zero all the fields via memset,
+ rather than zeroing them one by one.
+
+2001-05-17 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * top.c (user_args): Remove unused declaration.
+
+2001-05-16 Michael Snyder <msnyder@redhat.com>
+
+ * infcmd.c (do_registers_info): Move alloca outside of loop.
+
+2001-05-15 John S Kallal <jskallal@home.com>
+
+ * remote.c (remote_wait): Added new variable fieldsize.
+ Add fieldsize (return value of hex2bin) to string pointer p.
+
2001-05-15 Mark Kettenis <kettenis@gnu.org>
* sparc-tdep.c (sparc_gdbarch_init): Get the architecture from