+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'
+ from PTR to void *.
+
+ * event-loop.h: Eliminate uses of PTR, use 'void *' instead.
+
+ * event-top.c: Ditto.
+
+Fri Mar 3 15:39:34 2000 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * Makefile.in (CONFIG_CLEAN, CONFIG_ALL, LN_S): Defined by
+ configure.
+ (SUBDIR_MI_CLEAN, SUBDIR_GDBTK_CLEAN, SUBDIR_MI_ALL,
+ SUBDIR_GDBTK_ALL): Define.
+ (all-gdbtk, clean-gdbtk): New targets.
+ (all): Add CONFIG_ALL as dependency.
+ (clean): Add CONFIG_CLEAN as dependency.
+
+ * configure.in (CONFIG_ALL, CONFIG_CLEAN): Define.
+ (LN_S): Define. Delete GDBtk's link code.
+
+Fri Mar 3 13:12:34 2000 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * configure.in (ENABLE_GDBTK): Delete variable.
+ (enable-gdbtk): Only enable gdbtk when there is a GDBTK directory.
+ * Makefile.in: Update.
+ * configure: Regenerate
+
+2000-03-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
+
+ * config/alpha/alpha-linux.mh: Remove core-regset.o fron the
+ NATDEPFILES list.
+
+2000-03-02 Mark Kettenis <kettenis@gnu.org>
+
+ * config/i386/tm-i386aix.h (NUM_FPREGS, NUM_REGS, REGISTER_BYTES):
+ Override definitions to include the normal FPU registers.
+ (REGISTER_CONVERTIBLE, REGISTER_CONVERT_TO_VIRTUAL,
+ REGISTER_CONVERT_TO_RAW): Removed. The default definitions are
+ fine for AIX/i386.
+ (i387_to_double, double_to_i387): Remove prototypes.
+
+2000-03-02 Kevin Buettner <kevinb@redhat.com>
+
+ * findvar.c (extract_floating, store_floating): Use target
+ floating point type sizes rather host sizes to determine
+ which conversion needs to be done.
+
+2000-03-02 Nick Duffek <nsd@cygnus.com>
+
+ * uw-thread.c: Apply GNU conventions to comment formatting.
+ (deactivate_uw_thread): Call remove_thread_event_breakpoints().
+ (uw_thread_mourn_inferior): Move remove_thread_event_breakpoints()
+ call to deactivate_uw_thread().
+
+Thu Mar 2 09:04:46 2000 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * MAINTAINERS: Daniel Berlin is C++ maintainer.
+
+Thu Mar 2 08:55:35 2000 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * MAINTAINERS: Mark Kettenis is the x86 architcture maintainer and
+ a joint GNU/Linux/x86 maintainer. Nick Duffeck and Robert Lipe
+ share SCO/Unixware. Nick Duffek and Peter Schauer share
+ Solaris/x86.
+
+Wed Mar 1 22:12:35 2000 Andrew Cagney <cagney@b1.cygnus.com>
+
+ From Wed 23 Feb 2000 Fernando Nasser <fnasser@redhat.com>:
+ * remote-sim.c (gdbsim_close): Call generic_mourn_inferior.
+ * remote-rdi.c (arm_rdi_close): Ditto.
+
+Wed Mar 1 19:31:32 2000 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * CONTRIBUTE (configure.in): Note that patches to configure are
+ not needed.
+
+2000-03-01 Mark Kettenis <kettenis@gnu.org>
+
+ * MAINTAINERS: Correct my own mail address.
+
+Wed Mar 1 11:26:07 2000 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * MAINTAINERS: Document people with paperwork pending.
+
+Wed Mar 1 00:49:06 2000 Andrew Cagney <cagney@b1.cygnus.com>
+
+ From 2000-02-28 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>:
+ Make NEW_PROC_ABI interface functional on Solaris x86.
+ * sol-thread.c (ps_lgetLDT): Rewrite to use new
+ procfs_find_LDT_entry function from procfs.c, mostly copied from
+ lin-thread.c.
+ * inferior.h, procfs.c (procfs_get_pid_fd): Removed, no longer
+ needed.
+
+Wed Mar 1 00:34:55 2000 Andrew Cagney <cagney@b1.cygnus.com>
+
+ From 2000-02-26 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>:
+ * config/i386/tm-i386sol2.h (MERGEPID): Define.
+
+Wed Mar 1 00:06:19 2000 Andrew Cagney <cagney@b1.cygnus.com>
+
+ From 1999-08-13 J.T. Conklin <jtc@redback.com>:
+ * config/i386/tm-i386.h (FRAME_INIT_SAVED_REGS): Replace
+ FRAME_FIND_SAVED_REGS.
+ (i386_frame_init_saved_regs): Replace i386_frame_find_saved_regs.
+ * i386-tdep.c (i386_frame_init_saved_regs, i386_pop_frame):
+ Update.
+
+Tue Feb 29 23:56:41 2000 Andrew Cagney <cagney@b1.cygnus.com>
+
+ From 2000-02-23 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>:
+ * objfiles.c (open_mapped_file): Fix obsolete references to `mapped'
+ parameter.
+
+Tue Feb 29 18:47:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
+
+ From 2000-02-23 Eli Zaretskii <eliz@is.elta.co.il>:
+ * config/i386/nm-go32.h (FLOAT_INFO): Remove macro definition.
+ (top level): Add prototypes for go32_* functions.
+ * config/i386/tm-go32.h (I386_DJGPP_TARGET): Define.
+ (FRAME_CHAIN, FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC):
+ Override definitions from tm-i386.h.
+ (REGISTER_VIRTUAL_TYPE): Remove macro definition.
+ * i386-tdep.c (i386_extract_return_value)
+ [I386_AIX_TARGET || I386_GNULINUX_TARGET]: Add I386_DJGPP_TARGET
+ to the list of targets which return FP values in FP registers.
+
+ * i386-tdep.c (i386_extract_return_value): Add FIXME recommending
+ that this function be re-implemented using multi-arch.
+
+Tue Feb 29 18:40:08 2000 Andrew Cagney <cagney@b1.cygnus.com>
+
+ From 2000-02-23 Eli Zaretskii <eliz@is.elta.co.il>:
+ * utils.c [__GO32__]: Include pc.h, for prototypes of ScreenCols
+ and ScreenRows.
+ * ser-go32.c: Include string.h, for prototype of strncasecmp.
+ (dpmi_regs, dpmi_sregs): Remove unused variables.
+ (dos_flush_input): Return a value, to prevent compiler warning.
+ * expprint.c (dump_prefix_expression): Use %ld in format and cast
+ sizeof(union exp_element) to long, to prevent GCC from complaining
+ about format/argument mismatch.
+ (dump_postfix_expression): Likewise.
+
+Tue Feb 29 18:09:46 2000 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * arm-tdep.c: Include <ctype.h>.
+
+Tue Feb 29 17:33:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
+
+ From Wed, 23 Feb 2000 Fernando Nasser <fnasser@redhat.com>:
+ * stack.c (backtrace_command_1), infrun.c (normal_stop): Check
+ that the target's stack was valid.
+
+Tue Feb 29 15:14:56 2000 Andrew Cagney <cagney@b1.cygnus.com>
+
+ From 2000-02-22 Stephane Carrez <stcarrez@worldnet.fr>:
+ * dwarf2read.c (read_address): Read 16-bits addresses.
+
+2000-02-28 Scott Bambrough <scottb@netwinder.org>
+
+ * arm-linux-nat.c (fetch_nw_fpe_*):
+ Renamed to fetch_nwfpe_* to use the same naming convention
+ as in the Linux kernel. Modified prototype to get rid of
+ unused parameters.
+ (store_nw_fpe_*): Renamed to store_nwfpe_* to use the same
+ naming convention as in the Linux kernel. Fixed calls to
+ fetch_nwfpe_*.
+ (store_fpregs): Fixed calls to store_nwfpe_*. Removed
+ unused variable.
+
+Mon Feb 28 18:24:32 2000 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * MAINTAINERS: Transfer d30v maintainership to David Taylor.
+
+2000-02-28 Christopher Faylor <cgf@cygnus.com>
+
+ * win32-nat.c: Remove unneeded header.
+ * wince.c: Ditto.
+
+Mon Feb 28 13:34:54 2000 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * wince.c: Include "gdb_wait.h" and not "wait.h".
+
+Mon Feb 28 10:58:45 2000 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * MAINTAINERS: Mention mmalloc. Expand Host/Native and
+ Target/Architecture maintainers descriptions.
+
+2000-02-26 Mark Kettenis <kettenis@gnu.org>
+
+ * gnu-nat.c: Include "gdbthread.h". Include <hurd.h>.
+ Reorder headers a bit. Overall cleanup and minor reformatting.
+ (MIG_SERVER_DIED): Remove define.
+ (proc_update_sc): Add braces to silence compiler warning.
+ (proc_steal_exc_port): Initialize err to zero.
+ (make_proc): Add braces to silence compiler warning.
+ (inf_validate_task_sc): Add cast to silence compiler warning.
+ (inf_set_traced): Reorganize a bit to silence compiler warning.
+ (inf_validate_procs): Use mach_msg_type_number_t for all thread
+ numbers and add braces to silence compiler warning.
+ (gnu_wait): Add prototypes for server functions and add braces to
+ silence compiler warnings.
+ (S_exception_raise_request): Pass subcode to inf_debug call.
+ (gnu_write_inferior): Remove unused variable `protection_changed'.
+ (gnu_xfer_memory): Remove unused variable `result'.
+ (set_sig_thread_cmd): Remove unused varible `tid'.
+ (set_signals_cmd): Remve unused variable `trace'.
+ (add_task_commands): Provide complete prototype. Reformat help
+ strings a bit to make sure the first line is a full sentence.
+ Call info_port_rights_cmd instead of info_send_rights_cmd for the
+ "info port-rights" command.
+ (add_thread_commands): Provide complete prototype. Make static.
+ Reformat help strings a bit to make sure the first line is a full
+ sentence.
+ (_initialize_gnu_nat): Provide complete prototype.
+
+2000-02-26 Mark Kettenis <kettenis@gnu.org>
+
+ Make cross-compilation for the Hurd more friendly.
+ From Jeff Bailey <jbailey@gnu.org>:
+ * configure.in: Use AC_CHECK_TOOL to find MiG.
+ * Makefile.in (MIG): New variable.
+ * config/i386/i386gnu.mh (MIG): Remove.
+ * configure: Regenerated.
+
2000-02-26 Kevin Buettner <kevinb@redhat.com>
* ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Add
* configure.tgt: Add arm, mips, sh wince targets.
* config/arm/tm-wince.h: New file.
- * config/arm/wince.mt New file.
+ * config/arm/wince.mt: New file.
* config/sh/tm-wince.h: New file.
- * config/sh/wince.mt New file.
+ * config/sh/wince.mt: New file.
* config/mips/tm-wince.h: New file.
- * config/mips/wince.mt New file.
+ * config/mips/wince.mt: New file.
* wince.c: New file.
* wince-stub.c: New file.
* wince-stub.h: New file.