+2001-06-09 Andrew Cagney <ac131313@redhat.com>
+
+ * Makefile.in (gdbcmd_h): Add ui_out_h.
+ (breakpoint.o, infcmd.o, main.o, printcmd.o, stack.o): Ditto.
+ (thread.o, top.o): Ditto.
+
+ * ui-out.h (table_begin_ftype): Make string parameters constant.
+ (table_header_ftype): Ditto.
+ (field_int_ftype): Ditto.
+ (field_skip_ftype): Ditto.
+ (field_string_ftype): Ditto.
+ (field_fmt_ftype): Ditto.
+ (text_ftype): Ditto.
+ (message_ftype): Ditto.
+ * cli-out.c (cli_table_begin): Ditto.
+ (cli_table_header): Ditto.
+ (cli_field_int): Ditto.
+ (cli_field_skip): Ditto.
+ (cli_field_string): Ditto.
+ (cli_field_fmt): Ditto.
+ (cli_text): Ditto.
+ (cli_message): Ditto.
+ (out_field_fmt): Ditto.
+ * ui-out.c (default_table_begin): Ditto.
+ (default_table_header): Ditto.
+ (default_field_int): Ditto.
+ (default_field_skip): Ditto.
+ (default_field_string): Ditto.
+ (default_field_fmt): Ditto.
+ (default_text): Ditto.
+ (default_message): Ditto.
+
+2001-06-08 Michael Snyder <msnyder@redhat.com>
+
+ * breakpoint.c (delete_breakpoint): Pass mark_inserted to
+ remove_breakpoint, so that the subsequent test for
+ bpt->inserted will succeed, and duplicates will be fixed up.
+
+2001-06-08 Per Bothner <per@bothner.com>
+
+ * dwarf2read.c (set_cu_language): Handle DW_LANG_Java.
+
+2001-06-07 Keith Seitz <keiths@redhat.com>
+
+ * tracepoint.c (tracepoint_opertation): Add ui event
+ notifications.
+ (trace_pass_command): Ditto.
+
+2001-06-07 Andrew Cagney <ac131313@redhat.com>
+
+ * MAINTAINERS (Write After Approval): Note the entry criteria.
+ (HP/PA): Jeff Law stepped down
+
+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
+ info.bfd_arch_info.
+
+2001-05-14 Kevin Buettner <kevinb@redhat.com>
+
+ * lin-lwp.c (detach_callback, lin_lwp_wait, lin_lwp_pid_to_str):
+ Adjust format strings for printing LWPs to account for the fact
+ that the type returned by GET_LWP() is now a long instead of an
+ int.
+
+2001-05-14 Kevin Buettner <kevinb@redhat.com>
+
+ * inferior.h (null_ptid, minus_one_ptid): New variable declarations.
+ (ptid_build, pid_to_ptid, ptid_get_pid, ptid_get_lwp)
+ (ptid_get_tid, ptid_equal): New function declarations.
+ * infrun.c (null_ptid, minus_one_ptid): New variables.
+ (ptid_build, pid_to_ptid, ptid_get_pid, ptid_get_lwp)
+ (ptid_get_tid, ptid_equal): New functions.
+ (_initialize_infrun): Initialize null_ptid, minus_one_ptid,
+ inferior_ptid, and target_last_wait_ptid.
+
+ * defs.h (ptid_t): Redefine to be a struct rather than an int.
+ (pid_to_ptid, null_ptid, ptid_equal): Delete these macros.
+ (PIDGET, TIDGET, MERGEPID): Redefine these macros using the
+ new ptid accessors and constructor.
+
+ * config/i386/tm-i386v42mp.h (PIDGET, TIDGET, LIDGET, MERGEPID,
+ MKLID, MKTID, ISTID): Provide new definitions for these macros.
+ The old macros are retained, but disabled via #if 0 in order
+ to aid in future restructuring. See FIXME.
+
+ * arm-linux-nat.c (PIDGET, TIDGET): Delete macro definitions.
+ * i386-linux-nat.c (PIDGET, TIDGET): Likewise.
+ * infptrace.c (PIDGET, TIDGET): Likewise.
+ * lin-lwp.c (PIDGET0, PIDGET, TIDGET, MERGEPID): Likewise.
+ * lin-thread.c (PIDGET0, PIDGET, TIDGET, MERGEPID): Likewise.
+ * proc-service.c (MERGEPID): Likewise.
+ * procfs.c (PIDGET, TIDGET, MERGEPID): Likewise.
+ * thread-db.c (PIDGET0, PIDGET, TIDGET, MERGEPID): Likewise.
+ * config/nm-linux.h (PIDGET0, PIDGET, TIDGET, MERGEPID): Likewise.
+ * config/i386/tm-i386sol2.h (PIDGET0, PIDGET, TIDGET, MERGEPID):
+ Likewise.
+ * config/sparc/tm-sun4sol2.h (PIDGET0, PIDGET, TIDGET, MERGEPID):
+ Likewise.
+
+ * lin-lwp.c (THREAD_FLAG): Delete macro definition.
+ (GET_LWP): Redefine in terms of ptid_get_lwp().
+ (GET_PID): Redefine in terms of ptid_get_pid().
+ (is_lwp): Redefine without the need for THREAD_FLAG.
+ (BUILD_LWP): Redefine in terms of ptid_build().
+ * lin-thread.c (THREAD_FLAG): Delete macro definition.
+ (GET_LWP): Redefine in terms of ptid_get_lwp().
+ (GET_PID): Redefine in terms of ptid_get_pid().
+ (GET_THREAD): Redefine in terms of ptid_get_tid().
+ (BUILD_THREAD, BUILD_LWP): Redefine in terms of ptid_build().
+ (is_lwp, is_thread): Redefine.
+ (linux_child_wait, check_all_signal_numbers)
+ (linuxthreads_discard_global_state, attach_thread): Declare these
+ functions to squash warnings about missing declarations.
+ * sol-thread.c (THREAD_FLAG): Delete macro definition.
+ (GET_PID): Redefine in terms of ptid_get_pid().
+ (GET_LWP): Redefine in terms of ptid_get_lwp().
+ (GET_THREAD): Redefine in terms of ptid_get_tid().
+ (BUILD_THREAD, BUILD_LWP): Redefine in terms of ptid_build().
+ (is_lwp, is_thread): Redefine.
+ * thread-db.c (THREAD_FLAG): Delete macro definition.
+ (GET_PID): Redefine in terms of ptid_get_pid().
+ (GET_LWP): Redefine in terms of ptid_get_lwp().
+ (GET_THREAD): Redefine in terms of ptid_get_tid().
+ (BUILD_THREAD, BUILD_LWP): Redefine in terms of ptid_build().
+ (is_lwp, is_thread): Redefine.
+
+ * corelow.c (add_to_thread_list, get_core_register_section):
+ Eliminate hacks needed to prevent regressions when inferior_ptid
+ wasn't wide enough to hold the core file thread id in the pid
+ component of inferior_ptid.
+
+2001-05-14 Michael Snyder <msnyder@redhat.com>
+
+ * remote.c (hex2bin): Make first argument const.
+ Require explicit count, don't accept null-terminated str.
+ (remote_resume, remote_async_resume): White space fix-up.
+ (remote_write_bytes): Set nr_bytes to return value of bin2hex.
+
+2001-05-13 Mark Kettenis <kettenis@gnu.org>
+
+ * symtab.c (lookup_symtab_1): Use lbasename (NAME) instead of
+ basename (NAME). The FreeBSD basename returns a pointer to a
+ static buffer, even if it's simply returning a string identical to
+ its argument.
+ (lookup_partial_symtab): Likewise.
+
+2001-05-14 Michael Snyder <msnyder@redhat.com>
+
+ * solib.c, solib.h: Add comment for function no_shared_libraries.
+
+2001-05-14 Kevin Buettner <kevinb@redhat.com>
+
+ * solib.h (no_shared_libraries): Make declaration match definition
+ in solib.c.
+
+2001-05-14 Andrew Cagney <ac131313@redhat.com>
+
+ * remote.c (remote_write_bytes): Set nr_bytes before returning it.
+ * solib.h (no_shared_libraries): Declare.
+
+2001-05-12 Andrew Cagney <ac131313@redhat.com>
+
+ * gdbarch.sh (struct gdbarch_info): Delete field bfd_architecture.
+ (gdbarch_update_p): Rewrite logic filling in INFO struct. Use
+ user specified values when available.
+ * rs6000-tdep.c (rs6000_gdbarch_init): Update. Get the
+ architecture from info.bfd_arch_info.
+ * gdbarch.c, gdbarch.h: Regenerate.
+
+2001-05-12 Fernando Nasser <fnasser@redhat.com>
+
+ * remote-e7000.c (e7000_open): Check for bad baud rate.
+ * remote-st.c (st2000_open): Ditto.
+
+2001-05-11 Jim Blandy <jimb@redhat.com>
+
+ * thread.c (do_captured_list_thread_ids): Use ui_out_tuple_begin
+ and ui_out_tuple_end instead of ui_out_list_begin and
+ ui_out_list_end.
+
+ * Makefile.in (gnu-v2-abi.o): Add $(demangle_h) to list of
+ dependencies. Reorder dependencies to match #includes in file,
+ for easier verification.
+
+Fri May 11 13:32:50 2001 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * breakpoint.c: Replace ui_out_list_begin, ui_out_list_end and
+ make_cleanup_ui_out_list_end with ui_out_tuple_begin,
+ ui_out_tuple_end and make_cleanup_ui_out_tuple_begin_end.
+ * cli/cli-setshow.c: Ditto.
+ * printcmd.c: Ditto.
+ * stack.c: Ditto.
+
+ * ui-out.h (enum ui_out_type): Fix tipo - tupple -> tuple.
+ * ui-out.c (ui_out_list_begin): Delete ``lstid'' parameter.
+ (ui_out_tuple_begin): New function.
+ (ui_out_tuple_end): New function.
+ (ui_out_tuple_begin_end): New function.
+ (make_cleanup_ui_out_list_begin_end): Replace
+ make_cleanup_ui_out_list_end function.
+ * ui-out.h (ui_out_list_begin): Update declaration.
+ (make_cleanup_ui_out_list_begin_end): Replace
+ make_cleanup_ui_out_list_end declaration.
+ (ui_out_tuple_begin, ui_out_tuple_end): Declare.
+ (ui_out_tuple_begin_end): Declare.
+
+2001-05-11 Jim Blandy <jimb@redhat.com>
+
+ * gnu-v2-abi.c: Don't #include "gdb_regex.h". We don't use it.
+
+2001-05-11 Andrew Cagney <ac131313@redhat.com>
+
+ From 2001-03-26 Rodney Brown <RodneyBrown@mynd.com>
+ * config/pa/tm-hppa.h: Remove trigraph.
+ * hp-symtab-read.c (hpread_type_translate): Provide return value.
+ (hpread_read_struct_type): Remove trigraph. Add parameter in
+ `warning'.
+ (hpread_read_array_type): Provide return value.
+ (hpread_type_lookup): Avoid ambiguous `else'. Provide return
+ value.
+ * hppa-tdep.c (initialize_hp_cxx_exception_support): Remove
+ trigraph.
+
+2001-05-11 Jim Blandy <jimb@redhat.com>
+
+ * mips-tdep.c (mips_store_return_value,
+ mips_extract_return_value): Pass arguments to
+ return_value_location in the proper order.
+
+2001-05-11 Andrew Cagney <ac131313@redhat.com>
+
+ * Makefile.in (VERSION): Delete. Moved to file ``version.in''.
+ (version.c): Depends on file ``version.in''. Extract version
+ number from ``version.in'' file.
+ (clean mostlyclean): Update.
+ * version.in: New file.
+ * NEWS: Update.
+
+2001-05-11 Kevin Buettner <kevinb@redhat.com>
+
+ * breakpoint.c (set_raw_breakpoint): Add new parameter
+ representing the breakpoint's type. Adjust all callers.
+ (create_longjmp_breakpoint, create_temp_exception_breakpoint)
+ (create_thread_event_breakpoint): Don't test for zero return
+ value from set_raw_breakpoint(). It can never be zero.
+ (create_exception_catchpoint, watch_command_1): Move logic
+ which calculates the breakpoint type prior to the call to
+ set_raw_breakpoint().
+
+2001-05-11 Fernando Nasser <fnasser@redhat.com>
+
+ * ser-unix.c (rate_to_code): Issue warning if baud rate is invalid.
+ (hardwire_setbaudrate): Set errno to EINVAL and return with error
+ if the conversion of the baud rate to code fails.
+
+2001-05-10 Andrew Cagney <ac131313@redhat.com>
+
+ * ui-out.h (make_cleanup_ui_out_begin_end): Declare.
+ * ui-out.c (struct ui_out_end_cleanup_data): Define.
+ (do_cleanup_end): New function. Replace do_list_end.
+ (make_cleanup_ui_out_end): New function.
+ (make_cleanup_ui_out_begin_end): New function.
+ (make_cleanup_ui_out_list_end): Use make_cleanup_ui_out_end.
+
+2001-05-10 Elena Zannoni <ezannoni@redhat.com>
+
+ * MAINTAINERS: Declare xcoffread.c open to all maintainers,
+ and make Kevin Buettner (kevinb@redhat.com) the reference person.
+
+2001-05-10 Elena Zannoni <ezannoni@redhat.com>
+
+ * proc-api.c (ioctl_with_trace): Fix uninitialized variable.
+
+2001-05-10 Fernando Nasser <fnasser@redhat.com>
+
+ * MAINTAINERS: Add testsuite subdirectory co-maintainers.
+
+Thu May 10 16:26:47 2001 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * Makefile.in (mi-main.o): Compile with -Werror.
+
+2001-05-10 Michael Snyder <msnyder@redhat.com>
+
+ * remote.c (remote_open_1): Call no_shared_libraries, so that
+ symbols for shared libraries can be reloaded per session.
+ (remote_async_open_1): Ditto.
+ * remote.c (bin2hex, hex2bin): New functions. Factor out these
+ two conversions which are coded for repeatedly in this module.
+ (remote_threads_extra_info, remote_wait, remote_async_wait,
+ store_register_using_P, remote_store_registers, remote_write_bytes,
+ remote_read_bytes, remote_rcmd): Use bin2hex and hex2bin instead
+ of coding the conversions inline.
+ (fromhex): Not exported, change from extern to static.
+
+2001-05-10 Andrew Cagney <ac131313@redhat.com>
+
+ * arch-utils.c (initialize_current_architecture): Delete obsolete
+ ``info architecture'' command.
+ (info_architecture): Delete function.
+
+2001-05-10 Andrew Cagney <ac131313@redhat.com>
+
+ * TODO (5.1, 5.2): Update.
+
+2001-05-09 Andrew Cagney <ac131313@redhat.com>
+
+ * MAINTAINERS: Jim Ingham is no longer maintaining Arm related
+ stuff.
+
+2001-05-10 Keith Seitz <keiths@cygnus.com>
+
+ * Makefile.in (SUBDIR_GDBTK_OBS): Add gdbtk-bp.o, gdbtk-register.o
+ and gdbtk-stack.o.
+ (SUBDIR_GDBTK_SRCS): Ditto for the sources.
+ (gdbtk-bp.o): New rule.
+ (gdbtk-register.o): New rule.
+ (gdbtk-stack.o): New rule.
+ (gdbtk-cmds.o): Update dependencies.
+ (gdbtk.o): Ditto.
+ (gdbtk-hooks.o): Ditto.
+ (gdbtk-varobj.o): Ditto.
+
+2001-05-10 Fernando Nasser <fnasser@redhat.com>
+
+ * varobj.c (c_number_of_children): Fix memory leak. Delete unwanted old
+ variables, not just unregister them.
+
+2001-05-10 Fernando Nasser <fnasser@redhat.com>
+
+ * varobj.c (c_number_of_children): Check for target type of void*,
+ not the target type name. Allow dereferencing char*.
+
+2001-05-10 Fernando Nasser <fnasser@redhat.com>
+
+ * symfile.c (symbol_file_add_main_1): New static function.
+ Passes the flags arguments to symbol_file_add() and takes care
+ of any necessary reinitializations.
+ (symbol_file_command): Call symbol_file_add_main_1() instead of
+ symbol_file_add().
+ (symbol_file_add_main): Ditto.
+
+2001-05-09 Kevin Buettner <kevinb@redhat.com>
+
+ * lin-lwp.c (lin_lwp_pid_to_str): Revert inadvertent format
+ string change in 2001-05-03 changes.
+ (lin_lwp_wait): Revert GET_LWP coercion introduced in 2001-05-03
+ changes.
+
+2001-05-09 Kevin Buettner <kevinb@redhat.com>
+
+ * lin-lwp.c (lin_lwp_attach): Use PIDGET() to fetch the pid
+ component from inferior_ptid.
+ (lin_lwp_detach): Use pid_to_ptid() to convert from a pid to a
+ ptid.
+
+2001-05-09 Elena Zannoni <ezannoni@redhat.com>
+
+ * sh3-rom.c (_initialize_sh3_rom): Get rid of specific _WINDOWS
+ conditional for help with connections through parallel ports,
+ given that the actual code for downloading through a parallel port
+ is not conditionalized.
+
+ * sh-tdep.c: Remove WIN32_WCE conditional. The wince sh target is
+ unmaintaned, and probably on its way to obsolescence.
+
+2001-05-09 Mark Kettenis <kettenis@gnu.org>
+
+ * i386-tdep.c (i386_frame_saved_pc): New function.
+ * config/i386/tm-i386.h (FRAME_SAVED_PC): Redefine in terms of
+ i386_frame_saved_pc.
+ (i386_frame_saved_pc): New prototype.
+
+ * i386-tdep.c (i386_register_virtual_type): New function.
+ (i386_register_convertible): New function.
+ * config/i386/tm-i386.h (REGISTER_VIRTUAL_TYPE): Redefine in terms
+ of i386_register_virtual_type.
+ (REGISTER_CONVERTIBLE): Redefine in terms of
+ i386_register_convertible.
+ (i386_register_virtual_type, i386_register_convertible): New
+ prototypes.
+
+2001-05-08 Jim Blandy <jimb@redhat.com>
+
+ * Makefile.in (mn10300-tdep.o): New rule.
+
+ * Makefile.in (gdb_string_h): Define. Use it throughout.
+ Some rules were already using this, even though it isn't defined.
+
+ * Makefile.in (obstack_h, target_h): Define; these are already
+ used elsewhere, but have been expanding to the empty string.
+ (memattr_h): Define; needed by target_h.
+
+ * mn10300-tdep.c (mn10300_extract_return_value): Mark this as
+ static. (This was accidentally omitted from the earlier patch.)
+
+ * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): New function.
+ (mn10300_gdbarch_init): Register it as the architecture's
+ dwarf2_reg_to_regnum method.
+
+ Correct and expand handling of `movm' instruction, and register
+ saves in general.
+ * config/mn10300/tm-mn10300.h (D0_REGNUM, A0_REGNUM, MDRQ_REGNUM,
+ MCRH_REGNUM, MCRL_REGNUM, MCVF_REGNUM): New definitions.
+ (enum movm_register_bits): New enum.
+ * mn10300-tdep.c (set_movm_offsets): Use symbolic names for the
+ bits, not hex literals. Handle the `other', `exreg0', and
+ `exother' bits. Correct handling of `exreg1': it saves r4, r5,
+ r6, and r7, not r2, r3, r4, and r5.
+ (saved_regs_size): New function.
+ (mn10300_frame_chain, mn10300_frame_saved_pc): Use it, instead
+ of computing the same thing inline, incorrectly.
+
+ * mn10300-tdep.c (mn10300_gdbarch_init): We do have a
+ dummy_breakpoint_offset; it's zero.
+
+ * mn10300-tdep.c (mn10300_pop_frame): Split the mn10300-specific
+ stuff out into mn10300_pop_frame_regular, and use
+ generic_pop_current_frame. This lets us share code, and also
+ makes this function's prototype match that expected by gdbarch.
+ Make this function static.
+ (mn10300_pop_frame_regular): New function.
+ (mn10300_gdbarch_init): Register mn10300_pop_frame as the
+ gdbarch's pop_frame method.
+ * config/mn10300/tm-mn10300.h (POP_FRAME): Delete definition.
+ (mn10300_pop_frame): Delete declaration.
+
+ * mn10300-tdep.c (mn10300_saved_pc_after_call,
+ mn10300_extract_return_value,
+ mn10300_extract_struct_value_address, mn10300_store_return_value,
+ mn10300_use_struct_convention, mn10300_breakpoint_from_pc,
+ mn10300_frame_chain, mn10300_skip_prologue,
+ mn10300_push_arguments, mn10300_push_return_address,
+ mn10300_store_struct_return, mn10300_frame_saved_pc,
+ mn10300_init_extra_frame_info, mn10300_frame_init_saved_regs):
+ Make these functions static; they should only be visible to the
+ outside world as gdbarch methods.
+
+ * config/mn10300/tm-mn10300.h (mn10300_find_callers_reg): Delete
+ unused declaration.
+
+ * mn10300-tdep.c (mn10300_gdbarch_init): Put the gdbarch methods
+ in some rational order.
+
+ * mn10300-tdep.c (mn10300_gdbarch_init): Rather than using
+ generic_pc_in_call_dummy, use pc_in_call_dummy_at_entry_point.
+
+ Use gdbarch for most target parameters for the MN10300, rather
+ than the tm-*.h file.
+ * config/mn10300/tm-mn10300.h (MAX_REGISTER_VIRTUAL_SIZE,
+ REGISTER_BYTES, FP_REGNUM, BREAKPOINT_FROM_PC,
+ FUNCTION_START_OFFSET, DECR_PC_AFTER_BREAK, INNER_THAN,
+ SAVED_PC_AFTER_CALL, INIT_EXTRA_FRAME_INFO, FRAME_INIT_SAVED_REGS,
+ FRAME_CHAIN, FRAME_CHAIN_VALID, FRAME_SAVED_PC,
+ EXTRACT_RETURN_VALUE, EXTRACT_STRUCT_VALUE_ADDRESS,
+ STORE_RETURN_VALUE, STORE_STRUCT_RETURN, SKIP_PROLOGUE,
+ FRAME_ARGS_SKIP, FRAME_ARGS_ADDRESS, FRAME_LOCALS_ADDRESS,
+ FRAME_NUM_ARGS, POP_FRAME, USE_GENERIC_DUMMY_FRAMES, CALL_DUMMY,
+ CALL_DUMMY_START_OFFSET, CALL_DUMMY_BREAKPOINT_OFFSET,
+ CALL_DUMMY_LOCATION, FIX_CALL_DUMMY, CALL_DUMMY_ADDRESS,
+ TARGET_READ_FP, PUSH_RETURN_ADDRESS, PUSH_DUMMY_FRAME,
+ SAVE_DUMMY_FRAME_TOS, PUSH_ARGUMENTS, PC_IN_CALL_DUMMY,
+ REG_STRUCT_HAS_ADDR, USE_STRUCT_CONVENTION, GET_SAVED_REGISTER):
+ Delete definitions. We register gdbarch methods for these now.
+ (struct frame_info, struct type, struct value): Delete forward
+ declarations of these types; they're no longer necessary, since we
+ don't have function declarations here any more.
+ * mn10300-tdep.c: #include "arch-utils.h", to get declarations for
+ some default gdbarch methods.
+ (mn10300_store_struct_return): Return void, as expected by
+ gdbarch.
+ (mn10300_init_extra_frame_info): Take initial `fromleaf' argument,
+ as expected by gdbarch.
+ (mn10300_frame_init_saved_regs): Provide dummy definition for
+ this, as required by gdbarch.
+ (mn10300_gdbarch_init): Add mn10300_call_dummy_words, as expected
+ by gdbarch. Register gdbarch methods or values for all the stuff
+ removed from tm-10300.h, listed above.
+
+2001-05-08 Andrew Cagney <ac131313@redhat.com>
+
+ * cli-out.c (cli_begin, cli_end): Replace cli_list_begin and
+ cli_list_end.
+ (cli_ui_out_impl): Update.
+
+ * ui-out.c (default_begin, default_end): Replace
+ default_list_begin and default_list_end.
+ (default_ui_out_impl): Update.
+ (uo_begin, uo_end): Replace ou_list_begin and uo_list_end.
+ (ui_out_begin, ui_out_end): Replace ui_out_list_begin and
+ ui_out_list_end.
+ (ui_out_list_begin, ui_out_list_end): New. Compatibility
+ functions.
+ (struct ui_out_level): Add field type.
+ (push_level, pop_level): Update. Add type parameter.
+
+ * ui-out.h (enum ui_out_type): Declare.
+ (ui_out_begin, ui_out_end): Declare.
+ (ui_out_begin_ftype, ui_out_end_ftype): Replace list_begin_ftype
+ and list_end_ftype.
+ (struct ui_out_impl): Update.
+
+2001-05-07 Andrew Cagney <ac131313@redhat.com>
+
+ * ui-out.h (list_begin_ftype, list_end_ftype): Rename argument
+ ``list_flag'' to ``depth''.
+ * ui-out.c (default_list_begin, default_list_end): Update.
+ (uo_list_begin, uo_list_end): Update.
+ (MAX_UI_OUT_LEVELS): Define.
+ (struct ui_out_level): Define.
+ (top-level): Include "gdb_assert.h".
+ (struct ui_out): Add fields ``level'' and ``levels''. Delete
+ fields ``list_flag'' and ``field_count''.
+ (ui_out_new): Update.
+ (verify_field_proper_position): Update.
+ (current_level, push_level, pop_level): New functions.
+ (ui_out_list_begin): Use push_level.
+ (ui_out_list_end): Use pop_level.
+ (ui_out_field_int): Use current_level.
+ (ui_out_field_skip): Ditto.
+ (ui_out_field_fmt): Ditto.
+
+2001-05-08 Michael Snyder <msnyder@redhat.com>
+
+ * language.c (longest_local_hex_string_custom): Strlen test is
+ inverted -- reverse the sense of the test.
+
+2001-05-08 Mark Kettenis <kettenis@gnu.org>
+
+ * config/i386/tm-i386v.h (struct frame_info, struct
+ frame_saved_regs): Remove declarations.
+ (i386_frame_num_args): Remove prototype.
+
+2001-05-07 Andrew Cagney <ac131313@redhat.com>
+
+ * MAINTAINERS: I'm no longer actively maintaining the mn10300
+ target.
+
+2001-05-04 Andrew Cagney <ac131313@redhat.com>
+
+ * main.c (captured_main): Delete #ifndef _WIN32 conditional for
+ WinGDB.
+
+2001-05-06 Kevin Buettner <kevinb@redhat.com>
+
+ * inferior.h (save_inferior_ptid): Declare.
+ * infrun.c (save_inferior_ptid, restore_inferior_ptid): Define.
+
+ * hpux-thread.c (save_inferior_ptid, restore_inferior_ptid):
+ Delete these functions.
+ * lin-lwp.c (save_inferior_ptid, restore_inferior_ptid): Likewise.
+ * lin-thread.c (save_inferior_ptid, restore_inferior_ptid): Likewise.
+ * linux-thread.c (save_inferior_ptid, restore_inferior_ptid):
+ Likewise.
+ * proc-service.c (save_inferior_ptid, restore_inferior_ptid):
+ Likewise.
+ * sol-thread.c (save_inferior_ptid, restore_inferior_ptid): Likewise.
+ * thread-db.c (save_inferior_ptid, restore_inferior_ptid): Likewise.
+
+ * somsolib.c (reset_inferior_ptid): Delete.
+ (som_solib_remove_inferior_hook): Use save_inferior_ptid() to
+ build the cleanup struct.
+
+ * breakpoint.c (reattach_breakpoints, detach_breakpoints): Use
+ a cleanup to save/restore inferior_ptid.
+
+2001-05-06 Mark Kettenis <kettenis@gnu.org>
+
+ Implement attach/detach for multi-threaded programs on Linux.
+ * thread-db.c (keep_thread_db): Adjust comment.
+ (deactivate_target): Removed.
+ (thread_db_new_objfile): Don't call deactivate_target. Implement
+ guts of deactivate_target inline instead.
+ (attach_thread): Call ATTACH_LWP unconditionally if defined.
+ (thread_db_attach): New function.
+ (thread_db_detach): Don't call deactivate_target. Do necessary
+ cleanup inline instead. Set inferior_ptid to LWP corresponding to
+ the current user-level thread.
+ (thread_db_kill): Set inferior_ptid to LWP corresponding to the
+ current user-level thread.
+ (thread_db_create_inferior): Deactivate target vector if
+ KEEP_THREAD_DB is zero.
+ (thread_db_mourn_inferior): Don't call deactivate_target. Do
+ necessary cleanup inline instead.
+ (init_thread_db_ops): Initialize to_attach field to
+ thread_db_attach.
+ * lin-lwp.c (lin_lwp_mourn_inferior): Remove prototype.
+ (stop_wait_callback): Add prototype.
+ (init_lwp_list): Add comment about when to re-initialize the LWP
+ list.
+ (lin_lwp_attach_lwp): Only call ptrace for cloned processes.
+ Avoid adding publicates to the LWP list. Only mark an LWP as
+ signalled if it doesn't correspond to a cloned process.
+ (lin_lwp_attach): Add initial process to the LWP list. Make sure
+ it's stopped and fake a SIGSTOP.
+ (detach_callback): New function.
+ (lin_lwp_detach): Implement.
+ (lin_lwp_create_inferior): Don't re-initialize LWP list here.
+ Call child_ops.to_create_inferior directly instead of via
+ target_beneath local.
+ (lin_lwp_mourn_inferior): Call child_ops.to_mourn_inferior
+ directly instead of via target_beneath local.
+
+2001-05-06 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * symtab.c (lookup_symtab_1, lookup_partial_symtab): Use basename
+ instead of non-portable search for `/'. Use FILENAME_CMP instead
+ of STREQ, to account for case-insensitive filesystems.
+ (top-level): #include "filenames.h".
+
+2001-05-05 Jim Blandy <jimb@redhat.com>
+
+ * breakpoint.c (check_duplicates): Use the breakpoint's type, not
+ its address, to decide whether it's a watchpoint or not. Zero
+ is a valid code address.
+ (update_breakpoints_after_exec): Admonishing comments.
+ * breakpoint.h (struct breakpoint): Doc fixes.
+
+ * breakpoint.c (check_duplicates): Take a breakpoint object as an
+ argument, rather than an address and section. All callers changed.
+
+2001-05-03 Kevin Buettner <kevinb@redhat.com>
+
+ * defs.h (ptid_t): New typedef.
+ (pid_to_ptid, null_ptid, minus_one_ptid, ptid_equal): New macros.
+
+ * a68v-nat.c, alphabsd-nat.c, arch-utils.c, arm-linux-nat.c,
+ blockframe.c, breakpoint.c, breakpoint.h,
+ config/i386/nm-i386sol2.h, config/i386/tm-i386sco5.h,
+ config/ia64/nm-linux.h, config/m68k/nm-hp300bsd.h,
+ config/mips/nm-irix4.h, config/mips/nm-irix5.h,
+ config/pa/nm-hppah.h, config/pa/tm-hppa.h,
+ config/rs6000/nm-rs6000.h, config/sparc/nm-sun4sol2.h,
+ corelow.c, cxux-nat.c, d10v-tdep.c, dink32-rom.c,
+ dve3900-rom.c, fork-child.c, frame.c, gnu-nat.c, go32-nat.c,
+ hp300ux-nat.c, hppa-tdep.c, hppab-nat.c, hppah-nat.c,
+ hpux-thread.c, i386-linux-nat.c, i386aix-nat.c, i386b-nat.c,
+ i386bsd-nat.c, i386gnu-nat.c, i386mach-nat.c, i386nbsd-nat.c,
+ infcmd.c, inferior.h, inflow.c, infptrace.c, infrun.c,
+ inftarg.c, infttrace.c, lin-lwp.c, lin-thread.c,
+ linux-thread.c, lynx-nat.c, m3-nat.c, m32r-rom.c,
+ m68knbsd-nat.c, m88k-nat.c, mac-nat.c, mips-nat.c,
+ mon960-rom.c, monitor.c, ns32knbsd-nat.c, ocd.c, ppc-bdm.c,
+ ppcnbsd-nat.c, proc-service.c, procfs.c, ptx4-nat.c,
+ regcache.c, remote-adapt.c, remote-array.c, remote-bug.c,
+ remote-e7000.c, remote-es.c, remote-mips.c, remote-mm.c,
+ remote-nindy.c, remote-os9k.c, remote-rdi.c, remote-rdp.c,
+ remote-sds.c, remote-sim.c, remote-st.c, remote-udi.c,
+ remote-vx.c, remote.c, rs6000-nat.c, sol-thread.c,
+ solib-aix5.c, solib-svr4.c, somsolib.c, sparc-nat.c,
+ standalone.c, sun3-nat.c, sun386-nat.c, symm-nat.c, target.c,
+ target.h, thread-db.c, thread.c, top.c, ultra3-nat.c,
+ uw-thread.c, v850ice.c, win32-nat.c, wince.c, xcoffsolib.c
+ (inferior_pid): Rename to inferior_ptid everywhere - even in
+ comments and obsolete ports. In cases where this variable
+ really is supposed to be used as a process id, use PIDGET() to
+ extract the process id component from inferior_ptid. The
+ other cases, either involving other variables whose types had
+ to be changed or functions whose signatures had to changed
+ are listed separately below.
+
+ * arm-linux-nat.c (get_thread_id): Change type of argument
+ representing a combined process/thread id from ``int'' to
+ ``ptid_t''. Also change parameter name to ptid.
+ * breakpoint.h, breakpoint.c (breakpoint_thread_match): Likewise.
+ * corelow.c (core_file_thread_alive): Likewise.
+ * d10v-tdep.c (d10v_read_pc, d10v_write_pc): Likewise.
+ * defs.h (*target_wait_hook): Likewise.
+ * gdbthread.h (thread_info, delete_thread, pid_to_thread_id)
+ (find_thread_pid, save_infrun_state, load_infrun_state): Likewise.
+ * gnu-nat.c (gnu_thread_alive, gnu_pid_to_str, gnu_wait)
+ (gnu_resume): Likewise.
+ * go32-nat.c (go32_wait, go32_resume): Likewise.
+ * h8500-tdep.c (h8500_read_pc, h8500_write_pc): Likewise.
+ * hppa-tdep.c (target_read_pc, target_write_pc): Likewise.
+ * hppah-nat.c (child_pid_to_str, hppa_tid_to_str,
+ (hppa_pid_or_tid_to_str, child_post_startup_inferior)
+ (child_thread_alive): Likewise.
+ * hpux-thread.c (hpux_thread_notice_signals, hpux_thread_alive)
+ (hpux_pid_to_str, hpux_thread_wait, hpux_thread_resume): Likewise.
+ * i386-linux-nat.c (child_resume): Likewise.
+ * ia64-linux-nat.c (enable_watchpoints_in_psr, fetch_debug_register)
+ (store_debug_register, fetch_debug_register_pair)
+ (store_debug_register_pair, ia64_linux_insert_watchpoint)
+ (ia64_linux_remove_watchpoint, ia64_linux_stopped_by_watchpoint):
+ Likewise.
+ * ia64-tdep.c (ia64_read_pc, ia64_write_pc): Likewise.
+ * inferior.h (read_pc_pid, generic_target_read_pc, write_pc_pid)
+ (generic_target_write_pc, ptrace_wait, child_resume)
+ (get_last_target_status): Likewise.
+ * infptrace.c (ptrace_wait, child_resume): Likewise.
+ * inftarg.c (child_wait, child_post_wait, child_thread_live)
+ (child_pid_to_str): Likewise.
+ * infttrace.c (ptrace_wait, child_thread_alive, child_resume)
+ (hppa_pid_or_tid_to_str, child_post_startup_inferior): Likewise.
+ * lin-lwp.c (add_lwp, delete_lwp, find_lwp_pid, lin_lwp_attach_lwp)
+ (lin_lwp_resume, lin_lwp_wait, lin_lwp_thread_alive)
+ (lin_lwp_pid_to_str): Likewise.
+ * lin-thread.c (thread_db_alive, thread_db_pid_to_str)
+ (thread_db_resume, thread_db_wait): Likewise.
+ * linux-thread.c (linuxthreads_thread_alive, linuxthreads_pid_to_str)
+ (linuxthreads_resume, linuxthreads_wait): Likewise.
+ * lynx-nat.c (child_wait, child_thread_alive, child_resume)
+ (child_pid_to_str): Likewise.
+ * m3-nat.c (mach_really_wait, m3_resume): Likewise.
+ * mac-nat.c (child_wait, child_resume): Likewise.
+ * mips-tdep.c (mips_read_pc): Likewise.
+ * monitor.c (monitor_wait, monitor_resume): Likewise.
+ * ocd.c, ocd.h (ocd_thread_alive, ocd_resume): Likewise.
+ * ppc-bdm.c (bdm_ppc_wait): Likewise.
+ * procfs.c (do_attach, procfs_wait, procfs_resume)
+ (procfs_notice_signals, procfs_thread_alive, procfs_pid_to_str)
+ (procfs_set_watchpoint, procfs_stopped_by_watchpoint)
+ (procfs_find_LDT_entry): Likewise.
+ * regcache.c (read_register_pid, read_signed_register_pid)
+ (write_register_pid, generic_target_read_pc, read_pc_pid)
+ (generic_target_write_pc, write_pc_pid): Likewise.
+ * regcache.h (read_register_pid, read_signed_register_pid)
+ (write_register_pid): Likewise.
+ * remote-adapt.c (adapt_wait, adapt_resume): Likewise.
+ * remote-array.c (array_wait, array_resume): Likewise.
+ * remote-bug.c (bug_wait, bug_resume): Likewise.
+ * remote-e7000.c (e7000_wait, e7000_resume): Likewise.
+ * remote-eb.c (eb_wait, eb_resume): Likewise.
+ * remote-es.c (es1800_wait, es1800_resume): Likewise.
+ * remote-mips.c (mips_wait, mips_resume): Likewise.
+ * remote-mm.c (mm_wait, mm_resume): Likewise.
+ * remote-nindy.c (nindy_wait, nindy_resume): Likewise.
+ * remote-os9k.c (rombug_wait, rombug_resume): Likewise.
+ * remote-rdi.c (arm_rdi_wait, arm_rdi_resume): Likewise.
+ * remote-rdp.c (remote_rdp_resume, remote_rdp_wait): Likewise.
+ * remote-sds.c (sds_wait, sds_resume): Likewise.
+ * remote-sim.c (gdbsim_wait, gdbsim_resume): Likewise.
+ * remote-st.c (st2000_wait, st2000_resume): Likewise.
+ * remote-udi.c (udi_wait, udi_resume): Likewise.
+ * remote-vx.c (vx_wait, vx_resume): Likewise.
+ * remote.c (remote_current_thread, remote_resume, remote_wait)
+ (remote_async_resume, remote_async_wait, remote_cisco_wait)
+ (remote_thread_alive): Likewise.
+ * sol-thread.c (thread_to_lwp, lwp_to_thread, sol_thread_resume)
+ (sol_thread_wait, sol_thread_notice_signals, sol_thread_alive)
+ (solaris_pid_to_str): Likewise.
+ * symm-nat.c (child_wait, child_resume): Likewise.
+ * target.c (debug_to_resume, debug_to_wait, debug_to_post_wait)
+ (debug_to_notice_signals, debug_to_thread_alive)
+ (normal_target_post_startup_inferior, normal_pid_to_str)
+ (debug_to_post_startup_inferior): Likewise.
+ * target.h (to_resume, to_wait, to_post_wait)
+ (to_post_startup_inferior, to_notice_signals, to_thread_alive)
+ (to_pid_to_str [all in struct target_ops]): Likewise.
+ (child_post_wait, child_thread_alive, normal_pid_to_str): Likewise.
+ * thread-db.c (thread_from_lwp, lwp_from_thread, thread_db_wait)
+ (attach_thread, detach_thread, thread_db_resume, check_event)
+ (thread_db_post_startup_inferior, thread_db_thread_alive)
+ (thread_db_pid_to_str): Likewise.
+ * thread.c (add_thread, delete_thread, find_thread_pid)
+ (pid_to_thread_id, in_thread_list, load_infrun_state)
+ (save_infrun_state, switch_to_thread, restore_current_thread)
+ (make_cleanup_restore_current_thread): Likewise.
+ * top.c (target_wait_hook): Likewise.
+ * uw-thread.c (dbgpid, thr_to_lwp, lwp_to_thr, add_thread_uw)
+ (uw_thread_resume, libtrhead_stub, uw_thread_wait, uw_thread_alive)
+ (uw_thread_pid_to_str): Likewise.
+ * v850ice.c (v850ice_wait, v850ice_resume): Likewise.
+ * win32-nat.c (child_wait, child_resume, win32_child_thread_alive)
+ (cywin_pid_to_str): Likewise.
+ * wince.c (child_wait, child_resume, win32_child_thread_alive):
+ Likewise.
+ * config/nm-linux.h (linuxthreads_pid_to_str): Likewise.
+ * config/nm-lynx.h (child_wait, lynx_pid_to_str): Likewise.
+ * config/alpha/nm-linux.h (lin_lwp_attach_lwp): Likewise.
+ * config/arm/nm-linux.h (lin_lwp_attach_lwp): Likewise.
+ * config/h8500/tm-h8500.h (h8500_read_pc, h8500_write_pc): Likewise.
+ * config/i386/nm-i386sol2.h (procfs_stopped_by_watchpoint)
+ (procfs_set_watchpoint): Likewise.
+ * config/i386/nm-linux.h (lin_lwp_attach_lwp): Likewise.
+ * config/i386/nm-ptx4.h (child_wait): Likewise.
+ * config/i386/nm-symmetry.h (child_wait): Likewise.
+ * config/i386/tm-cygwin.h (cygwin_pid_to_str): Likewise.
+ * config/ia64/nm-linux.h (ia64_linux_stopped_by_watchpoint)
+ (ia64_linux_insert_watchpoint, ia64_linux_remove_watchpoint)
+ (lin_lwp_attach_lwp): Likewise.
+ * config/mips/nm-irix4.h, config/mips/nm-irix5.h
+ (procfs_stopped_by_watchpoint, procfs_set_watchpoint): Likewise.
+ * config/pa/nm-hppah.h (child_pid_to_str, hppa_tid_to_str)
+ (hppa_pid_or_tid_to_str): Likewise.
+ * config/pa/tm-hppa.h (target_read_pc, target_write_pc): Likewise.
+ * config/powerpc/nm-linux.h (lin_lwp_attach_lwp): Likewise.
+ * config/sparc/nm-sun4sol2.h (procfs_stopped_by_watchpoint)
+ (procfs_set_watchpoint): Likewise.
+
+ * gdbthread.h (thread_id_to_pid): Change return type which
+ represents a combined process/thread id from ``int'' to
+ ``ptid_t''.
+ * gnu-nat.c (gnu_wait): Likewise.
+ * go32-nat.c (go32_wait): Likewise.
+ * hpux-thread.c (hpux_thread_wait): Likewise.
+ * inferior.h (procfs_first_available): Likewise.
+ * inftarg.c (child_wait): Likewise.
+ * infttrace.c (ptrace_wait): Likewise.
+ * lin-lwp.c (lin_lwp_wait): Likewise.
+ * lin-thread.c (thread_db_wait): Likewise.
+ * linux-thread.c (linuxthreads_wait): Likewise.
+ * lynx-nat.c (child_wait): Likewise.
+ * m3-nat.c (mach_really_wait): Likewise.
+ * mac-nat.c (child_wait): Likewise.
+ * monitor.c (monitor_wait): Likewise.
+ * ppc-bdm.c (bdm_ppc_wait): Likewise.
+ * procfs.c (do_attach, procfs_wait, procfs_first_available): Likewise.
+ * remote-adapt.c (adapt_wait): Likewise.
+ * remote-array.c (array_wait): Likewise.
+ * remote-bug.c (bug_wait): Likewise.
+ * remote-e7000.c (e7000_wait): Likewise.
+ * remote-eb.c (eb_wait): Likewise.
+ * remote-es.c (es1800_wait): Likewise.
+ * remote-mips.c (mips_wait): Likewise.
+ * remote-mm.c (mm_wait): Likewise.
+ * remote-nindy.c (nindy_wait): Likewise.
+ * remote-os9k (rombug_wait): Likewise.
+ * remote-rdi.c (arm_rdi_wait): Likewise.
+ * remote-rdp.c (remote_rdp_wait): Likewise.
+ * remote-sds.c (sds_wait): Likewise.
+ * remote-sim.c (gdbsim_wait): Likewise.
+ * remote-st.c (st2000_wait): Likewise.
+ * remote-udi.c (udi_wait): Likewise.
+ * remote-vx.c (vx_wait): Likewise.
+ * remote.c (remote_wait, remote_async_wait, remote_current_thread)
+ (remote_cisco_wait): Likewise.
+ * sol-thread.c (thread_to_lwp, lwp_to_thread, sol_thread_wait):
+ Likewise.
+ * symm-nat.c (child_wait): Likewise.
+ * target.c (debug_to_wait): Likewise.
+ * target.h (to_wait [in struct target_ops]): Likewise.
+ * thread.c (thread_id_to_pid): Likewise.
+ * thread-db.c (thread_from_lwp, lwp_from_thread, thread_db_wait):
+ Likewise.
+ * top.c (*target_wait_hook): Likewise.
+ * uw-thread.c (lwp_to_thr, uw_thread_wait): Likewise.
+ * v850ice.c (v850ice_wait): Likewise.
+ * win32-nat.c (child_wait): Likewise.
+ * wince.c (child_wait): Likewise.
+ * config/nm-lynx.h (child_wait): Likewise.
+ * config/i386/nm-ptx4.h (child_wait): Likewise.
+ * config/i386/nm-symmetry.h (child_wait): Likewise.
+
+ * arch-utils.c (generic_prepare_to_proceed): Rename wait_pid
+ to wait_ptid and change its type from ``int'' to ``ptid_t''.
+ * breakpoint.c (reattach_breakpoints, detach_breakpoints): Likewise,
+ but rename saved_inferior_pid to saved_inferior_ptid.
+ * d10v-tdep.c (d10v_read_pc, d10_write_pc): Likewise, but rename
+ save_pid to save_ptid.
+ * gdbthread.h (struct thread_info): Likewise, but rename pid to ptid.
+ * hppah-nat.c (child_pid_to_exec): Likewise, but rename
+ saved_inferior_pid to saved_inferior_ptid.
+ * hpux-thread.c (main_ptid): Likewise, but rename from main_pid.
+ * infrun.c (previous_inferior_pid [static global]): Likewise,
+ but rename to previous_inferior_ptid.
+ (resume): Likewise, but rename resume_pid to resume_ptid.
+ (struct execution_control_state): Likewise, but rename
+ pid to ptid, saved_inferior_pid to saved_inferior_ptid,
+ and waiton_pid to waiton_ptid.
+ (target_last_wait_pid): Likewise, but rename to
+ target_last_wait_ptid.
+ * infttrace.c (saved_real_pid): Likewise, but rename to
+ saved_real_ptid.
+ (child_pid_to_exec_file): Likewise, but rename saved_inferior_pid
+ to saved_inferior_ptid.
+ * lin-lwp.c (struct lwp_info): Likewise, but rename pid to ptid.
+ (trap_ptid): Likewise, but renamed from trap_pid.
+ * lin-thread.c (handle_new_thread): Likewise, but rename gdb_pid
+ to gdb_ptid.
+ * linux-thread.c (detach_thread): Likewise, but rename pid to ptid.
+ (thread_db_wait): Likewise, but rename ret_pid to retptid.
+ * procfs.c (procfs_wait): Likewise, for retval whose name
+ doesn't change. Also, ``temp'' becomes two separate variables,
+ one named temp_tid (an int) and the other temp_ptid.
+ (procfs_notice_thread): Likewise (type change) for gdb_threadid
+ whose name does not change.
+ * regcache.c (registers_ptid): Likewise, but renamed from
+ registers_pid.
+ (read_register_pid, read_signed_register_pid, write_register_pid):
+ Likewise, but rename save_pid to save_ptid.
+ (read_pc_pid, write_pc_pid): Likewise, but rename saved_inferior_pid
+ to saved_inferior_ptid.
+ * remote.c (remote_newthread_step): Likewise, but rename pid to ptid.
+ * sol-thread.c (struct ps_prochandle): Likewise.
+ (sol_thread_resume): Likewise, for save_pid which becomes save_ptid.
+ (sol_thread_wait): Likewise, for rtnval whose name does not
+ change, and for save_pid which becomes save_ptid.
+ (solaris_pid_to_str): Likewise for lwp whose name does not change.
+ (sol_find_new_threads_callback): Likewise, for pid which becomes
+ ptid.
+ * target.h (target_resume, target_wait, target_post_wait)
+ (target_post_startup_inferior, target_notice_signals)
+ (target_thread_alive): Likewise.
+ * thread.c (info_threads_command): Likewise, but rename
+ current_pid to current_ptid.
+ (struct current_thread_cleanup): Likewise, but rename field
+ inferior_pid to inferior_ptid.
+ * thread-db.c (find_new_threads_callback): Likewise, but rename
+ pid to ptid.
+ * uw-thread.c (thr_to_lwp): Likewise for lid whose name does not
+ change.
+ (lwp_to_tr): Likewise fo tid whose name remains unchanged.
+ (thr_infpid, lwp_infpid, notice_thread, libthread_stub): Likewise,
+ but rename pid to ptid.
+ * config/alpha/nm-linux.h (ATTACH_LWP): Likewise.
+ * config/arm/nm-linux.h (ATTACH_LWP): Likewise.
+ * config/i386/nm-linux.h (ATTACH_LWP): Likewise.
+ * config/ia64/nm-linux.h (ATTACH_LWP): Likewise.
+ * config/pa/nm-hppah.h (target_tid_to_str): Likewise.
+ * config/powerpc/nm-linux.h (ATTACH_LWP): Likewise.
+
+ * arch-utils.c (generic_prepare_to_proceed): Test for the
+ "zero" ptid by using ptid_equal() to test to see if variable
+ in question is the same as null_ptid. This replaces a direct
+ test against zero.
+ * cxux-nat.c (add_shared_symbol_files): Likewise.
+ * i386aix-nat.c, i386b-nat.c (i386_float_info): Likewise.
+ * infcmd.c (run_command): Likewise.
+ * inflow.c (kill_command): Likewise.
+ * infttrace.c (call_ttrace): Likewise.
+ * lin-lwp.c (lin_lwp_prepare_to_proceed): Likewise.
+ * lin-thread.c (thread_db_kill): Likewise.
+ * procfs.c (procfs_kill_inferior, procfs_mourn_inferior): Likewise.
+ * remote-es.c (es1800_kill): Likewise.
+ * sol-thread.c (sol_thread_create_inferior): Likewise.
+ * solib.c (locate_base): Likewise.
+ * target.c (nosupport_runtime): Likewise.
+ * thread-db.c (thread_db_wait): Likewise.
+ * top.c (quit_confirm, quit_force): Likewise.
+ * uw-thread (lwp_infpid, uw_thread_resume): Likewise.
+
+ * infrun.c (handle_inferior_event, stop_stepping, normal_stop):
+ Use ptid_equal to compare value of process/thread ids instead of
+ ``=='' and ``!='' operators.
+ lin-lwp.c (delete_lwp, lin_lwp_prepare_to_proceed)
+ (stop_wait_callback, lin_lwp_wait): Likewise.
+ * procfs.c (procfs_wait): Likewise.
+ * regcache.c (read_register_bytes, read_register_gen)
+ (write_register_gen, read_register, read_register_pid)
+ (read_signed_register, read_signed_register_pid, write_register)
+ (write_register_pid, supply_register): Likewise.
+ * remote-vx.c (vx_resume): Likewise.
+ * sol-thread.c (sol_thread_wait): Likewise.
+ * symm-nat.c (kill_inferior): Likewise.
+ * thread.c (delete_thread, find_thread_pid, pid_to_thread_id)
+ (in_thread_list, info_threads_command, switch_to_thread)
+ (restore_current_thread): Likewise.
+ * uw-thread (libtread_stub): Likewise.
+
+ * arm-linux-nat.c (GET_THREAD_ID): Change PID to PTID.
+
+ * corelow.c (add_to_thread_list): Convert argument in add_thread()
+ call to a ptid_t.
+ * gnu-nat.c (inf_validate_procs): Likewise.
+ * linux-thread.c (stop_thread, update_stop_threads): Likewise.
+ * remote.c (record_currthread, remote_threads_info): Likewise.
+ * win32-nat.c (child_add_thread): Likewise.
+
+ * hpux-thread.c (save_inferior_pid, restore_inferior_pid): Rename,
+ respectively, to save_inferior_ptid() and restore_inferior_ptid().
+ Adjust implementations to operate on ``ptid_t'' instead of ``int''.
+ * lin-lwp.c (save_inferior_pid, restore_inferior_pid): Likewise.
+ * lin-thread.c (save_inferior_pid, restore_inferior_pid): Likewise.
+ * linux-thread.c (save_inferior_pid, restore_inferior_pid): Likewise.
+ * proc-service.c (save_inferior_pid, restore_inferior_pid): Likewise.
+ * sol-thread.c (save_inferior_pid, restore_inferior_pid): Likewise.
+ * thread-db.c (save_inferior_pid, restore_inferior_pid): Likewise.
+
+ * infrun.c (RESUME_ALL): New macro representing the -1 ptid
+ to be passed to target_resume() when all threads should resume.
+ (resume): Set resume_ptid to RESUME_ALL rather than -1.
+ (handle_inferior_event): Invoke target_resume() with RESUME_ALL
+ instead of -1.
+ * irix5-nat.c (solib_create_inferior_hook): Convert -1 to
+ a ptid_t in target_resume() call.
+ * osfsolib.c (solib_create_inferior_hook): Likewise.
+ * solib-svr4.c (solib_create_inferior_hook): Likewise.
+
+ * lin-lwp.c (PIDGET, PIDGET0): Rename original PIDGET macro to
+ PIDGET0. Define new PIDGET macro which uses PIDGET0, the only
+ difference being that the 0xffff pattern will be interpreted
+ as -1.
+ * lin-thread.c (PIDGET, PIDGET0): Likewise.
+ * thread-db.c (PIDGET, PIDGET0): Likewise.
+ * config/nm-linux.h (PIDGET, PIDGET0): Likewise.
+ * config/i386/tm-i386sol2.h (PIDGET, PIDGET0): Likewise.
+ * config/i386/tm-i386v42mp.h (PIDGET, PIDGET0): Likewise.
+ * config/sparc/tm-sun4sol2.h (PIDGET, PIDGET0): Likewise.
+
+ * m3-nat.c (init_m3_ops): Fix typo; initialize to_wait field to
+ mach_really_wait rather than mach_really__wait.
+ * lin-thread.c (check_for_thread_event): Fix warning; make function
+ actually return a value.
+
+ * gdbarch.sh (TARGET_READ_PC, TARGET_WRITE_PC): Change type of
+ ``pid'' arguments from ``int'' to ``ptid_t''. Also renamed
+ pid to ptid.
+ * gdbarch.h, gdbarch.c: Regenerated.
+
+2001-05-03 Jonathan Larmour <jlarmour@redhat.com>
+
+ * rdi-share/devsw.c: Include <time.h> for struct tm
+
+2001-05-03 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * config/djgpp/fnchange.lst: Add mappings for the new
+ opcodes/openrisc-* files.
+
+2001-05-01 Michael Snyder <msnyder@redhat.com>
+
+ * lin-lwp.c: Change printf to fprintf_unfiltered.
+ * Makefile.in: Add rules for thread-db.o, lin-lwp.o, proc-service.o.
+
+2001-05-01 Nicholas Duffek <nsd@redhat.com>
+
+ * config/rs6000/tm-rs6000.h (IN_SOLIB_RETURN_TRAMPOLINE): Define.
+ (rs6000_in_solib_return_trampoline): Declare.
+ * rs6000-tdep.c (rs6000_in_solib_return_trampoline): New
+ function.
+ (rs6000_skip_trampoline_code): Skip bigtoc fixup code.
+ * xcoffread.c (read_xcoff_symtab): Perform the ISFCN function
+ check after the CSECT check rather than before it. Allocate
+ separate symtabs for CSECTs whose names begin with '@'.
+ (scan_xcoff_symtab): Don't ignore symbols beginning with '@'.
+ Activate the misc_func_recorded mechanism for whose names begin
+ with '@'.
+
+2001-04-30 J.T. Conklin <jtc@redback.com>
+
+ * ppcnbsd-nat.c (fetch_inferior_registers)
+ (store_inferior_registers, fetch_core_registers): Changed to use
+ fpreg[] instead of r_regs[] to access floating point registers.
+
+2001-04-30 Elena Zannoni <ezannoni@redhat.com>
+
+ * sh-tdep.c: Get rid of the function prototypes.
+ (sh_sh4_build_float_register_type): Move earlier in file.
+ (fv_reg_base_num): Ditto.
+ (dr_reg_base_num): Ditto.
+
+2001-04-30 Michael Snyder <msnyder@redhat.com>
+
+ * thread-db.c: Revert 2001-04-26 change for debugging output.
+ * lin-lwp.c: Ditto.
+ * lin-lwp.c: Add set/show debug lin-lwp command. Use this
+ command to turn extra debugging output on / off.
+
+2001-04-30 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * buildsym.c (start_subfile): Use FILENAME_CMP instead of STREQ.
+ (top-level): #include filenames.h.
+
+ * dwarf2read.c (dwarf2_start_subfile): Use IS_ABSOLUTE_PATH and
+ FILENAME_CMP, to DTRT on non-Posix platforms.
+ (top-level): #include filenames.h.
+
+
+2001-04-27 Andrew Cagney <ac131313@redhat.com>
+
+ * gdbtypes.c (check_stub_method): Always initialize ``p''.
+
+2001-04-27 Andrew Cagney <ac131313@redhat.com>
+
+ * configure.host: Delete romp host.
+ * TODO: Update.
+
+2001-04-27 Andrew Cagney <ac131313@redhat.com>
+
+ * TODO: Updates to 5.1. No more targets to obsolete.
+
+2001-04-27 Don Howard <dhoward@redhat.com>
+
+ (Changes from Kevin Buettner, with minor update by Don Howard.)
+
+ * i387-nat.c (i387_supply_fxsave, i387_fill_fxsave, i387_tag): Fix
+ typos in which hexadecimal constants were really intended to be
+ binary constants.
+ (i387_tag): Swap logic regarding zero vs non-zero exponents.
+ * MAINTAINERS (Misc): Added myself to the write-after-approval
+ list.
+
+2001-04-26 Jim Blandy <jimb@redhat.com>
+
+ (Changes from Daniel Berlin, with revisions by Jim Blandy.)
+
+ Abstract out operations specific to particular C++ ABI's, and
+ invoke them through a function table. This removes the C++ ABI
+ dependencies scattered throughout the code, and allows us to
+ cleanly add support for new C++ ABI's.
+ * cp-abi.h, cp-abi.h, gnu-v2-abi.c, hpacc-abi.c: New files.
+ * c-typeprint.c, c-valprint.c, dbxread.c, eval.c, gdbtypes.c,
+ jv-typeprint.c, linespec.c, symtab.c, typeprint.c, valops.c:
+ #include "cp-abi.h". These files all use functions now declared
+ there.
+ * symtab.h (OPNAME_PREFIX_P, VTBL_PREFIX_P, DESTRUCTOR_PREFIX_P):
+ Deleted. These services are now provided by functions declared in
+ cp-abi.h.
+ * value.h (value_rtti_type, value_virtual_fn_field): Same.
+ * values.c (value_virtual_fn_field): Same, for this definition.
+ * valops.c (value_rtti_type): Same.
+ * c-typeprint.c (c_type_print_base): Use the functions from
+ "cp-abi.h", instead of the old macros, or hard-coded ABI-specific
+ tests.
+ * dbxread.c (record_minimal_symbol): Same.
+ * gdbtypes.c (get_destructor_fn_field, virtual_base_index,
+ virtual_base_index_skip_primaries): Same.
+ * jv-typeprint.c (java_type_print_base): Same.
+ * linespec.c (find_methods, decode_line_1): Same.
+ * symtab.c (gdb_mangle_name): Same.
+ * Makefile.in (SFILES): Add the new .c files mentioned above.
+ (cp_abi_h): New variable.
+ (COMMON_OBS): Add gnu-v2-abi.o, hpacc-abi.o, and cp-abi.o.
+ (cp-abi.o, gnu-v2-abi.o, hpacc-abi.o): New targets.
+ (c-typeprint.o, c-valprint.o, dbxread.o, eval.o, gdbtypes.o,
+ jv-typeprint.o, symtab.o, linespec.o, typeprint.o, valops.o): Add
+ dependency on $(cp_abi_h).
+
+2001-04-26 Michael Snyder <msnyder@redhat.com>
+
+ * thread-db.c (_initialize_thread_db): Add set/show command
+ "debug-linux-threads" for debugging output.
+ * lin-lwp.c (various): Use global "debug_linux_threads to
+ turn on extra debugging output.
+ * lin-lwp.c: Minor cleanups in comments.
+ * target.c (normal_pid_to_str): Get rid of an ancient hack.
+ * remote.c (remote_pid_to_str): New function for remote target.
+
+2001-04-24 Jim Blandy <jimb@redhat.com>
+
+ * c-typeprint.c (c_type_print_cv_qualifier): Don't print `const'
+ qualifier on C++ references; all references are innately const.
+
+2001-04-20 Mark Kettenis <kettenis@gnu.org>
+
+ * event-top.h: Fix formatting.
+
+2001-04-17 Andrew Cagney <ac131313@redhat.com>
+
+ * source.c (openp): Obsolete #ifdef MPW code.
+ (open_source_file): Ditto.
+ * event-top.c (display_gdb_prompt): Ditto.
+ * utils.c (query): Ditto.
+ (init_page_info): Ditto.
+ (init_page_info): Delete #ifndef MPW.
+ * top.c (gdb_readline): Ditto.
+ * mac-xdep.c: Obsolete.
+ * mac-gdb.r: Obsolete.
+ * config/powerpc/xm-mpw.h: Obsolete.
+ * config/xm-mpw.h: Obsolete.
+ * mpw-make.sed: Obsolete.
+ * mpw-config.in: Obsolete.
+ * TODO: Update
+ * NEWS: Update
+
+2001-04-19 Mark Kettenis <kettenis@gnu.org>
+
+ * i386-tdep.c (i386_frameless_function_invocation): New function.
+ * config/i386/tm-i386.h (FRAMELESS_FUNCTION_INVOCATION): Redefine
+ in terms of i386_frameless_function_invocation. Adjust comment.
+ (i386_frameless_function_invocation): New prototype.
+
+2001-04-18 Martin M. Hunt <hunt@redhat.com>
+
+ * top.c (gdb_init): Don't call cli_out_new() to
+ create global uiout if init_ui_hook is set. uiout will
+ have to be initialized there.
+
+2001-04-18 Andrew Cagney <ac131313@redhat.com>
+
+ * arch-utils.c: Include "regcache.h".
+
+2001-04-18 Mark Kettenis <kettenis@gnu.org>
+
+ * i386-tdep.c (i386_saved_pc_after_call): New function.
+ * config/i386/tm-i386.h (SAVED_PC_AFTER_CALL): Redefine in terms
+ of i386_saved_pc_after_call.
+ (i386_saved_pc_after_call): New prototype.
+
+2001-04-17 Michael Snyder <msnyder@redhat.com>
+
+ * i386-nat.c: Fix typo in comment.
+ * solib.c (no_shared_libraries): New function. Discard all symbols
+ from shared libraries.
+ (_initialize_solib): Add command "nosharedlibrary" as complement
+ to the command "sharedlibrary". Unloads symbols for all solibs.
+
+2001-04-16 Andrew Cagney <ac131313@redhat.com>
+
+ * configure.host (m68030-sony-*, m68*-isi-*, m68*-sony-*):
+ * configure.tgt (m68*-rom68k-*, m68*-*bug-*, m68*-monitor-*)
+ (m68*-est-*, m68*-sony-*, m68*-isi-*):
+ * Makefile.in (xm-news1000.h, tm-news.h, xm-news.h): Obsolete..
+ * config/m68k/xm-news.h: Obsolete.
+ * config/m68k/tm-news.h:
+ * config/m68k/xm-news1000.h: Obsolete.
+ * config/m68k/news.mh: Obsolete.
+ * config/m68k/news.mt: Obsolete.
+ * config/m68k/nm-news.h: Obsolete.
+ * config/m68k/news1000.mh: Obsolete.
+ * news-xdep.c: Obsolete.
+ * Makefile.in (isi-xdep.o): Obsolete.
+ (ALLDEPFILES): Delete isi-xdep.c.
+ (tm-isi.h): Obsolete.
+ * m68k-tdep.c (altos_skip_prologue): Update comments.
+ (isi_skip_prologue): Obsolete.
+ * isi-xdep.c: Obsolete.
+ * config/m68k/xm-isi.h: Obsolete.
+ * config/m68k/isi.mh: Obsolete.
+ * config/m68k/tm-isi.h: Obsolete.
+ * config/m68k/isi.mt: Obsolete.
+
+ * TODO: Update.
+ * NEWS: Update.
+
2001-04-17 Michael Snyder <msnyder@redhat.com>
* remote.c (remote_open_1): On opening the remote target, activate