*** empty log message ***
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 090179c59559805a5647ae72199ff54841e9cf3c..498e2519069f0795db9545897d857755b417e772 100644 (file)
@@ -1,3 +1,432 @@
+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.
+
+       * 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.
+
+       * 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.
+       * solib.c (current_sos): New function, replacing find_solib.
+       (find_solib): Deleted.
+       (free_so): New function.
+       (clear_solib): Call free_so, instead of writing it out.
+       (solib_add): Rewritten: compare the inferior's current list of
+       shared objects with GDB's list, and do the required loads and
+       unloads.
+       (info_sharedlibrary_command, solib_address): Don't use find_solib
+       to walk the list of shared libraries: call solib_add, and then
+       walk the list at so_list_head normally.
+       * objfiles.c (free_objfile): Don't call CLEAR_SOLIB, and don't
+       detach the core target.  These tasks are taken care of elsewhere.
+       * target.c (remove_target_sections): New function.
+       * target.h (remove_target_sections): New declaration.
+
+       * solib.c (symbol_add_stub): Check whether we've already created
+       an objfile for this shared object first, before doing all that
+       work to compute section addresses, etc.
+
+       * objfiles.c (unlink_objfile): Report an internal error if objfile
+       doesn't occur in the object_files list.
+
+       * solib.c (special_symbol_handling): Delete argument; it's not
+       used.
+       
+       Changes from Peter Schauer <pes@regent.e-technik.tu-muenchen.de>:
+
+       * solib.c (SOLIB_EXTRACT_ADDRESS):  New macro to extract addresses
+       from solib structures. Use it throughout solib.c, get rid of all
+       CORE_ADDR casts.
+       (struct so_list):  Change type of lmaddr to CORE_ADDR.
+       (first_link_map_member):  Change return value type to CORE_ADDR,
+       update callers.
+       (solib_add_common_symbols):  Change parameter type to CORE_ADDR,
+       update callers.
+       (open_symbol_file_object, find_solib):  Change type of lm variable
+       to CORE_ADDR.
+
+2000-03-15  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * ser-go32.c (dos_noop, dos_raw, dos_noflush_set_tty_state)
+       (dos_print_tty_state, dos_info, _initialize_ser_dos): Convert
+       to ISO C.  Use ATTRIBUTE_UNUSED to avoid compiler warnings.
+       (dos_info): Avoid compiler warning when printing a ptrdiff_t.
+
+       * ser-go32.c (dos_get_tty_state): Fail if the (fake) handle was
+       not opened by dos_open, but let the 3 standard handles go through
+       unharmed.
+
+2000-03-14  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
+
+       * eval.c (evaluate_subexp_with_coercion): Add call to
+       check_typedef, to handle typedeffed vars correctly.
+
+Mon Mar 13 21:21:41 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * defs.h (STREQ, STRCMP, STREQN): Document that these macros are
+       somewhat redundant.
+       (QUIT): Note that this can probably be replaced by a function.
+
+2000-03-13  James Ingham  <jingham@leda.cygnus.com>
+
+       Add support for a variable object that tries to evaluate itself in 
+       the currently selected frame, rather than in a fixed frame.
+       
+       * wrapper.c,h (gdb_parse_exp_1): Added a wrapper for
+       gdb_parse_exp_1.
+       * varobj.h: Added USE_CURRENT_FRAME to varobj_type & changed def'n 
+       of varobj_create.
+       * varobj.c (varobj_list): Return type indicates whether the
+       variable's type has changed (for current frame variables).
+       (varobj_update): Handle the case where the variable's type has
+       changed.
+       (delete_variable_1): Allow for deletion of variables that have not 
+       been installed yet.
+       (new_root_variable): Initialize use_selected_frame variable.
+       (value_of_root): This is where most of the work to handle "current 
+       frame" variables was added.  Most of the complexity involves
+       handling the case where the type of the variable has changed.
+       (varobj_create): Add a "type" argument, to tell if the
+       variable is one of these "current frame" variables.  Also protect
+       call to parse_exp_1 from long jumping.
+       
+2000-03-13  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * go32-nat.c (struct env387): Remove declaration.
+       (print_387_status, i386_go32_float_info): Remove redundant
+       functions.
+       (regno_mapping, sig_map, excepn_map): Add braces around inner
+       initializers.
+       (many functions): Use ATTRIBUTE_UNUSED to shut up the compiler;
+       fix code which mixed signed with unsigned.
+       (go32_resume): Use TARGET_SIGNAL_LAST instead of -1.
+       (go32_wait): Initialize INT3_addr.
+       (go32_fetch_registers): Extend all FP registers that are shorter
+       than 4 bytes to 32 bits.  Support 32 standard FP registers defined
+       on config/i386/tm-i386.h.
+       (store_register): Support 32 FP registers.
+       (go32_create_inferior): Don't crash if handed a NULL pointer
+       instead of exec file name.
+       (ignore): Remove unused function.
+       (go32_insert_hw_breakpoint): Remove unused variables.
+       (init_go32_ops): Set value of processing_gcc_compilation to 2.
+
+Mon Mar 13 18:54:42 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       From 2000-03-10 Daniel Berlin <dan@cgsoftware.com> Fix C++
+       overloading, add support for seeing through references:
+       * valops.c (find_overload_match): Handle STABS overloading for
+       C++.
+       (find_overload_match): Look in right place for function arguments
+       in the debug info.
+       (find_overload_match): Rather than giving up when we have >1
+       perfect match, just choose one, especially since the
+       recommendation GDB gives ("disambiguate it by specifying function
+       signature"), is basically impossible.
+       (check_field_in): STREQ->strcmp_iw
+       (search_struct_field): STREQ->strcmp_iw
+       (find_method_list): STREQ->strcmp_iw
+       * gdbtypes.c (rank_one_type): Add ability to see through
+       references.
+       (rank_one_type): strcmp->strcmp_iw, because the whitespace could
+       be different.
+       (rank_function): Rank function properly (was doing it wrong
+       before, comparing the wrong parts of the arrays)
+       (rank_one_type): Change #if 0 to #ifdef DEBUG_OLOAD.
+       * gdbtypes.h: Add REFERENCE_CONVERSION_BADNESS for "badness"
+       associated with converting a non-reference to a reference.
+
+       * gdbtypes.c (rank_one_type): Add comment on how to eliminate the
+       #ifdef DEBUG_OLOAD.
+       
+2000-03-11  Mark Kettenis  <kettenis@gnu.org>
+
+       * gnu-nat.c: Fix the formatting where indent misinterpreted `&' as
+       a binary operator.
+       (gnu_attach): Change error message for missing
+       argument to be identical to the corresponding message in
+       `inftarg.c'.  This makes the testsuite happy.
+
+2000-03-11  Mark Kettenis  <kettenis@gnu.org>
+
+       * i386gnu-nat.c (gnu_store_registers): Make sure the T bit in the
+       %eflags isn't modified.  This fixes a bug where every call to a
+       function in the program beyond the first call would fail.
+
+Fri Mar 10 11:44:55 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * MAINTAINERS: Devolve responsibility for domain maintenance.
+
+2000-03-06  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
+
+       * minsyms.c (prim_record_minimal_symbol_and_info): Add comment.
+
+2000-02-25  Scott Bambrough <scottb@netwinder.org>
+
+       * gdb.base/long_long.exp: Correct test suite failure when printing
+       a long long value as a double on ARM platforms.
+
+Thu Mar  9 14:21:07 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * MAINTAINERS (Core): Anthony Green is the Java - including
+       testsuite - maintainer.  Reformat testsuite and language support
+       sections
+
+2000-03-08  Mark Kettenis  <kettenis@gnu.org>
+
+       * i386-tdep.c (i386_linux_saved_pc_after_call): New function.
+       * config/i386/tm-linux.h (SAVED_PC_AFTER_CALL): Define to call
+       i386_linux_saved_pc_after_call.
+
+2000-03-06  Jim Blandy  <jimb@redhat.com>
+
+       From Tom Tromey <tromey@cygnus.com> and Keith Seitz <?>:
+
+       * minsyms.c: #include <ctype.h>, for msymbol_hash_iw.
+       (compact_minimal_symbols): Added `objfile' argument.
+       Put symbols in the objfile's hash table.
+       (install_minimal_symbols): Put symbols in the objfile's demangled
+       hash table.
+       (lookup_minimal_symbol): Use hash table to find symbol in
+       objfile.
+       (msymbol_hash_iw, msymbol_hash, add_minsym_to_hash_table): New
+       functions.
+       (prim_record_minimal_symbol_and_info): Initialize the
+       hash link fields of the new minimal symbol.
+       * symtab.h (struct minimal_symbol): New fields `hash_next',
+       `demangled_hash_next'.
+       (msymbol_hash_iw, msymbol_hash, add_minsym_to_hash_table): Declare.
+       * objfiles.h (MINIMAL_SYMBOL_HASH_SIZE): New define.
+       (struct objfile): New fields `msymbol_hash',
+       `msymbol_demangled_hash'.
+
+2000-03-06  Jim Blandy  <jimb@redhat.com>
+
+       * solib.c (first_link_map_member): Doc fix.
+
+2000-03-06  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
+
+        From  Eli Zaretskii  <eliz@is.elta.co.il>:
+
+       * event-loop.c (poll_timers): Don't compare delta.tv_sec with
+       zero, since time_t might be unsigned.
+
+2000-03-06  Mark Kettenis  <kettenis@gnu.org>
+
+       * i386-linux-nat.c (supply_fpregset): Mask off the reserved bits
+       in *FPREGSETP.
+       (convert_to_fpregset): Don't touch the reserved bits in *FPREGSETP.
+
+2000-03-05  Mark Kettenis  <kettenis@gnu.org>
+
+       Allow GDB to run on Linux 2.0 again.
+       * config.in: Add HAVE_PTRACE_GETREGS.
+       * configure.in: Check if <sys/ptrace.h> defines PTRACE_GETREGS.
+       * configure: Regenerated.
+       * config/i386/nm-linux.h (CANNOT_FETCH_REGISTER,
+       CANNOT_STORE_REGISTER): New defines.
+       * i386-linux-nat.c (have_ptrace_getregs): New variable.
+       (PTRACE_XFER_TYPE, CANNOT_FETCH_REGISTER, fetch_register,
+       old_fetch_inferior_registers, CANNOT_STORE_REGISTER,
+       store_register, old_store_inferior_registers): Copied over from
+       `inptrace.c' as a temporary measure.
+       (fetch_regs, store_regs, fetch_fpregs, store_fpregs):
+       Conditionalize on HAVE_PTRACE_GETREGS.  Define stubs if
+       HAVE_PTRACE_GETREGS isn't defined.
+       (fetch_regs): Reset `have_ptrace_getregs' if ptrace call fails
+       with EIO.
+       (fetch_inferior_registers, store_inferior_registers): Fall back on
+       the method use in `infptrace.c' (by calling
+       old_fetch_inferior_registers and old_store_inferior_registers) if
+       `have_ptrace_getregs' isn't set.
+
+2000-03-05  Mark Kettenis  <kettenis@gnu.org>
+
+       * i386-linux-nat.c: Use elf_gregset_t and elf_fpregset_t instead
+       of gregset_t and fpregset_t.  Those are the only names that are
+       guaranteed to specify the right types for all supported Linux
+       systems out there.
+       Various doc fixes and gratitious local variable renames, all in an
+       attempt to stress similarities between the code and unify the
+       terminology used.  Use ISO-C all over.
+       (regmap): Remove trailing comma.
+       (FPREG_ADDR): Renamed from FPREGSET_T_FPREG_ADDR.
+       (convert_to_gregset): Make static.  Remove GDB_REGS argument.  It
+       is unnecessary and wasn't used anyway.  All callers changed.
+       (convert_to_fpregset, convert_to_xfpregset): Likewise.
+       (fetch_regs, store_regs): Remove unused variable `regno'.
+       (fill_fpregs): If REGNO is not -1, only update the specified
+       register.
+       (fetch_core_registers): Renamed from
+       i386_linux_fetch_core_registers.  There is no need for a unique
+       name since the function is static anyway.
+       (linux_elf_core_fns): Renamed from i386_linux_nat_core_functions
+       since it is more descriptive.
+
+Sun Mar  5 19:40:27 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * MAINTAINERS (readline/): Expand to include host maintainers.
+
+2000-03-04  Mark Kettenis  <kettenis@gnu.org>
+
+       Fix support for Linux/i386 signal trampolines.  The old approach
+       didn't work for Linux 2.2 and beyond, and didn't work with recent
+       versions of the GNU C library.
+       * i386-tdep.c (LINUX_RT_SIGTRAMP_INSN0, LINUX_RT_SIGTRAMP_OFFSET0,
+       LINUX_RT_SIGTRAMP_INSN1, LINUX_RT_SIGTRAMP_OFFSET1): New defines.
+       (linux_rt_sigtramp_code): New variable.
+       (LINUX_RT_SIGTRAMP_LEN): New define.
+       (i386_linux_rt_sigtramp_start): New function.  Detect start of
+       signal trampolines for RT signals.
+       (i386_linux_sigtramp): Removed.
+       (i386_linux_in_sigtramp): New function.
+       (i386_linux_sigcontext_addr): New function.  Recognize the names
+       of the signal tranmpolines used by recent versions of the GNU C
+       library, and add support for RT signals.
+        (LINUX_SIGCONTEXT_PC_OFFSET, LINUX_SIGCONTEXT_SP_OFFSET):  New
+       defines.  Moved here from config/i386/tm-linux.h.
+       (i386_linux_sigtramp_saved_pc, i386_linux_sigtramp_saved_sp):
+       Reimplement in terms of i386_linux_sigcontext_addr.
+       * config/i386/tm-linux.h (LINUX_SIGCONTEXT_SIZE): Removed.
+        (LINUX_SIGCONTEXT_PC_OFFSET, LINUX_SIGCONTEXT_SP_OFFSET):
+        Moved to i386-tdep.c.
+       (IN_SIGTRAMP): Redefine to call i386_linux_in_sigtramp.
+
+Sat Mar  4 19:38:11 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       By: Sat Mar 4 04:08:58 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
+       * Makefile.in (all-gdbtk): Fix $srcdir to ${srcdir}.
+
+Sat Mar  4 17:23:06 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * MAINTAINERS: Frank Ch. Eigler and Andrew Cagney co-ordinate the
+       sim directory.
+
+Sat Mar  4 16:19:31 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * MAINTAINERS: Add Michael Snyder and Peter Schauer to list of
+       ``Blanket Write Privs'' maintainers.
+
+Sat Mar  4 15:58:40 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       From Sun 20 Feb 2000 Robert Lipe <robertl@sco.com>:
+       * language.c (longest_local_hex_string_custom): Don't compile
+       'long long' section if host doesn't have 'long long'.
+
+Sat Mar  4 15:45:38 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * language.c (longest_raw_hex_string): Comment out.  Appears
+       unused.
+
+Sat Mar  4 13:02:09 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * utils.c (mcalloc), defs.h (mcalloc): Keep consistent with
+       "mmalloc.h" which means using PTRs.
+       (init_malloc, msavestring, mstrsave): Convert to PTR free ISO-C.
+
+Sat Mar  4 11:49:21 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * defs.h (store_address, store_unsigned_integer, store_address):
+       Replace PTR with void* in delcaration.
+       * findvar.c (extract_signed_integer, extract_unsigned_integer,
+       extract_long_unsigned_integer, extract_address,
+       store_signed_integer, store_unsigned_integer, store_address):
+       Convert definition to ISO-C.  Replace PTR with void*.
+
+Sat Mar  4 10:57:25 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * defs.h (make_cleanup_func): Document as deprecated.
+       (make_cleanup_ftype): New typedef.  Make signature consistent with
+       other function typedefs.  Document as not be used out side of
+       make_cleanup code. Use in make_cleanup declarations.
+       (null_cleanup): Replace PTR with void*.
+       
+       * utils.c (make_cleanup, make_final_cleanup, make_run_cleanup,
+       make_exec_cleanup, make_exec_error_cleanup, make_my_cleanup,
+       null_cleanup): Change K&R definition to ISO-C using void* and
+       make_cleanup_fytpe.
+       (discard_my_cleanups): Don't cast argument to free.
+
 2000-03-03  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
 
        * defs.h (struct continuation_arg): Change type of field 'data'
This page took 0.044114 seconds and 4 git commands to generate.