+2001-06-28 Andrew Cagney <ac131313@redhat.com>
+
+ From Fernando Nasser:
+ * infrun.c (handle_inferior_event): Handle "nexti" inside function
+ prologues.
+
+2001-06-28 Michael Snyder <msnyder@redhat.com>
+
+ * infrun.c (handle_inferior_event): Replace prev_pc test in all
+ calls to bpstat_stop_status (removed in 1999-09-24). This test
+ helps distinguish stepping over a breakpoint trap from stepping
+ thru a jump to the instruction after a breakpoint trap.
+ (handle_inferior_event): Don't bother writing the PC if
+ DECR_PC_AFTER_BREAK is zero (optimization).
+ * breakpoint.c (bpstat_stop_status): Add comment explaining the
+ purpose and usage of the "not_a_breakpoint" argument in computing
+ the breakpoint address.
+
+2001-06-28 Andrew Cagney <ac131313@redhat.com>
+
+ From 2000-12-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>:
+ * monitor.c (setmem_resp_delim_pattern): New regexp pattern.
+ (setreg_resp_delim_pattern): Likewise.
+ (setmem_resp_delim_fastmap): New buffer.
+ (setreg_resp_delim_fastmap): Likewise.
+ (monitor_open): Initialize above regexp if they are defined.
+ (monitor_write_memory): Use regexp to check the result of write.
+ (monitor_store_register): Likewise to check result of register set.
+
+2001-06-28 Andrew Cagney <ac131313@redhat.com>
+
+ From 2000-06-14 John Marshall <john_w_marshall@palm.com>:
+ * coff-solib.c: Include symfile.h and objfiles.h to make
+ OBJF_SHARED visible.
+
+2001-06-28 Andrew Cagney <ac131313@redhat.com>
+
+ * configure.in (--enable-gdbmi): Enable by default.
+ * configure: Regenerate.
+ * TODO: Update.
+ * NEWS: Update
+
+2001-06-28 Joel Brobecker <brobecker@act-europe.fr>
+
+ * solib-osf.c (osf_in_dynsym_resolve_code): Add a comment
+ explaining the consequences of always returning zero. No code
+ change.
+
+2001-06-28 Andrew Cagney <ac131313@redhat.com>
+
+ From 2001-06-08 Daniel Jacobowitz <djacobowitz@mvista.com>:
+ * defs.h (enum target_signal): Add TARGET_SIGNAL_REALTIME_65
+ to TARGET_SIGNAL_REALTIME_127.
+ * target.c (struct signals): Add SIG63 to SIG127.
+ (target_signal_from_host): Handle up to 127 signals.
+ (do_target_signal_to_host): Likewise.
+
+2001-06-27 Andrew Cagney <ac131313@redhat.com>
+
+ * remote-sds.c (sds_start_remote): Change type of ``c'' to int
+ from possibly unsigned char.
+
+2001-06-27 Andrew Cagney <ac131313@redhat.com>
+
+ * ser-ocd.c: Delete file.
+ * Makefile.in (ALLDEPFILES): Remove ser-ocd.c
+ (ser-ocd.o): Delete target.
+ * TODO: Update.
+ * NEWS: Update.
+
+2001-06-27 Andrew Cagney <ac131313@redhat.com>
+
+ * MAINTAINERS (Write After Approval): Sort.
+ (Past Maintainers): Daniel Berlin stepped down as C++ maintainer.
+
+2001-06-26 Andrew Cagney <ac131313@redhat.com>
+
+ * breakpoint.c (breakpoint_1): Always output the breakpoint
+ headings. Leave it to ui-out to decide which
+
+2001-06-25 Andrew Cagney <ac131313@redhat.com>
+
+ * stack.c (print_frame): For ui_out, output a list of arguments.
+
+2001-06-25 Kevin Buettner <kevinb@redhat.com>
+
+ * MAINTAINERS (paper trail): Update.
+
+2001-06-25 Michael Snyder <msnyder@redhat.com>
+
+ * infrun.c: Eliminate the "thread_step_needed" state variable,
+ and replace it with a relatively simple test in resume.
+ (resume): Replace thread_step_needed logic with a test for
+ stepping, breakpoint_here_p and breakpoints_inserted.
+ Move CANNOT_STEP_BREAKPOINT logic to after thread_step logic.
+ (proceed): Discard thread_step_needed logic.
+ (wait_for_inferior, fetch_inferior_event, handle_inferior_event):
+ Discard thread_step_needed logic.
+
+2001-06-24 Fernando Nasser <fnasser@redhat.com>
+
+ * remote-rdi.c (arm_rdi_wait): Fix return type in prototype.
+ * rdi-share/host.h: Add missing parenthesis in conditional.
+
+2001-06-22 J.T. Conklin <jtc@redback.com>
+
+ * configure.in: include nlist.h when checking for member som_addr
+ in struct so_map.
+ * configure: regenerate.
+
+2001-06-21 Keith Seitz <keiths@redhat.com>
+
+ * cli-out.c (cli_out_new): Initialize new structure member
+ "suppress_output".
+
+2001-06-20 Andrew Cagney <ac131313@redhat.com>
+
+ * ui-out.h (ui_out_table_header): Add parameter ``col_name''.
+ (table_header_ftype): Ditto.
+ * cli-out.c (cli_table_header): Update.
+ * ui-out.c (ui_out_table_header): Update.
+ (uo_table_header): Update.
+ (default_table_header): Update.
+ (append_header_to_list): Update.
+ (struct ui_out_header): Add field ``col_name''.
+ (append_header_to_list): Use xstrdup. Initialize col_name.
+ * breakpoint.c (breakpoint_1): Pass COL_NAME to
+ ui_out_table_header.
+
+2001-06-19 Andrew Cagney <ac131313@redhat.com>
+
+ * cli-out.c: Include "gdb_assert.h'.
+ (struct ui_out_data): Add field ``suppress_output.
+ (cli_table_begin): When NR_ROWS is zero, suppress_output.
+ (cli_table_end): Clear suppress_output.
+ (cli_table_body): Check suppress_output.
+ (cli_table_header, cli_begin): Ditto.
+ (cli_end, cli_field_int, cli_field_skip): Ditto.
+ (cli_field_string, cli_field_fmt, cli_spaces): Ditto.
+ (cli_text, cli_message, cli_wrap_hint): Ditto.
+ * breakpoint.c (breakpoint_1): Close the ui_out table before
+ printing the breakpoint not found message.
+
+2001-06-18 Andrew Cagney <ac131313@redhat.com>
+
+ * ui-out.c (ui_out_table_begin): Add parameter ``nr_rows''.
+ (default_table_begin): Ditto.
+ (uo_table_begin): Ditto.
+ * cli-out.c (cli_table_begin): Ditto.
+ * ui-out.h (ui_out_table_begin): Update
+ (table_begin_ftype): Update.
+ * breakpoint.c (breakpoint_1): Pass nr_printable_breakpoints to
+ ui_out_table_begin.
+
+2001-06-16 Andrew Cagney <ac131313@redhat.com>
+
+ * breakpoint.c (breakpoint_1): Restructure. Compute the
+ nr_printable_breakpoints. Move the header output to before the
+ main print breakpoints loop.
+ (user_settable_breakpoint): New function.
+
+2001-06-18 Andrew Cagney <ac131313@redhat.com>
+
+ * infrun.c, breakpoint.c: Use strncmp as the "mi" test. Allow,
+ "mi", "mi0" and "mi1".
+
+2001-06-17 Andrew Cagney <ac131313@redhat.com>
+
+ * gdbarch.sh: Generate an error when conflicting macro
+ definitions. Generate an error when both pure multi-arch and
+ "tm.h".
+ * gdbarch.h, gdbarch.c: Regenerate.
+ * defs.h (GDB_MULTI_ARCH_TM): Rewrite definition.
+
+2001-06-17 Andrew Cagney <ac131313@redhat.com>
+
+ * config/sparc/tm-sun4sol2.h (GDB_MULTI_ARCH): Down grade to
+ GDB_MULTI_ARCH_PARTIAL from two.
+
+2001-06-17 Fernando Nasser <fnasser@redhat.com>
+
+ From 2001-06-15 Eirik Fuller <eirik@hackrat.com>
+ * cli/cli-script.c (free_command_lines): Reset list pointer.
+
+2001-06-16 Andrew Cagney <ac131313@redhat.com>
+
+ * arch-utils.c (init_frame_pc_default): New function
+ * arch-utils.h (init_frame_pc_default): Declare.
+ * gdbarch.sh (INIT_FRAME_PC): Default to init_frame_pc_default and
+ not init_frame_pc_noop.
+ * gdbarch.h, gdbarch.c: Re-generate.
+ * blockframe.c (INIT_FRAME_PC): Delete macro definition.
+ * mips-tdep.c (mips_gdbarch_init): Set init_frame_pc to
+ init_frame_pc_noop.
+
+2001-06-16 Andrew Cagney <ac131313@redhat.com>
+
+ * gdbarch.c: Regenerate. Out-of-sync with gdbarch.sh.
+
+2001-06-15 Andrew Cagney <ac131313@redhat.com>
+
+ * gdbarch.sh (CANNOT_FETCH_REGISTER): Multi-arch.
+ (CANNOT_STORE_REGISTER): Ditto.
+ * infptrace.c (CANNOT_FETCH_REGISTER): Delete definition.
+ (CANNOT_STORE_REGISTER): Ditto.
+ * regcache.c (CANNOT_STORE_REGISTER): Ditto.
+ * lynx-nat.c (CANNOT_STORE_REGISTER): Ditto.
+ * arch-utils.h (cannot_register_not): Define.
+ * arch-utils.c (cannot_register_not): Declare.
+
+2001-06-15 Andrew Cagney <ac131313@redhat.com>
+
+ * gdbarch.sh: Clarify pre/post default
+ (INIT_FRAME_PC_FIRST, INIT_FRAME_PC): Multiarch.
+ * blockframe.c (get_prev_frame): Remove #ifdef from around
+ INIT_FRAME_PC_FIRST call.
+ * arch-utils.c (init_frame_pc_noop): Define.
+ * arch-utils.h (init_frame_pc_noop): Declare.
+ * config/mips/tm-mips.h (INIT_FRAME_PC_FIRST): Delete.
+ (INIT_FRAME_PC, mips_init_frame_pc_first): Ditto.
+ * mips-tdep.c (mips_init_frame_pc_first): Make static.
+ (mips_gdbarch_init): Initialize init_frame_pc_first.
+ (mips_dump_tdep): Update.
+
+2001-06-15 Michael Snyder <msnyder@redhat.com>
+
+ * infrun.c (context_switch): New function. Abstract the operation
+ of saving and restoring infrun's state when switching threads.
+ (handle_inferior_event): Normalize the handling of the 'thread hop'
+ event (when the wrong thread hits a thread-specific breakpoint,
+ and we need to solo-step that thread past the breakpoint).
+ Call keep_going, instead of target_resume. Handle the subsequent
+ singlestep-trap as a normal event instead of just resuming.
+
+2001-06-15 Andrew Cagney <ac131313@redhat.com>
+
+ * arch-utils.c (core_addr_identity): New function. Rename
+ default_convert_from_func_ptr_addr.
+ * gdbarch.sh (CONVERT_FROM_FUNC_PTR_ADDR): Update.
+ (ADDR_BITS_REMOVE): Define. Default to core_addr_identity.
+ * defs.h (ADDR_BITS_REMOVE): Delete macro definition.
+ * config/mips/tm-mips.h (ADDR_BITS_REMOVE): Delete definition.
+ * mips-tdep.c (mips_addr_bits_remove): Make static.
+ (mips_gdbarch_init): Initialize addr_bits_remove.
+
+2001-06-15 Andrew Cagney <ac131313@redhat.com>
+
+ From 2001-02-26 D.J. Barrow <djbarrow@de.ibm.com>:
+ * configure.tgt: Add S/390 31 & 64 bit target configuration.
+ * configure.host: Ditto for host.
+
+2001-06-15 Andrew Cagney <ac131313@redhat.com>
+
+ * gdbarch.sh (EXTRACT_STRUCT_VALUE_ADDRESS_P): Delete definition.
+ (EXTRACT_STRUCT_VALUE_ADDRESS): Change to a function with
+ predicate.
+ * gdbarch.h, gdbarch.c: Regenerate.
+ * values.c (value_being_returned): Change the reference to
+ EXTRACT_STRUCT_VALUE_ADDRESS_P to a function call.
+
+2001-06-15 Joel Brobecker <brobecker@act-europe.fr>
+
+ * MAINTAINERS: Add Paul Hilfinger and Joel Brobecker to the
+ Write After Approval list.
+
+2001-06-14 Michael Snyder <msnyder@redhat.com>
+
+ * remote.c (show_remote_protocol_qSymbol_packet_cmd,
+ set_remote_protocol_qSymbol_packet_cmd): New functions.
+ (init_all_packet_configs, show_remote_cmd): Add qSymbol packet.
+ (remote_check_symbols): New function. Implement qSymbol packet,
+ allowing target to request symbol lookup service from gdb.
+ (remote_open_1, remote_async_open_1): Call remote_check_symbols,
+ allowing symbol lookup from exec_bfd on connection to target.
+ (remote_new_objfile): New function. Catch new objfile notifications
+ from shared library module, and call remote_check_symbols.
+ (_initialize_remote): Hook remote_new_objfile into the shared
+ library notification chain. Add "set remote symbol-lookup" command.
+
+2001-06-14 Keith Seitz <keiths@redhat.com>
+
+ * tracepoint.c (trace_command): We now have tracepoint
+ events. Get rid of those ugly hooks.
+ (tracepoint_operation): Likewise.
+ (trace_pass_command): Likewise.
+
+2001-06-13 Michael Snyder <msnyder@redhat.com>
+
+ * gdbthread.h (struct thread_info): Add new fields:
+ current_line, current_symtab, step_sp, for saved infrun state.
+ * thread.c (save_infrun_state, load_infrun_state): Save and
+ restore current_line, current_symtab, and step_sp.
+ (add_thread): Rather than adding assignments to initialize
+ the new fields, just use memset (tp, 0, sizeof (*tp).
+ This way future new fields will not be overlooked.
+ * infrun.c (handle_inferior_event): Save and restore save_sp,
+ current_line, and current_symtab when switching threads.
+
+2001-06-13 Elena Zannoni <ezannoni@redhat.com>
+
+ * MAINTAINERS: Add Andrew Cagney as co-maintainer of
+ testsuite/gdb.mi.
+
+2001-06-11 Andrew Cagney <ac131313@redhat.com>
+
+ * symtab.c (lookup_symtab_1): Replace basename with lbasename.
+ (lookup_partial_symtab, file_matches): Ditto.
+ (make_source_files_completion_list): Ditto.
+ (make_file_symbol_completion_list): Ditto. Make local char*
+ variable ``tail'' constant.
+ (make_source_files_completion_list): Ditto with ``base_name''.
+ * source.c (open_source_file): Use lbasename. Make ``p'' const
+ char *.
+
+2001-06-13 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * config/i386/xm-go32.h (SLASH_P, ROOTED_P, SLASH_CHAR)
+ (SLASH_STRING): Remove unised definitions.
+ * config/i386/xm-cygwin.h: Likewise.
+
+2001-06-12 Andrew Cagney <ac131313@redhat.com>
+
+ * ui-out.c (ui_out_list_begin): Add parameter ``id''.
+ (make_cleanup_ui_out_list_begin_end): Ditto. Open the list.
+ * ui-out.h: Update declarations.
+
+Mon Jun 11 17:26:43 2001 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * source.c (openp): Make parameters ``path'' and ``string''
+ constant.
+ (openp): Use alloca to safely duplicate ``string''. Make local
+ variables ``p'' and ``p1'' constant. Delete char* casts.
+ * defs.h: Update.
+
+ * symtab.c (lookup_symtab_1): Make parameter ``name'' constant.
+ (lookup_symtab, lookup_partial_symtab): Ditto.
+ * symtab.h (lookup_symtab, lookup_partial_symtab): Update.
+
+2001-06-11 Andrew Cagney <ac131313@redhat.com>
+
+ * ui-out.h (ui_out_table_begin): Make char* parameters constant.
+ (ui_out_table_header, ui_out_field_int): Ditto.
+ (ui_out_field_core_addr, ui_out_field_string): Ditto.
+ (ui_out_field_stream, ui_out_field_fmt): Ditto.
+ (ui_out_field_skip, ui_out_text, ui_out_message): Ditto.
+ * ui-out.c (ui_out_table_begin, ui_out_table_header): Update.
+ (ui_out_field_core_addr, ui_out_field_stream): Update.
+ (ui_out_field_string, ui_out_field_fmt): Update.
+ (ui_out_text, ui_out_message): Update.
+ (append_header_to_list): Make char* parameters constant.
+ (uo_table_header, uo_table_begin): Ditto.
+ (uo_field_int, uo_field_skip): Ditto.
+ (uo_field_string, uo_field_fmt): Ditto.
+ (uo_text, uo_message): Ditto.
+
+2001-06-11 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * completer.c (gdb_completer_loc_break_characters): New variable.
+ (line_completion_function): If we are completing on locations,
+ back up the start of word pointer past all characters which can
+ appear in a location spec.
+ (location_completer): New function.
+
+ * completer.h: Add prototype for location_completer.
+
+ * symtab.c (make_source_files_completion_list)
+ (add_filename_to_list, not_interesting_fname): New functions.
+ (filename_seen): New function, body extracted from
+ output_source_filename.
+ (output_source_filename): Call filename_seen to check if the file
+ was already printed.
+ (make_symbol_completion_list): If TEXT includes a
+ double-quoted string, return an empty list, not NULL.
+ (make_file_symbol_completion_list): New function, similar to
+ make_symbol_completion_list but with an additional argument
+ SRCFILE.
+
+ * symtab.h (make_file_symbol_completion_list)
+ (make_source_files_completion_list): Add prototypes.
+
+ * breakpoint.c (_initialize_breakpoint): Make location_completer
+ be the completion function for all commands which set breakpoints
+ and watchpoints.
+ (top-level): #include "completer.h".
+
+ * tracepoint.c (_initialize_tracepoint): Make location_completer
+ be the completion function for the "trace" command.
+ (top-level): #include "completer.h".
+
+ * printcmd.c (_initialize_printcmd): Make location_completer be
+ the completion function for the "print", "inspect", "call", and
+ "disassemble" commands.
+ (top-level): #include "completer.h".
+
+ * infcmd.c (_initialize_infcmd): Make location_completer be the
+ completion function for the "go", "jump", and "until" commands.
+ (top-level): #include "completer.h".
+
+2001-06-10 Christopher Faylor <cgf@redhat.com>
+
+ * gnu-regex.c: Eliminate obsolete check for _MSC_VER.
+ * utils.c (notice_quit): Remove dummy function only used for _MSC_VER.
+ * values.c (unpack_double): Remove obsolete check for _MSC_VER.
+ * defs.h: Ditto.
+ * m32r-rom.c: Ditto.
+ * p-exp.y: Ditto.
+ * ser-e7kpc.c: Ditto. Define WIN32_LEAN_AND_MEAN under _WIN32, for
+ faster compilation.
+ (get_ds_base): Remove _MSC_VER version of this function.
+ * nindy-share/ttyflush.c: Ditto.
+ * rdi-share/host.h: Ditto.
+ * ser-go32.c (dos_readchar): Remove call to obsolete function.
+ * remote-sim.c (gdb_os_poll_quit): Ditto.
+ * remote-e7000.c (expect): Remove obsolete #if 0'ed code.
+
+ * main.c (captured_main): Eliminate special Cygwin checks.
+ * ser-tcp.c: Remove unneeded __CYGWIN__ guard against system include.
+
+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.