Fix copyright comments and file comments.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 5b083e13813aac48e4f189ef03728c74f7f9e4df..ed2a367022df90703004ad981f9e44c8982bb084 100644 (file)
@@ -1,3 +1,350 @@
+2000-04-08  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>
+
+       * configure.in (NEW_PROC_API):  Escape square brackets when testing
+       for solaris2.[678].
+       * configure:  Regenerate.
+
+2000-04-07  Scott Bambrough <scottb@netwinder.org>
+
+       * ChangeLog: Correct date on last entry.
+       * arm-linux-tdep.c (arm_linux_push_arguments): New function.
+       * config/arm/tm-linux: Redefined PUSH_ARGUMENTS for Linux.  
+       * config/arm/tm-embed: Fix build warning from redefinition of
+       LOWEST_PC.
+       * config/arm/tm-arm.h: Remove TARGET_BYTE_ORDER_SELECTABLE.
+       * config/arm/tm-wince.h: Remove TARGET_BYTE_ORDER_SELECTABLE and 
+       TARGET_BYTE_ORDER.  Add TARGET_BYTE_ORDER_SELECTABLE_P to 
+       override default in tm-arm.h.  Use default target byte order
+       from tm-arm.h.
+
+2000-04-07  Scott Bambrough <scottb@netwinder.org>
+
+       * Makefile.in: Add dependency information for arm-linux-tdep.c.
+       * config/djgpp/fnchange.lst: Add arm-linux-tdep.c, arm-linux-nat.c.
+
+2000-04-07  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>
+
+       * sol-thread.c (gdb_ps_addr_t):  New typedef, depends on definition
+       of PROC_SERVICE_IS_OLD.
+       (ps_pglobal_lookup, ps_pdread, ps_pdwrite, ps_ptread, ps_ptwrite,
+       rw_common):  Change argument type from psaddr_t to gdb_ps_addr_t.
+
+Fri Apr  7 17:18:42 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * Makefile.in (CFLAGS): Set using configure.
+
+       * configure.in (WARN_CFLAGS): Enable by default when GCC.
+       * configure: Re-generate.
+
+Fri Apr  7 13:33:43 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       From 2000-03-27 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>:
+        * procfs.c (init_procfs_ops):  Set procfs_ops.to_has_memory and
+        procfs_ops.to_has_all_memory to 1.
+
+       * TODO: Update
+
+2000-04-06  Nick Duffek  <nsd@cygnus.com>
+
+       * configure.in (_MSE_INT_H): Define on Solaris 7.
+       (NEW_PROC_API): Define on Solaris 7 and 8 as well as 6.
+       * acconfig.h (_MSE_INT_H): Define on Solaris 7.
+       * configure: Regenerate.
+       * config.in: Regenerate.
+
+2000-04-06  Michael Snyder  <msnyder@cygnus.com>
+
+       * sol-thread.c (GET_LWP, GET_THREAD, BUILD_LWP, BUILD_THREAD):
+       Change to rely on PIDGET etc.
+       * config/i386/nm-i386sol2.h (TARGET_HAS_WATCHPOINTS, 
+       TARGET_CAN_USE_HARDWARE_WATCHPOINT, HAVE_CONTINUABLE_WATCHPOINT,
+       STOPPED_BY_WATCHPOINT, target_[insert/remove]_watchpoint):
+       define.  Allow target to use procfs hardware watchpoints.
+       * config/sparc/nm-sun4sol2.h: ditto.
+       * config/i386/tm-i386sol2.h (PIDGET, TIDGET, MERGEPID): modify
+       definitions to use 16 bits for the pid, 15 bits for the tid, and
+       1 bit for the flag.
+       * config/sparc/tm-sun4sol2.h: ditto.
+       (SOFTWARE_SINGLE_STEP, SOFTWARE_SINGLE_STEP_P): undefine.
+       * testsuite/gdb.threads/pthreads.exp (all_threads_running): Allow
+       for more than 15 thread increments.
+
+2000-04-06  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * top.c (filename_completer): Set subsequent_name to 1 early on,
+       to prevent an infinite loop if the first file in the directory is
+       a backup file (whose name ends in a `~').
+
+2000-04-05  Jim Blandy  <jimb@redhat.com>
+
+       * solib.c (update_solib_list): New function.
+       (solib_add): Call update_solib_list, and then read symbols.
+       (info_sharedlibrary_command): Call update_solib_list, not
+       solib_add.
+
+2000-04-05  Scott Bambrough <scottb@netwinder.org>
+
+       * arm-linux-tdep.c: Resolve implicit function declarations by 
+       including target.h and value.h.  Inclusion of symtab.h is
+       no longer needed.
+
+2000-04-05  Scott Bambrough <scottb@netwinder.org>
+
+       * arm-linux-tdep.c: New file.
+       * arm-linux-nat.c (fetch_fpregs): Remove unused code.
+       (arm_get_longjmp_target): Moved it and all defines 
+       it uses to arm-linux-tdep.c.
+       (arm_linux_extract_return_value): Moved to
+       arm-linux-tdep.c.
+       * config/arm/linux.mt: Add arm-linux-tdep.c to TDEPFILES.
+
+2000-04-04  Nick Duffek  <nsd@cygnus.com>
+
+       * infrun.c (handle_inferior_event): Call target_mourn_inferior
+       instead of kill_target.
+
+2000-04-04  Daniel Berlin  <dan@cgsoftware.com>
+
+       * TODO: Make note of various C++ things i have planned for 5.1.
+
+Tue Apr  4 12:13:19 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * printcmd.c (print_scalar_formatted): Use local variable ptr_bit
+       in shift.  Stop GCC thinking it has a shift overflow.
+
+2000-04-03  H.J. Lu  <hjl@gnu.org>
+
+       * TODO: Remove the regex entry.
+
+2000-04-03  H.J. Lu  <hjl@gnu.org>
+
+       * gdb_regex.h: New. Include "regex.h" if USE_INCLUDED_REGEX
+       is defined and <regex.h> otherwise.
+
+        * irix5-nat.c: Include "gdb_regex.h" instead of "gnu-regex.h".
+       * monitor.c: Likewise.
+       * osfsolib.c: Likewise.
+       * solib.c: Likewise.
+       * source.c: Likewise.
+       * symtab.c: Likewise.
+
+       * Makefile.in (REGEX): Changed to @REGEX@.
+       (REGEX_CFLAGS): New.
+       (REGEX1): Removed.
+       (ADD_DEPS): Use $(REGEX) instead of $(REGEX1).
+       (INTERNAL_WARN_CFLAGS): Add $(REGEX_CFLAGS).
+
+       * configure.in (--with-included-regex): New switch.
+       (REGEX): New. Subsstitue @REGEX@ in Makefile.in.
+       (REGEX_CFLAGS): New. Subsstitue @REGEX_CFLAGS@ in Makefile.in.
+       * configure: Regenerated.
+
+2000-04-03  Kevin Buettner  <kevinb@redhat.com>
+
+       * NEWS (powerpc-*-linux*): Mention.
+
+2000-04-03  J.T. Conklin  <jtc@redback.com>
+
+       * config/i386/xm-nbsd.h (HOST_LONG_DOUBLE_FORMAT): Define.
+
+2000-04-03  Kevin Buettner  <kevinb@redhat.com>
+
+       * Makefile.in (ALLDEPFILES): Add ia64-linux-nat.c and ia64-tdep.c.
+       (ia64-linux-nat.o, ia64-tdep.o): Add dependencies.
+
+       * ia64-linux-nat.c (fill_gregset): Implement.
+       (supply_fpregset, fill_fpregset): New functions.
+
+       * ia64-tdep.c (ia64_init_extra_frame_info): Revise manner in
+       which the CFM is fetched for certain frames.
+       (find_global_pointer, find_extant_func_descr): Don't use
+       partial symtabs for locating sections.
+
+       * config/ia64/linux.mh (LOADLIBES): Define.
+       (NATDEPFILES): Add linux-thread.o and lin-thread.o.
+       * config/ia64/nm-linux.h (nm-linux.h): Include this upper-level
+       file containing generic linux declarations/definitions.
+       (SVR4_SHARED_LIBS, ATTACH_DETACH): Remove defines; already
+       defined in generic nm-linux.h.
+       (solib.h): Remove include; already included in generic nm-linux.h.
+
+2000-04-03  Jim Blandy  <jimb@redhat.com>
+
+       * solib.c (solib_add): Move all the code for loading symbol tables
+       below the code to sort out additions and removals.  That way, we
+       always catch all loaded shared libraries whose symbols we haven't
+       grabbed yet.
+
+       * solib.c (solib_add): Don't try to free a shared object's objfile
+       if it doesn't have one.  Duh.
+
+       * solib.c (solib_add): If a pattern was given, but it doesn't
+       match any currently loaded shared libraries, print a message;
+       don't just be silent.
+
+2000-04-03  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * go32-nat.c (go32_handle_nonaligned_watchpoint): Use a
+       two-dimensional array instead of faking it with index
+       arithmetics.
+
+2000-04-03  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * config/i386/xm-go32.h (HOST_LONG_DOUBLE_FORMAT): Define.
+
+       * config/i386/tm-go32.h (TARGET_LONG_DOUBLE_BIT): Remove
+       definition (and use the common one in tm-i386.h).
+       (REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW): Likewise.
+       (I386_DJGPP_TARGET): Don't define, it's no longer required.
+       (LOW_RETURN_REGNUM, HIGH_RETURN_REGNUM): Remove definition,
+       i386-tdep.c defines it for all x86 targets.
+       (LD_I387, HEX_LONG_DOUBLE_INPUT): Remove.
+
+       * config/djgpp/fnchange.lst: Add i386-linux-tdep.c.
+
+       * config/djgpp/djcheck.sh: Edit the copyright year out of the test
+       results.  Fix editing of `main' arguments for non-GNU Sed.
+
+2000-04-03  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * symfile.c (map_overlay_command, unmap_overlay_command): Fix
+       error message: there's no "overlay on" command.
+
+2000-04-03  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * Makefile.in (copying.c): Depend on copying.txt, not COPYING.
+       (copying.txt): New target, a link to COPYING.
+
+Mon Apr  3 18:20:03 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * TODO: Update.
+       
+Mon Apr  3 14:56:11 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * top.c: Re-indent.
+       (set_hook, error_hook): Remove PARAMS.
+
+Mon Apr  3 14:45:25 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * symtab.h (add_minsym_to_demangled_hash_table): Revert 2000-03-29
+       Daniel Berlin <dan@cgsoftware.com>.  Function was static.
+       * minsyms.c (add_minsym_to_demangled_hash_table): Add prototype.
+
+Mon Apr  3 14:10:37 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * gdb-events.h, gdb-events.c, gdb-events.sh: Re-indent.
+
+2000-04-02  Nick Duffek  <nsd@cygnus.com>
+
+       * gdbtypes.c (safe_parse_type): New wrapper function to ignore
+       error() during parse_and_eval_type().
+       (check_stub_method): Call safe_parse_type instead of
+       parse_and_eval_type().
+       * wrapper.c (gdb_parse_and_eval_type): New wrapper function.
+       (wrap_parse_and_eval_type): New support function.
+       * wrapper.h (gdb_parse_and_eval_type): Prototype.
+       (wrap_parse_and_eval_type): Prototype.
+
+Sun Apr  2 10:32:54 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * MAINTAINERS: Eli Zaretskii is a doco maintainer.
+
+Fri Mar 31 08:59:58 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * gdbarch-utils.h, gdbarch-utils.c: New files.
+       * Makefile.in (SFILES, COMMON_OBS): Update.
+       (gdbarch_utils_h) Define.
+       (gdbarch-utils.o): Add dependencies.
+       
+       * gdbarch.c, gdbarch.sh: Include "gdbarch-utils.h". Fix code
+       handling default method values.
+       (startup_gdbarch): Rename default_gdbarch, name misleading.
+       (breakpoint_from_pc): Default to legacy_breakpoint_from_pc.
+       (register_name): Default to legacy_register_name.
+       (call_dummy_words): Default to legacy_call_dummy_words.
+       (sizeof_call_dummy_words): Default to
+       legacy_sizeof_call_dummy_words.
+       (register_convertible): Default to
+       generic_register_convertible_not.
+       (breakpoint_from_pc): Default to legacy_breakpoint_from_pc.
+       (remote_translate_xfer_address): Default to
+       generic_remote_translate_xfer_address.
+       (frameless_function_invocation): Default to
+       generic_frameless_function_invocation_not.
+
+2000-04-02  Mark Kettenis  <kettenis@gnu.org>
+
+       * i386-linux-nat.c: Add copyright notice.
+
+       * config/i386/xm-linux.h (HOST_LONG_DOUBLE_FORMAT): Define as
+       &floatformat_i387_ext.
+       * config/i386/xm-i386gnu.h (HOST_LONG_DOUBLE_FORMAT): Likewise.
+
+2000-03-29  Mark Kettenis  <kettenis@gnu.org>
+
+       * findvar.c (extract_floating): Remove reference to
+       TARGET_EXTRACT_FLOATING.
+       (store_floating): Remove reference to TARGET_STORE_FLOATING.
+
+2000-03-30  Fernando Nasser  <fnasser@cygnus.com>
+
+       * wrapper.c (gdb_value_subscript, wrap_value_subscript): New functions.
+       Safe version of value_subscript.
+       * varobj.c (): Use gdb_value_subscript() to get an array element value.
+
+2000-03-30  Michael Snyder  <msnyder@cleaver.cygnus.com>
+
+       * ui-file.c: Include "gdb_string.h"
+       * cli-out.c: Include gdb_string.h to avoid compiler warnings.
+       * wrapper.[ch] (struct gdb_wrapper_arguments): Change fields into 
+       unions, since they are all used to hold both pointers and ints
+       at various times.  Casting pointer to int and vice versa gives
+       warnings (and is not safe) if they are not the same size.
+       
+2000-03-30  Michael Snyder  <msnyder@cleaver.cygnus.com>
+
+       * defs.h (struct continuation_arg): Make 'data' a union, to avoid
+       casting problems when int and pointer are not the  same size.
+       * event-top.c (command_handler): Use data as a union.
+       (command_line_handler_continuation): Ditto.
+       * infcmd.c (step_1_continuation): Use data as a union.  Re-indent.
+       (step_once): ditto.  (finish_command_continuation): Ditto.
+       (finish_command): Ditto.  
+       * breakpoint.c (until_break_command): Use data as a union.
+       (until_break_command_continuation): Ditto.
+       * utils.c (add_intermediate_continuation): Fix typo in comment.
+
+Thu Mar 30 12:09:50 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * gdbarch.h, gdbarch.c: Re-indent.  Remove FIXMEs.
+       * gdbarch.sh: Re-sync with gdbarch.[hc].
+
+2000-03-29  Daniel Berlin  <dan@cgsoftware.com>
+
+       * minsyms.c (add_minsym_to_demangled_hash_table): New function.
+       (install_minimal_symbols): Fix demangled symbol problems caused by
+       using add_minsym_to_hash_table for the demangled names, which is
+       wrong. Now we use add_minsym_to_demangled_hash_table.
+       (lookup_minimal_symbol): Fix problems with demangled symbol lookup
+       caused by weird control flow.
+       * symtab.h: Add add_minsym_to_demangled_hash_table prototype here.
+
+2000-03-29  Jason Merrill  <jason@casey.cygnus.com>
+
+       * configure.in: -linux-gnu*, not -linux-gnu.
+
+Tue Mar 28 18:28:40 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * remote.c (remote_threads_extra_info): Replace qfThreadExtraInfo
+       with qThreadExtraInfo.
+
+2000-03-29  J.T. Conklin  <jtc@redback.com> 
+       * i386nbsd-nat.c (fetch_core_registers): Make static. 
+       * m68knbsd-nat.c (fetch_core_registers): Make static. 
+       (m68knbsd_core_fns, _initialize_m68knbsd_nat): Added. 
 Wed Mar 29 13:40:40 2000  Andrew Cagney  <cagney@b1.cygnus.com>
 
        * TODO: Update GDB 5 status.
@@ -17,7 +364,7 @@ Wed Mar 29 10:16:35 2000  Andrew Cagney  <cagney@b1.cygnus.com>
 
 2000-03-28  Michael Snyder  <msnyder@cleaver.cygnus.com>
 
-       * Makefile.in: anchor tui-file.h dependency to $srcdir.
+       * Makefile.in: Anchor tui-file.h dependency to $srcdir.
 
 2000-03-28  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>
 
@@ -210,7 +557,7 @@ Fri Mar 24 13:44:57 2000  Andrew Cagney  <cagney@b1.cygnus.com>
        
 2000-03-23  Michael Snyder  <msnyder@cleaver.cygnus.com>
 
-       * solib.c (open_symbol_file_object): to sneak an int argument 
+       * solib.c (open_symbol_file_object): To sneak an int argument
        past catch_errors, instead of casting it to a pointer, simply
        pass it by address.
 
@@ -261,8 +608,8 @@ Fri Mar 24 13:44:57 2000  Andrew Cagney  <cagney@b1.cygnus.com>
        paddr_t to psaddr_t.  This mistake appears to date from an
        erroneous man page in Solaris 2.5 -- the correct type from the
        system headers has always been psaddr_t.
-       (ps_pdread, ps_pdwrite, ps_ptread, ps_ptwrite): ditto.
-       (rw_common): ditto.
+       (ps_pdread, ps_pdwrite, ps_ptread, ps_ptwrite): Ditto.
+       (rw_common): Ditto.
 
 2000-03-22  Kevin Buettner  <kevinb@redhat.com>
 
@@ -387,15 +734,15 @@ Wed Mar 22 11:18:59 2000  Andrew Cagney  <cagney@b1.cygnus.com>
 
 2000-03-20  Michael Snyder  <msnyder@cleaver.cygnus.com>
 
-       * remote.c (remote_threads_extra_info): new function.
+       * remote.c (remote_threads_extra_info): New function.
        Implement the extra thread info query for "info threads".
-       (remote_threads_info): clean up a bit.
-       (use_threadinfo_query, use_threadextra_query): new variables.
+       (remote_threads_info): Clean up a bit.
+       (use_threadinfo_query, use_threadextra_query): New variables.
        Control whether GDB will use the new or old protocol for 
        thread info queries.
-       (remote_open_1): initialize new variables.
-       (remote_async_open_1): ditto.
-       (remote_cisco_open): ditto.
+       (remote_open_1): Initialize new variables.
+       (remote_async_open_1): Ditto.
+       (remote_cisco_open): Ditto.
 
 2000-03-20  Kevin Buettner  <kevinb@redhat.com>
 
This page took 0.027536 seconds and 4 git commands to generate.