+2001-12-05 Andrew Cagney <cagney@redhat.com>
+
+ * target.c (cleanup_target): Do not initialize to_query to
+ return_zero.
+
+2001-12-05 Jim Blandy <jimb@redhat.com>
+
+ * s390-tdep.c (s390_get_frame_info): Recognize argument register
+ spills that use the `stm' instruction.
+ (is_arg_reg): New function.
+
+2001-12-03 Keith Walker <keith.walker@arm.com>
+ * gdbserver/low-linux.c (arm_register_u_addr): added.
+ (initialize_arch): added for ARM target.
+ * config/arm/nm-linux.h (U_REGS_OFFSET) defined.
+ (REGISTER_U_ADDR) defined.
+ * config/arm/tm-linux.h (ARM_GNULINUX_TARGET) defined.
+
+2001-12-04 Corinna Vinschen <vinschen@redhat.com>
+
+ * arm-tdep.c (arm_skip_prologue): Always skip prologue by scanning
+ the prologue if source is assembler.
+
+2001-12-04 Jackie Smith Cashion <jsmith@redhat.com>
+
+ * MAINTAINERS (write-after-approval): Add self.
+
+ * d10v-tdep.c (d10v_gdbarch_init): Change size of long long to 8 bytes.
+
+ From Andrew Cagney <cagney@redhat.com>:
+ * d10v-tdep.c (d10v_frame_chain_valid): Check if the caller's PC
+ is in the entry function.
+ (d10v_use_struct_convention): Store multi-field struct and union
+ return values on the stack.
+
+2001-12-04 Jim Blandy <jimb@redhat.com>
+
+ * s390-tdep.c (s390_get_frame_info): Recognize spills of reg
+ arguments into their stack slots.
+
+ * s390-tdep.c (s390_get_frame_info): More doc fixes.
+
+ * s390-tdep.c (s390_get_frame_info): Doc fixes.
+
+2001-12-04 Orjan Friberg <orjanf@axis.com>
+
+ * cris-tdep.c (cris_regnums): Add DCCR_REGNUM for completeness.
+ (cris_examine): Add comment about solib prologue parsing.
+ (bdap_prefix): Read offset with correct signedness and size.
+ (move_to_preg_op): Don't rely on register numbering for register size.
+ (none_reg_mode_move_from_preg_op): Ditto.
+
+2001-12-04 Orjan Friberg <orjanf@axis.com>
+
+ * solib.c (solib_open): Make path relative if search for absolute path
+ failed. If search for relative path in solib_search_path failed, fall
+ back to search for basename only.
+
+2001-12-03 Martin M. Hunt <hunt@redhat.com>
+
+ * serial.h: Add a note to serial_open.
+
+ * ser-tcp.c (tcp_open): Rewrite to use a non-blocking connect.
+ Allow UI and CLI to abort connect. Instead of trying 15 times
+ with very long timeouts, just try one connect with a maximum timeout
+ of 15 seconds.
+
+2001-12-03 Kevin Buettner <kevinb@redhat.com>
+
+ * config/powerpc/tm-macos.h (solib.h): Include.
+ * config/powerpc/tm-ppc-eabi.h (solib.h): Include.
+
+2001-12-03 Michael Snyder <msnyder@redhat.com>
+
+ * symtab.c (search_symbols): Make sure alloca size is big enough.
+
+2001-12-03 Andrew Cagney <ac131313@redhat.com>
+
+ * MAINTAINERS: Prune m68k targets down to just m68k-elf.
+
+2001-12-03 Jim Blandy <jimb@redhat.com>
+
+ * s390-tdep.c (s390_get_frame_info): Don't used fextra_info to set
+ orig_sp if it's not initialized.
+
+2001-11-30 Pierre Muller <muller@ics.u-strasbg.fr>
+
+ * findvar.c (locate_var_value): Specify in which register a register
+ variable is stored.
+
+2001-11-30 Pierre Muller <muller@ics.u-strasbg.fr>
+
+ * win32-nat.c (mappings): Correct position of XMM registers,
+ based on FXSAVE instruction structure.
+
+2001-12-02 Andrew Cagney <ac131313@redhat.com>
+
+ * jv-lang.c (get_java_class_symtab): Use xmmalloc instead of
+ mmalloc.
+
+ * coffread.c, dbxread.c, elfread.c, hp-psymtab-read.c, hpread.c,
+ nlmread.c, objfiles.c, os9kread.c, somread.c, source.c, symfile.c,
+ symmisc.c, xcoffread.c: Use xmfree instead of mfree.
+
+ * jv-lang.c (add_class_symtab_symbol): Use xmrealloc instead of
+ mrealloc.
+
+2001-12-02 Andrew Cagney <ac131313@redhat.com>
+
+ * i386-tdep.c (i386go32_frame_saved_pc): New function.
+ * config/i386/tm-go32.h (i386go32_frame_saved_pc): Declare.
+ (FRAME_SAVED_PC): Redefine to i386go32_frame_saved_pc.
+
+2001-12-01 Andrew Cagney <ac131313@redhat.com>
+
+ * defs.h: Update comment on HOST_BYTE_ORDER.
+ * config/xm-aix4.h: Delete definition of HOST_BYTE_ORDER.
+ * config/xm-nbsd.h, config/alpha/xm-alphalinux.h: Ditto.
+ * config/alpha/xm-alphaosf.h, config/alpha/xm-fbsd.h: Ditto.
+ * config/arm/xm-linux.h, config/i386/xm-cygwin.h: Ditto.
+ * config/i386/xm-i386bsd.h, config/i386/xm-i386gnu.h: Ditto.
+ * config/i386/xm-i386lynx.h, config/i386/xm-i386m3.h: Ditto.
+ * config/i386/xm-i386mach.h, config/i386/xm-i386v.h: Ditto.
+ * config/i386/xm-ptx.h, config/i386/xm-symmetry.h: Ditto.
+ * config/ia64/xm-aix.h, config/ia64/xm-linux.h: Ditto.
+ * config/m68k/xm-3b1.h, config/m68k/xm-apollo68b.h: Ditto.
+ * config/m68k/xm-apollo68v.h, config/m68k/xm-delta68.h: Ditto.
+ * config/m68k/xm-dpx2.h, config/m68k/xm-hp300bsd.h: Ditto.
+ * config/m68k/xm-hp300hpux.h, config/m68k/xm-m68k.h: Ditto.
+ * config/m68k/xm-m68klynx.h, config/m68k/xm-sun2.h: Ditto.
+ * config/m68k/xm-sun3.h, config/m88k/xm-dgux.h: Ditto.
+ * config/m88k/xm-m88k.h, config/mips/xm-irix3.h: Ditto.
+ * config/mips/xm-irix5.h, config/mips/xm-linux.h: Ditto.
+ * config/mips/xm-mips.h, config/mips/xm-mipsm3.h: Ditto.
+ * config/mips/xm-mipsv4.h, config/mips/xm-news-mips.h: Ditto.
+ * config/mips/xm-riscos.h, config/pa/xm-hppab.h: Ditto.
+ * config/pa/xm-hppah.h, config/powerpc/xm-linux.h: Ditto.
+ * config/romp/xm-rtbsd.h, config/rs6000/xm-rs6000.h: Ditto.
+ * config/rs6000/xm-rs6000ly.h, config/s390/xm-linux.h: Ditto.
+ * config/sparc/xm-sparc.h, config/sparc/xm-sparclynx.h: Ditto.
+ * config/vax/xm-vax.h: Ditto.
+
+ * config/a29k/tm-vx29k.h: Add #error as file depends on
+ HOST_BYTE_ORDER.
+ * config/a29k/tm-a29k.h: Ditto.
+ * MAINTAINERS (a29k-amd-udi): Document as broken.
+
+2001-12-01 Andrew Cagney <ac131313@redhat.com>
+
+ * Makefile.in (tm-news.h, tm-isi.h, xm-news1000.h): Delete.
+ (ALLDEPFILES): Delete news-xdep.c.
+ (news-xdep.o): Delete.
+ (isi-xdep.o): Delete.
+ * configure.tgt: Delete m68*-isi-*, m68*-sony-*, m68*-rom68k-*,
+ m68*-*bug-*, m68*-monitor-* and m68*-est-* targets.
+ * configure.host: Delete m68030-sony-*, m68*-isi-* and m68*-sony-*
+ Hosts.
+ * m68k-tdep.c (isi_skip_prologue): Delete function.
+ * news-xdep.c: Delete file.
+ * isi-xdep.c: Delete file.
+ * config/m68k/isi.mh: Delete file.
+ * config/m68k/isi.mt: Delete file.
+ * config/m68k/news.mh: Delete file.
+ * config/m68k/news.mt: Delete file.
+ * config/m68k/news1000.mh: Delete file.
+ * config/m68k/nm-news.h: Delete file.
+ * config/m68k/tm-isi.h: Delete file.
+ * config/m68k/tm-news.h: Delete file.
+ * config/m68k/xm-isi.h: Delete file.
+ * config/m68k/xm-news.h: Delete file.
+ * config/m68k/xm-news1000.h: Delete file.
+
+ * kdb-start.c: Delete file.
+ * stuff.c: Delete file.
+
+ * NEWS: Note that a29k-nyu-sym1 and a29k-*-kern* were deleted.
+ * configure.host: Delete a29k-*-* host.
+ * configure.tgt: Delete a29k-*-kern* and a29k-*-sym1* targets.
+ * config/a29k/a29k-kern.mt: Delete file.
+ * config/a29k/nm-ultra3.h: Delete file.
+ * config/a29k/tm-ultra3.h: Delete file.
+ * config/a29k/ultra3.mh: Delete file.
+ * config/a29k/ultra3.mt: Delete file.
+ * config/a29k/xm-ultra3.h: Delete file.
+
+ * NEWS: Note that i[3456]86-*-sunos* was deleted.
+ * Makefile.in (sun386-nat.o): Delete.
+ * configure.tgt: Delete i[3456]86-*-sunos* target.
+ * configure.host: Delete i[3456]86-*-sunos* host.
+ * sun386-nat.c: Delete.file.
+ * config/i386/nm-sun386.h: Delete file.
+ * config/i386/sun386.mh: Delete file.
+ * config/i386/sun386.mt: Delete file.
+ * config/i386/tm-sun386.h: Delete file.
+ * config/i386/xm-sun386.h: Delete file.
+
+ * NEWS: Note that ns32k-*-mach3*, ns32k-umax-*, ns32k-utek-sysv*
+ and ns32k-utek-* were deleted.
+ * Makefile.in (ultra3-nat.o, ultra3-xdep.o): Delete.
+ (umax-xdep.o, ns32km3-nat.o): Delete.
+ * configure.tgt: Delete ns32k-*-mach3*, ns32k-utek-sysv* and
+ ns32k-utek-* targets.
+ * configure.host: Delete ns32k-*-mach3*, ns32k-umax-* and
+ ns32k-utek-sysv* hosts.
+ * ultra3-nat.c: Delete file.
+ * ultra3-xdep.c: Delete file.
+ * umax-xdep.o: Delete file.
+ * ns32km3-nat: Delete file.
+ * config/ns32k/merlin.mh: Delete file.
+ * config/ns32k/merlin.mt: Delete file.
+ * config/ns32k/nm-umax.h: Delete file.
+ * config/ns32k/ns32km3.mh: Delete file.
+ * config/ns32k/ns32km3.mt: Delete file.
+ * config/ns32k/tm-merlin.h: Delete file.
+ * config/ns32k/tm-ns32km3.h: Delete file.
+ * config/ns32k/umax.mh: Delete file.
+ * config/ns32k/umax.mt: Delete file.
+ * config/ns32k/xm-merlin.h: Delete file.
+ * config/ns32k/xm-ns32km3.h: Delete file.
+ * config/ns32k/xm-umax.h: Delete file.
+
+ * NEWS: Note that m88*-harris-cxux* was deleted.
+ * configure.host: Delete m88*-harris-cxux* host.
+ * configure.tgt: Delete m88*-harris-cxux* target.
+ * config/m88k/cxux.mh: Delete file.
+ * config/m88k/cxux.mt: Delete file.
+ * config/m88k/nm-cxux.h: Delete file.
+ * config/m88k/tm-cxux.h: Delete file.
+ * config/m88k/xm-cxux.h: Delete file.
+
+ * NEWS: Note that powerpc-*-netware*, powerpcle-*-cygwin* and
+ powerpcle-*-solaris* were deleted.
+ * configure.host: Delete powerpcle-*-cygwin* and
+ powerpcle-*-solaris* hosts.
+ * configure.tgt: Delete powerpc-*-netware*, powerpcle-*-cygwin*
+ and powerpcle-*-solaris* targets.
+ * config/powerpc/cygwin.mh: Delete file.
+ * config/powerpc/cygwin.mt: Delete file.
+ * config/powerpc/nm-solaris.h: Delete.file.
+ * config/powerpc/ppc-nw.mt: Delete file.
+ * config/powerpc/solaris.mh: Delete file.
+ * config/powerpc/solaris.mt: Delete file.
+ * config/powerpc/tm-cygwin.h: Delete file.
+ * config/powerpc/tm-ppc-nw.h: Delete file.
+ * config/powerpc/tm-solaris.h: Delete file.
+ * config/powerpc/xm-cygwin.h: Delete file.
+ * config/powerpc/xm-mpw.h: Delete file.
+ * config/powerpc/xm-solaris.h: Delete file.
+
+ * NEWS, MAINTAINERS: Note that w65-*-* was deleted.
+ * configure.tgt: Delete w65-*-*.
+ * Makefile.in (w65-tdep.o): Delete.
+ * config/w65/tm-w65.h: Delete file.
+ * config/w65/w65.mt: Delete file.
+ * w65-tdep.c: Delete file.
+
+ * NEWS: Mention deleted tic80-*-*.
+ * configure.tgt: Delete tic80-*-*.
+ * Makefile.in (tic80-tdep.o): Delete.
+ * config/tic80/tic80.mt: Delete.
+ * config/tic80/tm-tic80.h: Delete.
+ * tic80-tdep.c: Delete.
+ * MAINTAINERS: Note that tic80 was deleted.
+
+2001-11-30 Kevin Buettner <kevinb@redhat.com>
+
+ * ppc-linux-tdep.c (solib-svr4.h): Include.
+ (ppc_linux_svr4_fetch_link_map_offsets): New function.
+ * ppc-tdep.h (ppc_linux_svr4_fetch_link_map_offsets): Declare.
+ * rs6000-tdep.c (solib-svr4.h): Include.
+ (rs6000_gdbarch_init): Set up ppc_linux_svr4_fetch_link_map_offsets()
+ as the link map offsets fetcher.
+
+ * config/powerpc/aix.mt (TDEPFILES): Add solib-svr4.o.
+ * config/powerpc/macos.mt (TDEPFILES): Likewise.
+ * config/powerpc/nbsd.mt (TDEPFILES): Likewise.
+ * config/powerpc/ppc-eabi.mt (TDEPFILES): Likewise.
+ * config/powerpc/ppc-sim.mt (TDEPFILES): Likewise.
+ * config/powerpc/ppcle-eabi.mt (TDEPFILES): Likewise.
+ * config/powerpc/ppcle-sim.mt (TDEPFILES): Likewise.
+ * config/powerpc/vxworks.mt (TDEPFILES): Likewise.
+ * config/rs6000/aix4.mt (TDEPFILES): Likewise.
+ * config/rs6000/rs6000.mt (TDEPFILES): Likewise.
+ * config/rs6000/rs6000lynx.mt (TDEPFILES): Likewise.
+
+2001-11-30 Kevin Buettner <kevinb@redhat.com>
+
+ From Louis Hamilton <hamilton@redhat.com>:
+ * arm-tdep.c (solib-svr4.h): Include.
+ (arm_linux_svr4_fetch_link_map_offsets): New function.
+ * config/arm/tm-linux.h (SVR4_FETCH_LINK_MAP_OFFSETS): Define.
+ (arm_linux_svr4_fetch_link_map_offsets): Declare.
+
+2001-11-30 Daniel Jacobowitz <drow@mvista.com>
+
+ * values.c (value_primitive_field): Add embedded_offset to the
+ address of structure members.
+ * gnu-v3-abi.c (gnuv3_rtti_type): Cast to base type before
+ attempting to access vtable pointer. Set using_enc_p if we cast.
+ (gnuv3_virtual_fn_field): Call value_cast with structure rather than
+ structure pointer. Cast to base type before attempting to access
+ vtable pointer.
+
+2001-11-29 Elena Zannoni <ezannoni@redhat.com>
+
+ * Makefile.in (ppc-linux-nat.o): Add dependency on ppc-tdep.h.
+
+ * ppc-tdep.h (PPC_GPLAST_REGNUM): Define.
+
+ * ppc-linux-nat.c: Include ppc-tdep.h.
+ (ppc_register_u_addr): Don't use the static array regmap[],
+ dynamically define the mapping instead.
+ (supply_gregset): Ditto.
+ (fill_gregset): Ditto.
+ (COPY_REG): Delete macro defintion.
+ (regmap): Delete array.
+
+2001-11-29 Jim Blandy <jimb@redhat.com>
+
+ Tighten up GDB's support for returning structs by value.
+ * s390-tdep.c (s390_use_struct_convention): New function.
+ (s390_gdbarch_init): Register it as the S/390's
+ USE_STRUCT_CONVENTION method. Register
+ generic_cannot_extract_struct_value_address as our
+ EXTRACT_STRUCT_VALUE_ADDRESS method.
+ * arch-utils.c (generic_cannot_extract_struct_value_address): New
+ function.
+ * arch-utils.h: Add corresponding prototype.
+
+ * values.c (value_being_returned): Make error message a proper
+ sentence.
+
+2001-11-27 Keith Walker <keith.walker@arm.com>
+
+ * dwarf2read.c (read_attribute_value): New function to handle
+ DW_FORM_indirect
+ (read_attribute): uses read_attribute_value
+
+2001-11-29 Jim Blandy <jimb@redhat.com>
+
+ * s390-tdep.c (s390_frame_saved_pc_nofix): If the prologue didn't
+ save the return address register, assume that the return address
+ is still in there.
+
+2001-11-27 Andrew Cagney <ac131313@redhat.com>
+
+ * MAINTAINERS: Clarify obvious fix a little (as suggested by Eli
+ Zaretskii).
+
+2001-11-25 Jim Blandy <jimb@redhat.com>
+
+ * mn10300-tdep.c (mn10300_analyze_prologue): Doc fixes.
+
+2001-11-27 Jim Blandy <jimb@redhat.com>
+
+ * s390-tdep.c: Get frame chains and saved pc values properly from
+ dummy frames.
+ (s390_frame_saved_pc_nofix): if `*fi' is a dummy frame, get the
+ saved PC from the dummy frame's registers.
+ (s390_frame_chain): Same for the saved SP.
+ (s390_gdbarch_init): Register `generic_save_dummy_frame_tos' as
+ the `SAVE_DUMMY_FRAME_TOS' method, so the dummy frame's `top' gets
+ set correctly.
+
+ * s390-tdep.c (s390_frame_chain): Remember that the SP's element
+ of the frame's saved_regs array is special.
+
+ * s390-tdep.c (register_names): Call the general-purpose registers
+ `r0' -- `r15', and the floating-point registers `f0' -- `f15', to
+ match the assembly language.
+
+2001-11-26 Pierre Muller <muller@ics.u-strasbg.fr>
+
+ * config/i386/tm-cygwin.h: Define HAVE_SSE_REGS if
+ HAVE_CONTEXT_EXTENDED_REGISTERS is defined.
+ * win32-nat.c: Define CONTEXT_DEBUGGER_DR that will also include
+ extended registers if HAVE_SSE_REGS is defined.
+ (mappings array): Add offset of extended registers.
+ (thread_rec): Use new CONTEXT_DEBUGGER_DR macro.
+
+2001-11-26 Tom Tromey <tromey@redhat.com>
+
+ * NEWS: Updated.
+ * event-loop.c (start_event_loop): Call
+ after_char_processing_hook.
+ * event-top.h (after_char_processing_hook): Declare.
+ * event-top.c (rl_callback_read_char_wrapper): Call
+ after_char_processing_hook.
+ (after_char_processing_hook): New global.
+ * top.c (operate_saved_history): New global.
+ (gdb_rl_operate_and_get_next): New function.
+ (init_main): Add the operate-and-get-next defun.
+ (gdb_rl_operate_and_get_next_completion): New function.
+
+2001-11-26 Tom Tromey <tromey@redhat.com>
+
+ * NEWS: Update for --args.
+ * infcmd.c (construct_inferior_arguments): Moved from ...
+ * fork-child.c: ... here.
+
+2001-11-26 Jim Blandy <jimb@redhat.com>
+
+ * symtab.c (find_pc_sect_line): Revert change of 2001-11-13; add
+ comment explaining that hand-written assembly code can have line
+ number info but no debug info for an enclosing function.
+
2001-11-26 Jakub Jelinek <jakub@redhat.com>
* sparc-nat.c (fetch_inferior_registers): Don't rely