2001-04-30 Michael Snyder <msnyder@redhat.com>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 431a01aea2a29714edefd860f3cf37ec9db767d2..e01b9c35f59a4bf9f8ea8e6fb2e7fb7fe8b30dac 100644 (file)
@@ -1,3 +1,340 @@
+2001-04-30  Michael Snyder  <msnyder@redhat.com>
+
+       * thread-db.c: Revert 2001-04-26 change for debugging output.
+       * lin-lwp.c:   Ditto.
+
+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
+       the solib_create_inferior_hook, so that it can detect when the
+       target loads shared libraries.
+       (remote_async_open_1): Ditto.
+
+2001-04-17  Michael Snyder  <msnyder@redhat.com>
+       
+       * breakpoint.c (print_one_breakpoint): Handle 64-bit addresses.
+       * tracepoint.c (tracepoints_info): Handle 64-bit addresses.
+       * testsuite/gdb.trace/deltrace.exp: Allow for 64-bit addresses.
+       * testsuite/gdb.trace/infotrace.exp: Ditto.
+       * testsuite/gdb.trace/passcount.exp: Ditto.
+       * testsuite/gdb.trace/while-stepping.exp: Ditto.
+
+2001-04-17  Michael Snyder  <msnyder@redhat.com>
+
+       * thread-db.c (check_thread_signals): When looping over all
+       signals, ignore signal zero.
+       (disable_thread_signals): Ditto.
+
+2001-04-17  Eirik Fuller <eirik@netapp.com>
+
+       * thread.c (do_captured_thread_select): Allow the argument to the
+       thread command to be an expression rather than a literal integer.
+
+2001-04-17  Mark Kettenis  <kettenis@gnu.org>
+
+       * i386-linux-tdep.c (i386_linux_saved_pc_after_call): Use
+       read_memory_unsigned_integer instead of read_memory_integer.
+
+2001-04-16  Kevin Buettner  <kevinb@redhat.com>
+
+       * solib-aix5.c (map_index_vs_section_name_okay): New function.
+       (aix5_relocate_main_executable): Don't use file offsets for
+       determining corresponding sections and map file entries.  Call
+       map_index_vs_section_name_okay() to do this instead.
+
+2001-04-16  Kevin Buettner  <kevinb@redhat.com>
+
+       * procfs.c (open_with_retry): New function.
+       (open_procinfo_files, load_syscalls, proc_iterate_over_mappings)
+       (proc_get_LDT_entry): Call open_with_retry() instead of open().
+
+2001-04-16  Kevin Buettner  <kevinb@redhat.com>
+
+       * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Adjust
+       comparison against TRAP_HWBKPT constant yet again to account
+       for the various values used by different kernel versions.
+
+2001-04-16  Daniel Berlin  <dan@cgsoftware.com>
+
+       * demangle.c (_initialize_demangler): Use xcalloc on the
+       demangling_style_names, and make it a null terminated array of
+       names, to avoid a crash.
+
+2001-04-16  Mark Kettenis  <kettenis@gnu.org>
+
+       * i386-tdep.c (i386_frame_chain): New function.
+       * config/i386/tm-i386.h (FRAME_CHAIN): Redefine in terms of
+       i386_frame_chain.
+       (i386_frame_chain): New prototype.
+
+2001-04-14  J.T. Conklin  <jtc@redback.com>
+       
+       * target.h (target_ops): Removed to_core_file_to_sym_file vector
+       function.
+       * corelow.c (core_ops): Updated for above change.
+       * gnu-nat.c (core_ops): Likewise.
+       * inftarg.c (child_ops): Likewise.
+       * monitor.c (monitor_ops): Likewise.
+       * ppc-bdm.c (bdm_ppc_ops): Likewise.
+       * remote-adapt.c (adapt_ops): Likewise.
+       * remote-bug.c (bug_ops): Likewise.
+       * remote-e7000.c (e7000_ops): Likewise.
+       * remote-eb.c (eb_ops): Likewise.
+       * remote-es.c (es1800_ops, es1800_child_ops): Likewise.
+       * remote-mm.c (mm_ops): Likewise.
+       * remote-nindy.c (nindy_ops): Likewise.
+       * remote-nrom.c (nrom_ops): Likewise.
+       * remote-os9k.c (rombug_ops): Likewise.
+       * remote-rdp.c (remote_rdp_ops): Likewise.
+       * remote-sim.c (gdbsim_ops): Likewise.
+       * remote-st.c (st2000_ops): Likewise.
+       * v850ice.c (v850ice_ops): Likewise.
+       * target.c (cleanup_target): Likewise
+       (update_current_target): Likewise.
+       (setup_target_debug): Likewise
+       (debug_to_core_file_to_sym_file): Removed.
+
+       * corefile.c (core_file_command) [HPUXHPPA]: Removed code that
+       sets symbol file from information obtained from the core file.
+       * corelow.c (core_file_to_sym_file): Removed.
+       
+2001-04-13  Fernando Nasser  <fnasser@redhat.com>
+
+       From  Adam Mirowski  <Adam.Mirowski@Sun.COM>
+       Fixed Insight on Solaris. It was not possible to debug a process
+       because of EINTR "errors".
+       * procfs.c: (procfs_wait): if proc_wait_for_stop() fails
+       with EINTR, retry the call.
+
+2001-04-12  Kevin Buettner  <kevinb@redhat.com>
+
+       * solib-aix5.c (enum maptype): Delete.
+       (struct lm_info): Add new member ``nmappings''.  Make ``mapping''
+       member a pointer instead of a statically sized array.
+       (build_so_list_from_mapfile): Dynamically allocate ``mapping''
+       array.
+       (aix5_relocate_main_executable, aix5_relocate_section_addresses,
+       aix5_find_global_pointer): Search for correct mapping to use
+       based on file offset instead of knowledge of whether the section
+       is read-only or read/write.
+       (aix5_find_gate_addresses): Use the first mapping instead of
+       the (now defunct) MT_READONLY mapping.
+
+2001-04-12  Nicholas Duffek  <nsd@redhat.com>
+
+       * xcoffread.c (scan_xcoff_symtab): Ignore symbols beginning with
+       "@".
+
+2001-04-12  Kevin Buettner  <kevinb@redhat.com>
+
+       * config/i386/fbsd.mh (NATDEPFILES): Add i386-nat.o.
+
+2001-04-09  Andrew Cagney  <ac131313@redhat.com>
+
+       Obsolete i[3456]86-*-sunos* (aka Sun386) host and target.
+       * config/i386/sun386.mh: Obsolete.
+       * config/i386/sun386.mt: Obsolete.
+       * config/i386/xm-sun386.h: Obsolete.
+       * config/i386/tm-sun386.h: Obsolete.
+       * config/i386/nm-sun386.h: Obsolete.
+       * Makefile.in (ALLDEPFILES): Delete sun386-nat.c.
+       (sun386-nat.o): Target is obsolete.
+       * sun386-nat.c: Obsolete.
+       * configure.tgt (i[3456]86-*-sunos*): Obsolete.
+       * configure.host (i[3456]86-*-sunos*): Obsolete.
+       * NEWS: Update.
+       * TODO: Update.
+
+2001-04-10  J.T. Conklin  <jtc@redback.com>
+
+       * maint.c: Fix typo in comment.
+
+2001-04-09  Keith Seitz  <keiths@cygnus.com>
+
+       * MAINTAINERS: Swap with Syd Polk as a gdbtk maintainer.
+
+2001-04-08  Kevin Buettner  <kevinb@redhat.com>
+
+       * fork-child.c (fork_inferior, clone_and_follow_inferior): 
+       Document fact that apparent call to vfork() might actually be
+       a call to fork() instead.
+       * ser-pipe.c (pipe_open): Likewise.
+
+2001-04-08  Kevin Buettner  <kevinb@redhat.com>
+
+       * printcmd.c (print_frame_args): Use a cleanup to invoke
+       ui_out_list_end() so that the list count nesting flag will
+       be decremented properly when an error occurs.
+       * stack.c (print_frame): Likewise.
+
+2001-04-06  J.T. Conklin  <jtc@redback.com>
+
+       * dcache.c (dcache_write_line): Fixed bugs where cache line was
+       not written to target correctly.
+
+       * gdbserver/low-hppabsd.c (read_inferior_memory): Add explicit 
+       void return value;
+       * gdbserver/low-nbsd.c: Likewise.
+       * gdbserver/low-sparc.c: Likewise.
+       * gdbserver/low-sun3.c: Likewise.
+
 2001-04-06  Geoffrey Keating  <geoffk@redhat.com>
 
        * config/rs6000/nm-rs6000.h (PTRACE_ATTACH): Don't define.
This page took 0.041196 seconds and 4 git commands to generate.