Added the apropos command
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index fa2686ee75d3d5851295eb43b873e68e34334739..8d5b70e565be95b96a8de506e5f111edb294ef59 100644 (file)
@@ -1,3 +1,302 @@
+2000-03-23  Michael Snyder  <msnyder@cleaver.cygnus.com>
+
+       * sol-thread.c (ps_pglobal_lookup): Change argument type from
+       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.
+
+2000-03-22  Kevin Buettner  <kevinb@redhat.com>
+
+       * ia64-linux-nat.c: Fix copyright.
+       (fill_gregset): Minor formatting fix.
+       * ia64-tdep.c (template_encoding_table, fetch_instruction,
+       examine_prologue): Clean up some compiler warnings.
+       (is_float_or_hfa_type_recurse, is_float_or_hfa_type, find_func_descr,
+       find_global_pointer, find_extant_func_descr): New functions.
+       (ia64_use_struct_convention, ia64_extract_return_value,
+       ia64_push_arguments): Handle HFAs.
+       (ia64_push_arguments): Find (or build) a function descriptor
+       when given a function address.
+       (ia64_push_return_address): Moved code for finding the
+       global pointer into its own function, find_global_pointer ().
+
+2000-03-22  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
+
+       * event-loop.c (handle_file_event): Run through indent.
+
+2000-03-22  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
+
+        From  Philippe De Muyter  <phdm@macqel.be>
+
+       * event-loop.c (sys/types.h): File now included unconditionally.
+       (use_poll): New variable..
+       (gdb_notifier): poll- and select-versions merged.
+       (add_file_handler): If HAVE_POLL, check whether poll is usable,
+       and reset `use_poll' if not.
+       (create_file_handler): Select poll- or select-version according to
+       `use_poll'.
+       (delete_file_handler, handle_file_event): Likewise.
+       (gdb_wait_for_event, poll_timers): Likewise.
+
+2000-03-22  Daniel Berlin  <dan@cgsoftware.com>
+       * command.c (apropos_cmd_helper): New function, meat of the
+       apropos command.
+       (apropos_command): New apropos command to search command
+       names/documentation for regular expressions.
+       (_initialize_command): Add the apropos command.
+
+2000-03-22  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>
+
+       * printcmd.c (print_scalar_formatted):  Truncate addresses to the
+       size of a target pointer before passing them to print_address.
+
+2000-03-22  Mark Kettenis  <kettenis@gnu.org>
+
+       * config/i386/tm-i386aix.h (I386_AIX_TARGET): Remove.
+       * config/i386/tm-linux.h (LOW_RETURN_REGNUM, HIGH_RETURN_REGNUM):
+       Remove
+       * i386-tdep.c (LOW_RETURN_REGNUM, HIGH_RETURN_REGNUM): New defines.
+       (i386_extract_return_value): Rewritten.  Correctly support all
+       floating-point types and large integer types on targets that use
+       the standard i386 GDB register layout and return floating-point
+       values in the FPU.
+
+Wed Mar 22 15:09:34 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure.in (CONFIG_INITS): Do not append remote-nrom.c
+
+2000-03-21  J.T. Conklin  <jtc@redback.com> 
+        * i386/nbsd.mh (NATDEPFILES): Change i386b-nat.o to i386nbsd-nat.o. 
+        * i386nbsd-nat.c: New file. 
+        * i386/tm-nbsd.h (NUM_REGS): Removed. 
+        (HAVE_I387_REGS): Defined. 
+        * i386/nm-nbsd.h (FLOAT_INFO): Removed. 
+        * tm-nbsd.h (IN_SOLIB_CALL_TRAMPOLINE): Define if not 
+        SVR4_SHARED_LIBS. 
+
+Wed Mar 22 11:18:59 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * MAINTAINERS: Add Jim Blandy to breakpoint maintainers.  David
+       taylor is the Solaris/SPARC maintainer.  Add Jonathan Larmour to
+       the write after approval list.
+
+2000-03-21  Kevin Buettner  <kevinb@redhat.com>
+
+       * symtab.h (MAX_SECTIONS, struct section_addr_info,
+       symbol_file_add):  Move declarations from here...
+       * symfile.h: ...to here.
+
+       * solib.c (symbol_add_stub): Make symbol_file_add () aware of
+       all section addresses, not just .text.
+       * symfile.h, symfile.c (free_section_addr_info,
+       build_section_addr_info_from_section_table): New functions.
+
+       * symfile.h (MAX_SECTIONS): Increase value to 40.
+       * symfile.c (syms_from_objfile): Add bounds check prior to
+       accessing ``other'' array in a section_addr_info_struct.
+       Remove unused variable section_offsets.
+       (add_symbol_file_command): Remove unused variable text_addr.
+
+2000-03-21  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * breakpoint.c (bpstat_stop_status): Don't stop if a read
+       watchpoint appears to break, but the watched value changed.
+
+2000-03-21  Jim Blandy  <jimb@redhat.com>
+
+       * gdbarch.sh: Emit a definition and declaration for gdbarch_free,
+       a companion to gdbarch_alloc, which allows a gdbarch init function
+       to free partially-built gdbarch structures.
+       * gdbarch.c, gdbarch.h: Regenerated.
+
+2000-03-20  Kevin Buettner  <kevinb@redhat.com>
+
+       * configure.host, configure.tgt (ia64-*-linux*): New entry.
+
+       * gdbserver/low-linux.c (u_offsets, ia64_register_u_addr,
+       initialize_arch): Define for IA-64.
+       (initialize_arch): Add declaration.
+
+2000-03-20  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * breakpoint.c (insert_breakpoints, remove_breakpoint)
+       (bpstat_stop_status, can_use_hardware_watchpoint): Don't insert,
+       remove, or check status of hardware watchpoints for entire structs
+       and arrays unless the user explicitly asked to watch that struct
+       or array.  
+       (insert_breakpoints): Try to insert watchpoints for all the values
+       on the value chain, even if some of them fail to insert.
+
+       * values.c (value_primitive_field): Set the offset in struct value
+       we return when the field is a packed bitfield.
+
+2000-03-20  Michael Snyder  <msnyder@cleaver.cygnus.com>
+
+       * 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.
+       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.
+
+2000-03-20  Kevin Buettner  <kevinb@redhat.com>
+
+       * ia64-linux-nat.c, ia64-tdep.c, config/ia64/linux.mh,
+       config/ia64/linux.mt, config/ia64/nm-linux.h, config/ia64/tm-ia64.h,
+       config/ia64/tm-linux.h, config/ia64/xm-linux.h: New files.
+
+2000-03-20  Kevin Buettner  <kevinb@redhat.com>
+
+       * utils.c (floatformat_from_doublest): Don't assume that a long
+       will be exactly 32 bits in length.  Also...  make sure space
+       that we're writing the float to is completely initialized to
+       zeroes, even when the number of bits in the float is not
+       evenly divisible by FLOATFORMAT_CHAR_BIT.
+
+2000-03-20  Jim Blandy  <jimb@redhat.com>
+
+       * i386-linux-nat.c: No need to #include "frame.h" any more.
+       (LINUX_SIGTRAMP_INSN0, LINUX_SIGTRAMP_OFFSET0,
+       LINUX_SIGTRAMP_INSN1, LINUX_SIGTRAMP_OFFSET1,
+       LINUX_SIGTRAMP_INSN2, LINUX_SIGTRAMP_OFFSET2, linux_sigtramp_code,
+       LINUX_SIGTRAMP_LEN, i386_linux_sigtramp_start,
+       LINUX_RT_SIGTRAMP_INSN0, LINUX_RT_SIGTRAMP_OFFSET0,
+       LINUX_RT_SIGTRAMP_INSN1, LINUX_RT_SIGTRAMP_OFFSET1,
+       linux_rt_sigtramp_code, LINUX_RT_SIGTRAMP_LEN,
+       i386_linux_rt_sigtramp_start, i386_linux_in_sigtramp,
+       i386_linux_sigcontext_addr, LINUX_SIGCONTEXT_PC_OFFSET,
+       i386_linux_sigtramp_saved_pc, LINUX_SIGCONTEXT_SP_OFFSET,
+       i386_linux_sigtramp_saved_sp):  Deleted.  Folks rightly pointed
+       out that these are target-dependent, and useful in non-native
+       configurations.  Moved to...
+       * i386-linux-tdep.c: ... Here, a new file.
+       * Makefile.in (ALLDEPFILES): Add i386-linux-tdep.c.
+       (i386-linux-tdep.o): New rule.
+       (i386-linux-nat.o): We no longer depend on frame.h.
+       * config/i386/linux.mt (TDEPFILES): Add i386-linux-tdep.o.
+
+2000-03-04  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * event-loop.c (top-level) [NO_FD_SET]: Deprecate this branch.
+       Print an error at compile time if we are to use select, but FD_SET
+       is not available.
+       (SELECT_MASK, NBBY, FD_SETSIZE, NFDBITS, MASK_SIZE): Define only
+       if HAVE_POLL is not defined and NO_FD_SET *is* defined.
+       (create_file_handler) [!HAVE_POLL]: Use FD_SET and FD_CLR.
+       (delete_file_handler) [!HAVE_POLL]: Use FD_CLR and FD_ISSET.
+       (gdb_wait_for_event) [!HAVE_POLL]: Copy fd_set sets directly
+       instead of using memcpy and memset.  Use FD_ISSET.
+
+       * config/i386/xm-go32.h (fd_mask): Remove typedef.
+
+Mon Mar 20 19:58:45 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * command.c (_initialize_command): Document requirements for ``!''
+       command.
+
+Mon Mar 20 18:12:46 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       From Fri 10 Mar 2000 Robert
+       <robert.melchers@drives.eurotherm.co.uk>:
+       * sh-tdep.c (sh_processor_type_table): Add entry for sh2.
+
+Mon Mar 20 17:33:32 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       From Thu Mar 16 16:49:27 EST 2000 John David Anglin
+       <dave@hiauly1.hia.nrc.ca>:
+       * configure.in (CONFIG_INITS): Don't include hpux-thread.c. Stops
+       _initialize_hpux_thread being called twice.
+       * configure: Regenerated.
+
+2000-03-19  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * event-top.c (_initialize_event_loop): If instream is not
+       connected to a terminal device, turn editing off.
+
+2000-03-19  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       Support for building GDB with DJGPP, and running the test suite on
+       it:
+       * config/djgpp/djconfig.sh: New file.
+       * config/djgpp/config.sed: New file.
+       * config/djgpp/README: New file.
+       * config/djgpp/fnchange.lst: New file.
+       * config/djgpp/djcheck.sh: New file.
+
+2000-03-19  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * ser-go32.c (ports): Make the initializers complete, to pacify
+       GCC 2.9X.
+
+2000-03-17  Jim Blandy  <jimb@redhat.com>
+
+       * i386v-nat.c (i386_insert_nonaligned_watchpoint): Use a
+       two-dimensional array, instead of faking it with explicit index
+       arithmetic.
+
+       * linux-thread.c (linuxthreads_attach, linuxthreads_detach,
+       linuxthreads_create_inferior): Fix typo in variable name: it's
+       linuxthreads_exit_status, not linux_exit_status.
+
+       * gdb_wait.h (WSETSTOP): Pass the appropriate number of arguments
+       to W_STOPCODE.
+
+       * solib.c (solib_add): Delete debugging code.
+
+2000-03-17  Mark Kettenis  <kettenis@gnu.org>
+
+       * gdb_wait.h: add definitions of WSETSTOP and WSETEXIT for Linux.
+       * linux-thread.c: Use WSETSTOP instead of W_STOPCODE.
+
+Fri Mar 17 11:06:59 2000  Philippe De Muyter  <phdm@macqel.be>
+
+       * language.c (set_lang_str): Do not call `free' for a null pointer.
+        (set_type_str, set_range_str): Ditto.
+
+2000-03-16  Jim Blandy  <jimb@redhat.com>
+
+        * i386-linux-nat.c (i386_linux_saved_pc_after_call): Lost in the
+       merge; reinstated.
+
+       * solib.c (current_sos): Be more careful about freeing the new
+       so_list node if an error occurs.
+
+       * i386-tdep.c (LINUX_SIGTRAMP_INSN0, LINUX_SIGTRAMP_OFFSET0,
+       LINUX_SIGTRAMP_INSN1, LINUX_SIGTRAMP_OFFSET1,
+       LINUX_SIGTRAMP_INSN2, LINUX_SIGTRAMP_OFFSET2, linux_sigtramp_code,
+       LINUX_SIGTRAMP_LEN, i386_linux_sigtramp_start,
+       LINUX_RT_SIGTRAMP_INSN0, LINUX_RT_SIGTRAMP_OFFSET0,
+       LINUX_RT_SIGTRAMP_INSN1, LINUX_RT_SIGTRAMP_OFFSET1,
+       linux_rt_sigtramp_code, LINUX_RT_SIGTRAMP_LEN,
+       i386_linux_rt_sigtramp_start, i386_linux_in_sigtramp,
+       i386_linux_sigcontext_addr, LINUX_SIGCONTEXT_PC_OFFSET,
+       i386_linux_sigtramp_saved_pc, LINUX_SIGCONTEXT_SP_OFFSET,
+       i386_linux_sigtramp_saved_sp):  Deleted.  These all implement
+       Linux-specific signal trampoline detection, and should be moved
+       to...
+       * i386-linux-nat.c: ... here.
+       * config/i386/tm-linux.h (I386_LINUX_SIGTRAMP): No need to define
+       this any more, since we're not enabling OS-specific code in a
+       OS-independent file.
+       
+2000-03-16  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * Makefile.in (go32-nat.o): Add prerequisites.
+       (ALLDEPFILES): Add go32-nat.c.
+
+2000-03-15  Michael Snyder  <msnyder@cleaver.cygnus.com>
+
+       From "Peter.Schauer" <Peter.Schauer@regent.e-technik.tu-muenchen.de>
+       * symfile.c (reread_symbols):  Clear msymbol hash table.
+
 2000-03-15  Jim Blandy  <jimb@redhat.com>
 
        Deal with the inferior unloading shared objects.
This page took 0.025193 seconds and 4 git commands to generate.