* ld-scripts/crossref.exp: Allow foo to have a leading dot.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 2b36c57640c9e0503ce18298c9be7d19cf5cb190..30e160ef2fa6d22f10010cfa01f01b8aa4176006 100644 (file)
@@ -1,3 +1,724 @@
+2002-01-30  Michael Snyder  <msnyder@redhat.com>
+
+       * NEWS: Mention "set trust-readonly-sections" command.
+       Mention generate-core-file command.
+
+2002-01-15  Michael Snyder  <msnyder@redhat.com>
+
+       * target.c: New command, "set trust-readonly-sections on".
+       (do_xfer_memory): Honor the suggestion to trust readonly sections
+       by reading them from the object file instead of from the target.
+       (initialize_targets): Register command "set trust-readonly-sections".
+
+2002-01-29  Andrew Cagney  <ac131313@redhat.com>
+
+       * parse.c (target_map_name_to_register): Simplify, search regs and
+       pseudo-regs using a single loop.
+
+2002-01-30  Andrew Cagney  <ac131313@redhat.com>
+
+       * PROBLEMS: Note that the i386 fix was missing from 5.1.1.
+
+2002-01-15  Rodney Brown  <rbrown64@csc.com.au>
+
+       * config/i386/tm-i386v4.h: Define HAVE_I387_REGS.
+       * config/i386/i386v42mp.mh: Add i387-nat.o .
+       * i386v4-nat.c: Include i387-nat.h.
+       (supply_fpregset): Use i387_supply_fsave.
+       (fill_fpregset): Use i387_fill_fsave.
+
+2002-01-30  Richard Earnshaw  <rearnsha@arm.com>
+
+       * arm-tdep.c (arm_call_dummy_words): Define.
+       * arm-linux-tdep.c (arm_linux_call_dummy_words): Define.
+       * config/arm/tm-arm.h (CALL_DUMMY_P): Define.
+       (CALL_DUMMY_WORDS): Define.
+       (arm_call_dummy_words): Declare.
+       * config/arm/tm-linux.h (CALL_DUMMY_WORDS): Define.
+       (arm_linux_call_dummy_words): Declare.
+
+2002-01-30  Andreas Schwab  <schwab@suse.de>
+
+       * m68klinux-nat.c: Fix last change to use regcache_collect
+       instead of referencing registers[] directly.
+
+2002-01-29  Andrew Cagney  <ac131313@redhat.com>
+
+       * parse.c (target_map_name_to_register): Delete code wrapped in
+       #ifdef REGISTER_NAME_ALIAS_HOOK.
+
+2002-01-28  Michael Snyder  <msnyder@redhat.com>
+
+       * regcache.c (legacy_read_register_gen): Need to be able to
+       read pseudo-register as well as real register.
+       (legacy_write_register_gen): Ditto.
+
+2002-01-28  Andrew Cagney  <ac131313@redhat.com>
+
+       * config/mips/tm-wince.h (TARGET_BYTE_ORDER): Delete.
+       * config/sparc/tm-sparc.h (TARGET_BYTE_ORDER): Delete.
+       * config/ns32k/tm-umax.h (TARGET_BYTE_ORDER): Delete.
+       * config/ia64/tm-ia64.h (TARGET_BYTE_ORDER): Delete.
+       * config/m32r/tm-m32r.h (TARGET_BYTE_ORDER): Delete.
+       * config/m68k/tm-m68k.h (TARGET_BYTE_ORDER): Delete.
+       * config/m88k/tm-m88k.h (TARGET_BYTE_ORDER): Delete.
+       * config/mn10200/tm-mn10200.h (TARGET_BYTE_ORDER): Delete.
+       * config/pa/tm-hppa.h (TARGET_BYTE_ORDER): Delete.
+       * config/sh/tm-wince.h (TARGET_BYTE_ORDER): Delete.
+       * config/v850/tm-v850.h (TARGET_BYTE_ORDER): Delete.
+       * config/vax/tm-vax.h (TARGET_BYTE_ORDER): Delete.
+       * config/z8k/tm-z8k.h (TARGET_BYTE_ORDER): Delete.
+       * config/i960/tm-i960.h (TARGET_BYTE_ORDER): Delete.
+       * config/i386/tm-i386.h (TARGET_BYTE_ORDER): Delete.
+       * config/h8500/tm-h8500.h (TARGET_BYTE_ORDER): Delete.
+       * config/h8300/tm-h8300.h (TARGET_BYTE_ORDER): Delete.
+       * config/fr30/tm-fr30.h (TARGET_BYTE_ORDER): Delete.
+       * config/d30v/tm-d30v.h (TARGET_BYTE_ORDER): Delete.
+       * config/alpha/tm-alpha.h (TARGET_BYTE_ORDER): Delete.
+
+2002-01-28  Andrew Cagney  <ac131313@redhat.com>
+
+       * arch-utils.c (TARGET_BYTE_ORDER_DEFAULT): Delete macro.
+       (target_byte_order): Initialize to BFD_ENDIAN_BIG.
+       (initialize_current_architecture): Update target_byte_order using
+       information from BFD.
+       * config/powerpc/tm-ppcle-eabi.h (TARGET_BYTE_ORDER_DEFAULT):
+       * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_DEFAULT): 
+       * config/arm/tm-arm.h (TARGET_BYTE_ORDER_DEFAULT): Delete.
+
+2002-01-28  Andrew Cagney  <ac131313@redhat.com>
+
+       * config/vax/tm-vax.h (INVALID_FLOAT): Move macro from here...
+       * vax-tdep.c (INVALID_FLOAT): To here.  Document why it is broken.
+
+       * rs6000-tdep.c (rs6000_do_registers_info): Delete code wrapped in
+       #ifdef INVALID_FLOAT.
+       * infcmd.c (do_registers_info): Ditto.
+       * values.c (unpack_double): Ditto.  Add comment.
+
+       * config/ns32k/tm-umax.h (INVALID_FLOAT): Delete macro that was
+       already commented out.
+
+2002-01-26  Andreas Schwab  <schwab@suse.de>
+
+       * config/m68k/nm-linux.h (FETCH_INFERIOR_REGISTERS): Define.
+       * m68klinux-nat.c: Update ptrace interface for fetching/storing
+       registers and add support for PTRACE_GETREGS.
+
+2002-01-24  Andrew Cagney  <ac131313@redhat.com>
+
+       GDB 5.1.1 released from 5.1 branch.
+       * NEWS: Add 5.1.1 news.
+       * README: Sync with 5.1 branch.
+
+2002-01-23  Fred Fish  <fnf@redhat.com>
+
+       * mdebugread.c (parse_partial_symbols): Only copy stabstring1 to
+       stabstring on initial malloc.  Reallocing will copy it for us,
+       if necessary.
+
+2002-01-23  Elena Zannoni  <ezannoni@redhat.com>
+
+        * Makefile.in (hpread_h): Delete. 
+        (HFILES_NO_SRCDIR): Remove hpread.h.
+        (ALLDEPFILES): Remove hp-psymtab-read.c and hp-symtab-read.c.
+        (hpread.o): Update dependencies.
+        (hp-psymtab-read.o, hp-symtab-read.o): Remove.
+
+        * hp-psymtab-read.c: Remove file.
+        * hp-symtab-read.c: Remove file.
+        * hpread.h: Remove file.
+
+        * hpread.c: Merge all contents of hp-psymtab-read.c,
+        hp-symtab-read.c and hpread.h into this file, as it was prior to
+        January 1999.
+
+        * config/pa/hpux11w.mh, config/pa/hpux11.mh,
+        config/pa/hpux1020.mh, config/pa/hppaosf.mh, 
+        config/pa/hppahpux.mh, config/pa/hppabsd.mh (NATDEPFILES):
+        Remove hp-psymtab-read.o and hp-symtab-read.o, add hpread.o.
+
+2002-01-23  Elena Zannoni  <ezannoni@redhat.com>
+
+       * ppc-linux-nat.c (ppc_register_u_addr, supply_gregset,
+       fill_gregset): Call gdbarch_tdep() just once, assign result to
+       variable and use that, instead of calling the function several
+       times.
+
+2002-01-24  Alexandre Oliva  <aoliva@redhat.com>
+
+       * configure.host: Accept sparcv9 as alias for sparc64.
+       * configure.tgt: Likewise.
+
+2002-01-22  Kevin Buettner  <kevinb@redhat.com>
+
+       * solib-aix5.c (build_so_list_from_mapfile)
+       (aix5_relocate_main_executable): Fix xcalloc() calls so order of
+       arguments is not reversed.
+       * solib-sunos.c (sunos_relocate_main_executable): Likewise.
+       * solib-svr4.c (svr4_relocate_main_executable): Likewise.
+       
+2002-01-22  Elena Zannoni  <ezannoni@redhat.com>
+
+       * sh-tdep.c (sh_pseudo_register_read): New function. Renamed and
+       modified version of obsolete sh_fetch_pseudo_register.
+       (sh_fetch_pseudo_register): Rename to sh_pseudo_register_read.
+       (sh4_register_read): New function.
+       (sh_pseudo_register_write): New function. Renamed and modified
+       version of obsolete sh_store_pseudo_register.
+       (sh_store_pseudo_register): Rename to sh_pseudo_register_write.
+       (sh4_register_write): New function.
+       (sh_gdbarch_init): Remove setting of gdbarch function
+       fetch_pseudo_register and store_pseudo_register. Remove setting of
+       register_convert_to_raw, register_convert_to_virtual,
+       register_convertible.
+       (sh_sh4_register_convertible): Delete. No longer needed. All is
+       taken care by architecture specific functions
+       register_read/register_write.
+       (sh_sh4_register_convert_to_virtual): Make static.
+       (sh_sh4_register_convert_to_raw): Ditto.
+
+2002-01-22  Andrew Cagney  <ac131313@redhat.com>
+
+       * doublest.c (floatformat_is_negative): Assert FMT is non NULL.
+       (floatformat_is_nan, floatformat_mantissa): Ditto.
+
+       * gdbtypes.c (_initialize_gdbtypes): Initialize TYPE_FLOATFORMAT
+       for builtin_type_ieee_single_little, builtin_type_ieee_double_big,
+       builtin_type_ieee_double_little,
+       builtin_type_ieee_double_littlebyte_bigword,
+       builtin_type_m68881_ext, builtin_type_i960_ext,
+       builtin_type_m88110_ext, builtin_type_m88110_harris_ext,
+       builtin_type_arm_ext_big, builtin_type_arm_ext_littlebyte_bigword,
+       builtin_type_ia64_spill_big, builtin_type_ia64_spill_little and
+       builtin_type_ia64_quad_big, builtin_type_ia64_quad_little.
+
+2002-01-22  Corinna Vinschen  <vinschen@redhat.com>
+
+       * xstormy16-tdep.c (xstormy16_scan_prologue): Add frameless
+       parameter.  Set frameless flag if it exists and depended of
+       whether the scanned function is frameless or not.
+       (xstormy16_skip_prologue): If function is frameless, return
+       result of xstormy16_scan_prologue().
+       (xstormy16_frame_init_saved_regs): Adjust xstormy16_scan_prologue()
+       call.
+
+2002-01-21  Elena Zannoni  <ezannoni@redhat.com>
+
+       * sh-tdep.c (sh_fp_frame_init_saved_regs, sh_push_arguments,
+       sh_generic_show_regs, sh3_show_regs, sh3e_show_regs,
+       sh3_dsp_show_regs, sh4_show_regs, sh_dsp_show_regs,
+       sh_sh4_register_byte, sh_sh4_register_raw_size,
+       sh_sh3e_register_virtual_type, sh_sh4_register_virtual_type,
+       sh_sh4_register_convertible, sh_sh4_register_convert_to_virtual,
+       sh_sh4_register_convert_to_raw, sh_fetch_pseudo_register,
+       sh_store_pseudo_register, sh_do_pseudo_register): Call
+       gdbarch_tdep() just once, assign result to variable and use that,
+       instead of calling the function several times.
+
+2002-01-20  Mark Kettenis  <kettenis@gnu.org>
+
+       * go32-nat.c (fetch_register): Use FP_REGNUM_P and FPC_REGNUM_P
+       macros instead of LAST_FPU_CTRL_REGNUM.
+       (store_register): Likewise.
+
+2002-01-21  Jim Blandy  <jimb@redhat.com>
+
+       * infcmd.c (run_command): Check that the `exec' target layer's BFD
+       is up-to-date before running the program, not just when a program
+       exits.
+
+2002-01-21  Fred Fish  <fnf@redhat.com>
+
+       * arm-tdep.c (thumb_skip_prologue): Quit scanning prologue
+       when we have found all instructions we are looking for.
+
+2002-01-21  Richard Earnshaw  <rearnsha@arm.com>
+
+       * arm-tdep.c (arm_register_name): New function.
+       (arm_registers_names): Make static.
+       * config/arm/tm-arm.h (arm_register_names): Delete declaration.
+       (arm_register_name): Declare.
+       (REGISTER_NAME): Use it.
+
+2002-01-21  Richard Earnshaw  <rearnsha@arm.com>
+           Kevin Buettner  <kevinb@redhat.com>
+
+       Convert arm targets to new FRAME interface.
+       * arm-tdep.c (struct frame_extra_info): Remove fsr.
+       (arm_frame_find_save_regs): Delete.
+       (arm_frame_init_saved_regs): New.
+       (arm_init_extra_frame_info): Alloacte saved_regs as required.
+       Allocate extra_info as required.  Convert all uses of fsr.regs
+       to use saved_regs, similarly all uses of EXTRA_FRAME_INFO fields
+       to use extra_info.
+       (thumb_scan_prologue, arm_scan_prologue, arm_find_callers_reg)
+       (arm_frame_chain, arm_frame_saved_pc, arm_pop_frame): Likewise.
+       (check_prologue_cache, save_prologue_cache): Likewise.
+       (_initialize_arm_tdep): Ensure prologue_cache is correctly set up.
+       * config/arm/tm-arm.h (EXTRA_FRAME_INFO): Delete.
+       (FRAME_FIND_SAVED_REGS): Delete.
+       (arm_frame_find_saved_regs): Delete prototype.
+       (arm_frame_init_saved_regs): New prototype.
+       (FRAME_INIT_SAVED_REGS): Define.
+
+2002-01-20  Andrew Cagney  <ac131313@redhat.com>
+
+       * config/arc/tm-arc.h (IEEE_FLOAT): Delete.
+
+2002-01-20  Andrew Cagney  <ac131313@redhat.com>
+
+       From Jeff Law <law@redhat.com>:
+       * infttrace.c: Include <sys/pstat.h>.
+       (child_pid_to_exec_file): Revamp.  Use pstat call to get the
+       exec file if the ttrace equivalent fails.
+
+2002-01-20  Andrew Cagney  <ac131313@redhat.com>
+
+       * rdi-share/devsw.c (openLogFile): Delete unused ``struct tm lt''.
+       (closeLogFile): Ditto.
+
+2002-01-20  Michael Chastain  <mec@shout.net>
+
+       * top.c (print_gdb_version): Bump copyright year to 2002.
+
+2002-01-20  Andrew Cagney  <ac131313@redhat.com>
+
+       * MAINTAINERS (Blanket Write Privs): Add Kevin Buettner, Elena
+       Zannoni and Eli Zaretskii.
+
+2002-01-20  Daniel Jacobowitz  <drow@mvista.com>
+
+       * buildsym.c: Update copyright years.
+       * c-typeprint.c: Likewise.
+       * dwarf2read.c: Likewise.
+       * f-typeprint.c: Likewise.
+       * gdbtypes.c: Likewise.
+       * gdbtypes.h: Likewise.
+       * hp-symtab-read.c: Likewise.
+       * hpread.c: Likewise.
+       * mdebugread.c: Likewise.
+       * p-typeprint.c: Likewise.
+
+2002-01-20  Andrew Cagney  <ac131313@redhat.com>
+
+       * remote-sim.c (gdbsim_open): Simplify code testing the macro
+       TARGET_BYTE_ORDER_SELECTABLE_P.  Assume the target is always
+       byte-order selectable.
+       * sparc-tdep.c (sparc_target_architecture_hook): Ditto.
+       * arch-utils.c: Ditto.
+       (set_endian): Ditto.
+       (set_endian_from_file): Ditto.
+       * gdbserver/low-sim.c (create_inferior): Ditto.
+       * gdbarch.sh: Ditto.
+       * gdbarch.h: Re-generate.
+       * config/powerpc/tm-ppc-eabi.h (TARGET_BYTE_ORDER_SELECTABLE_P): 
+       * config/sparc/tm-sparclite.h (TARGET_BYTE_ORDER_SELECTABLE): 
+       * config/sparc/tm-sparclet.h (TARGET_BYTE_ORDER_SELECTABLE): 
+       * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_SELECTABLE_P): 
+       * config/arm/tm-wince.h (TARGET_BYTE_ORDER_SELECTABLE_P): 
+       * config/arm/tm-linux.h (TARGET_BYTE_ORDER_SELECTABLE_P): 
+       * config/arc/tm-arc.h (TARGET_BYTE_ORDER_SELECTABLE): 
+       * config/arm/tm-arm.h (TARGET_BYTE_ORDER_SELECTABLE_P): Delete
+       macro definition.
+       * config/mips/tm-wince.h: Remove #undef of macro
+       TARGET_BYTE_ORDER_SELECTABLE.
+       * config/sh/tm-wince.h: Ditto.
+
+2002-01-20  Daniel Jacobowitz  <drow@mvista.com>
+
+       * gdbtypes.h (struct cplus_struct_type): Add is_artificial to
+       member function fields.  Add accessor macro
+       TYPE_FN_FIELD_ARTIFICIAL.
+       * dwarf2read.c (dwarf2_add_member_fn): Check for artificial methods.
+       * c-typeprint.c (c_type_print_base): Skip artificial member
+       functions.
+
+2002-01-20  Daniel Jacobowitz  <drow@mvista.com>
+
+       * f-typeprint.c: Delete unused function f_type_print_args.
+       * p-typeprint.c: Delete unused function pascal_type_print_args.
+
+2002-01-20  Daniel Jacobowitz  <drow@mvista.com>
+
+       * gdbtypes.h (struct type): Fix whitespace.  Remove obsolete
+       comment.  Add ``artificial'' to ``union field_location''.
+
+       * dwarf2read.c: Remove ad-hoc TYPE_FIELD_ARTIFICIAL.
+
+       * buildsym.c (finish_block): Initialize TYPE_FIELD_ARTIFICIAL to 0.
+       * mdebugread.c (parse_symbol): Likewise.
+       * stabsread.c (define_symbol): Likewise.
+       * hp-symtab-read.c (hpread_function_type): Likewise, instead of
+       initializing TYPE_FIELD_BITPOS to n (obsolete).
+       (hpread_doc_function_type): Likewise.
+       * hpread.c (hpread_function_type): Likewise.
+
+2002-01-20  Andrew Cagney  <ac131313@redhat.com>
+
+       * configure.in (host_makefile_frag): Only require a host makefile
+       fragment when a native build.
+       * configure: Re-generate.
+
+2002-01-20  Andrew Cagney  <ac131313@redhat.com>
+
+       * doublest.h (floatformat_from_type): Declare.
+       * doublest.c (floatformat_from_type): New function.
+       (convert_typed_floating): Use.
+
+       * valprint.c (print_floating): Replace checks for IEEE_FLOAT with
+       call to function floatformat_from_type.
+
+       * gdbarch.sh (IEEE_FLOAT): Delete.
+       * gdbarch.h, gdbarch.c: Re-generate.
+       * config/i960/tm-i960.h (IEEE_FLOAT): Delete macro.
+       * config/i386/tm-i386.h (IEEE_FLOAT): Ditto.
+       * config/z8k/tm-z8k.h (IEEE_FLOAT): Ditto.
+       * config/sparc/tm-sparc.h (IEEE_FLOAT): Ditto.
+       * config/pa/tm-hppa.h (IEEE_FLOAT): Ditto.
+       * config/m88k/tm-m88k.h (IEEE_FLOAT): Ditto.
+       * config/m68k/tm-m68k.h (IEEE_FLOAT): Ditto.
+       * config/h8500/tm-h8500.h (IEEE_FLOAT): Ditto.
+       * config/h8300/tm-h8300.h (IEEE_FLOAT): Ditto.
+       * config/fr30/tm-fr30.h (IEEE_FLOAT): Ditto.
+       * config/arm/tm-arm.h (IEEE_FLOAT): Ditto.
+       * config/alpha/tm-alpha.h (IEEE_FLOAT): Ditto.
+
+       * s390-tdep.c (s390_gdbarch_init): Do not set ieee_float.
+       * x86-64-tdep.c (i386_gdbarch_init): Ditto.
+       * sparc-tdep.c (sparc_gdbarch_init): Ditto.
+       * sh-tdep.c (sh_gdbarch_init): Ditto.
+       * mips-tdep.c (mips_gdbarch_init): Ditto.
+       * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
+       * cris-tdep.c (cris_gdbarch_init): Ditto.
+
+2002-01-20  Jiri Smid  <smid@suse.cz>
+
+       * configure.host, configure.tgt: Support x86-64.
+       * NEWS: Note new target x86-64.
+
+       * config/i386/x86-64linux.mh (NATDEPFILES): x86-64-nat.o removed.
+       * x86-64-linux-nat.c (x86_64_register_u_addr): New function.
+       * config/i386/nm-x86-64.h (ATTACH_LWP): Removed.
+       * Makefile.in (x86-64-tdep.o, x86-64-linux-tdep.o,
+       x86-64-linux-nat.o): Fix dependencies.
+
+2002-01-19  Andrew Cagney  <ac131313@redhat.com>
+
+       * utils.c: Remove #ifndef MALLOC_INCOMPATIBLE.
+       * config/sparc/xm-sun4os4.h (PTRACE_ARG3_TYPE): Move macro ....
+       * config/sparc/nm-sun4os4.h (PTRACE_ARG3_TYPE): ... to here.
+       * config/sparc/xm-sun4os4.h: Delete file.
+       * config/sparc/sun4os4.mh (XM_FILE): Delete makefile variable.
+
+2002-01-19  Andrew Cagney  <ac131313@redhat.com>
+
+       * config/sparc/sparclynx.mh (XM_FILE): Delete.
+       * config/rs6000/rs6000lynx.mh (XM_FILE): Delete.
+       * config/m68k/m68klynx.mh (XM_FILE): Delete.
+       * config/i386/i386lynx.mh (XM_FILE): Delete.
+       * config/rs6000/xm-rs6000ly.h: Delete file.
+       * config/sparc/xm-sparclynx.h: Delete file.
+       * config/m68k/xm-m68klynx.h: Delete file.
+       * config/i386/xm-i386lynx.h: Delete file.
+       * config/xm-lynx.h: Delete file.
+       * config/djgpp/fnchange.lst: Update.
+
+2002-01-19  Jason Thorpe  <thorpej@wasabisystems.com>
+
+       * alpha-tdep.c (alpha_register_byte): New function.
+       (alpha_register_raw_size): Ditto.
+       (alpha_register_virtual_size): Ditto.
+       (alpha_skip_prologue_internal): Renamed from
+       alpha_skip_prologue.
+       (alpha_skip_prologue): New version that calls
+       alpha_skip_prologue_internal.
+       (alpha_in_lenient_prologue): Use alpha_skip_prologue_internal.
+       * config/alpha/tm-alpha.h (SKIP_PROLOGUE): Remove
+       second argument from alpha_skip_prologue.
+       (REGISTER_BYTE): Use alpha_register_byte.
+       (REGISTER_RAW_SIZE): Use alpha_register_raw_size.
+       (REGISTER_VIRTUAL_SIZE): Use alpha_register_virtual_size.
+       (FRAMELESS_FUNCTION_INVOCATION): Use
+       generic_frameless_function_invocation_not.
+       (FRAME_NUM_ARGS): Use frame_num_args_unknown.
+       (COERCE_FLOAT_TO_DOUBLE): Use standard_coerce_float_to_double.
+
+2002-01-19  Andrew Cagney  <ac131313@redhat.com>
+
+       * config/mips/xm-news-mips.h: Delete file.
+       * config/mips/news-mips.mh (XM_FILE): Delete makefile variable.
+
+       * config/m88k/xm-m88k.h: Delete file.
+       * config/m88k/xm-dgux.h: Do not include xm-m88k.h.
+       * config/m88k/xm-delta88v4.h: Ditto.
+       * config/m88k/xm-delta88.h: Ditto.
+
+       * config/alpha/xm-fbsd.h: Delete file.
+       * config/alpha/fbsd.mh (XM_FILE): Delete makefile variable.
+
+       * config/sparc/xm-sparc.h: Delete file.
+       * Makefile.in (xm-sun4os4.h): Delete dependency.
+       * config/sparc/xm-sun4sol2.h: Do not include xm-sparc.h.
+       * config/sparc/xm-sun4os4.h: Ditto.
+       * config/sparc/xm-linux.h: Ditto.
+
+       * config/i386/xm-windows.h: Delete file.
+
+2002-01-19  Andrew Cagney  <ac131313@redhat.com>
+
+       * utils.c: Include <sys/param.h> for MAXPATHLEN.
+       (gdb_realpath): Use MAXPATHLEN when PATH_MAX is not defined.
+
+2002-01-19  Jason Thorpe  <thorpej@wasabisystems.com>
+
+       * alpha-tdep.c (alpha_call_dummy_words): New.
+       * config/alpha/tm-alpha.h (CALL_DUMMY): Remove.
+       (CALL_DUMMY_P): Define.
+       (CALL_DUMMY_WORDS): Define.
+       (SIZEOF_CALL_DUMMY_WORDS): Define.
+
+2002-01-19  Per Bothner  <per@bothner.com>
+
+       * gnu-v3-abi.c (gnuv3_rtti_type):  Guard that vtable_symbol_name
+       isn't NULL, which can happen with some gcj-3.x-produced code.
+
+2002-01-19  Jason Thorpe  <thorpej@wasabisystems.com>
+
+       * alpha-tdep.c (alpha_register_virtual_type): New function.
+       (alpha_init_frame_pc_first): Ditto.
+       (alpha_fix_call_dummy): Ditto.
+       (alpha_store_struct_return): Ditto.
+       (alpha_extract_struct_value_address): Ditto.
+       * config/alpha/tm-alpha.h (REGISTER_VIRTUAL_TYPE): Use
+       alpha_register_virtual_type.
+       (STORE_STRUCT_RETURN): Use alpha_store_struct_return.
+       (EXTRACT_STRUCT_VALUE_ADDRESS): Use
+       alpha_extract_struct_value_address.
+       (FIX_CALL_DUMMY): Use alpha_fix_call_dummy.
+       (INIT_FRAME_PC): Use init_frame_pc_noop.
+       (INIT_FRAME_PC_FIRST): Use alpha_init_frame_pc_first.
+
+2002-01-19  Mark Kettenis  <kettenis@gnu.org>
+
+       * i386gnu-nat.c: Include "i386-tdep.h".
+       (fetch_fpregs): Simplify code dealing with uninitialized floating
+       point states such that it doesn't require FP7_REGNUM.
+
+2002-01-18  Jason Thorpe  <thorpej@wasabisystems.com>
+
+       * alpha-tdep.c (frame_extra_info): New.
+       (alpha_find_saved_regs): Make static.  Use
+       frame->extra_info.
+       (alpha_frame_init_saved_regs): New function.
+       (alpha_frame_saved_pc): Use frame->extra_info.
+       (temp_saved_regs): Don't declare as struct frame_saved_regs.
+       (heuristic_proc_desc): Adjust for temp_saved_regs changes.
+       (init_extra_frame_info): Rename to...
+       (alpha_init_extra_frame_info): ...this.  Use frame->extra_info.
+       (alpha_print_extra_frame_info): New function.
+       (alpha_frame_locals_address): Ditto.
+       (alpha_frame_args_address): Ditto.
+       (alpha_pop_frame): Use frame->extra_info.
+       * config/alpha/tm-alpha.h (FRAME_ARGS_ADDRESS): Use
+       alpha_frame_args_address.
+       (FRAME_LOCALS_ADDRESS): Use alpha_frame_locals_address.
+       (alpha_find_saved_regs): Remove prototype.
+       (FRAME_INIT_SAVED_REGS): Use alpha_frame_init_saved_regs.
+       (EXTRA_FRAME_INFO): Remove.
+       (INIT_EXTRA_FRAME_INFO): Use alpha_init_extra_frame_info.
+       (PRINT_EXTRA_FRAME_INFO): Use alpha_print_extra_frame_info.
+
+2002-01-18  Jason Thorpe  <thorpej@wasabisystems.com>
+
+       * alpha-tdep.c (alpha_osf_in_sigtramp): New function.
+       (alpha_cannot_fetch_register): Ditto.
+       (alpha_cannot_store_register): Ditto.
+       (alpha_register_convertible): Ditto.
+       (alpha_use_struct_convention): Ditto.
+       * config/alpha/tm-alpha.h: Update copyright years.
+       (IN_SIGTRAMP): Use alpha_osf_in_sigtramp.
+       (INNER_THAN): Use core_addr_lessthan.
+       (CANNOT_FETCH_REGISTER): Use alpha_cannot_fetch_register.
+       (CANNOT_STORE_REGISTER): Use alpha_cannot_store_register.
+       (REGISTER_CONVERTIBLE): Use alpha_register_convertible.
+       (USE_STRUCT_CONVENTION): Use alpha_use_struct_convention.
+       (FRAME_CHAIN): Remove unnecessary cast.
+
+2002-01-18  Andrew Cagney  <ac131313@redhat.com>
+
+       * NEWS: Document that testsuite/gdb.hp/gdb.threads-hp/ is
+       obsolete.
+
+2002-01-18  Andrew Cagney  <ac131313@redhat.com>
+
+       * infptrace.c: Remove ATTRIBUTE_UNUSED.  Update copyright.
+       * monitor.c, remote-array.c, remote-bug.c: Ditto.
+       * remote-e7000.c, remote-es.c, remote-mips.c: Ditto.
+       * remote-nindy.c, remote-os9k.c, remote-rdi.c: Ditto.
+       * remote-rdp.c, remote-sds.c, remote-sim.c: Ditto.
+       * remote-st.c, remote-vx.c, remote.c, win32-nat.c: Ditto.
+       * x86-64-linux-nat.c: Ditto.
+
+2002-01-18  Jason Thorpe  <thorpej@wasabisystems.com>
+
+       * alpha-tdep.c (alpha_register_name): New function.
+       * config/alpha/tm-alpha.h (REGISTER_NAMES): Remove.
+       (REGISTER_NAME): Define.
+
+2002-01-18  Jason Thorpe  <thorpej@wasabisystems.com>
+
+       * config/nm-nbsd.h (KERNEL_U_ADDR): Remove.
+
+2002-01-18  Jason Thorpe  <thorpej@wasabisystems.com>
+
+       * alpha-tdep.c: Update copyright years.
+       (alpha_next_pc): New function.
+       (alpha_software_single_step): Ditto.
+       * config/alpha/tm-alpha.h: Add prototype for
+       alpha_software_single_step.
+
+2002-01-18  Jason Thorpe  <thorpej@wasabisystems.com>
+
+       * alphabsd-nat.c: Update copyright years.
+       (fill_gregset): Use regcache_collect.
+       (fill_fpregset): Likewise.
+       (fetch_inferior_registers): Only fetch integer registers
+       if requested to do so.
+       (store_inferior_registers): Only store integer registers
+       if requested to do so.
+
+2002-01-17  Andrew Cagney  <ac131313@redhat.com>
+
+       * config/alpha/alpha-osf3.mh (XDEPFILES): Delete.
+       * config/alpha/alpha-osf2.mh (XDEPFILES): Delete.
+       * config/alpha/alpha-osf1.mh (XDEPFILES): Delete.
+       * config/alpha/alpha-linux.mh (XDEPFILES): Delete.
+       * config/alpha/fbsd.mh (XDEPFILES): Delete.
+       * config/arm/linux.mh (XDEPFILES): Delete.
+       * config/arm/nbsd.mh (XDEPFILES): Delete.
+       * config/i386/i386dgux.mh (XDEPFILES): Delete.
+       * config/i386/i386sol2.mh (XDEPFILES): Delete.
+       * config/i386/i386m3.mh (XDEPFILES): Delete.
+       (NATDEPFILES): Move i387-tdep.o and core-aout.o to here.
+       * config/i386/i386gnu.mh (XDEPFILES): Delete.
+       * config/i386/fbsd.mh (XDEPFILES): Delete.
+       * config/i386/i386bsd.mh (XDEPFILES): Delete.
+       * config/i386/i386sco5.mh (XDEPFILES): Delete.
+       * config/i386/i386v4.mh (XDEPFILES): Delete.
+       * config/i386/i386v42mp.mh (XDEPFILES): Delete.
+       * config/i386/i386sco4.mh (XDEPFILES): Delete.
+       * config/i386/i386aix.mh (XDEPFILES): Delete.
+       * config/i386/go32.mh (XDEPFILES): Delete.
+       * config/i386/cygwin.mh (XDEPFILES): Delete.
+       * config/i386/i386lynx.mh (XDEPFILES): Delete.
+       * config/i386/i386mach.mh (XDEPFILES): Delete.
+       * config/i386/i386v32.mh (XDEPFILES): Delete.
+       * config/i386/linux.mh (XDEPFILES): Delete.
+       * config/i386/nbsdelf.mh (XDEPFILES): Delete.
+       * config/i386/ncr3000.mh (XDEPFILES): Delete.
+       * config/i386/i386mk.mh (NATDEPFILES): Rename XDEPFILES.
+       * config/i386/i386sco.mh (XDEPFILES): Delete.
+       * config/i386/i386v.mh (XDEPFILES): Delete.
+       * config/i386/nbsd.mh (XDEPFILES): Delete.
+       * config/i386/ptx.mh (NATDEPFILES): Rename XDEPFILES.
+       * config/i386/ptx4.mh (NATDEPFILES): Rename XDEPFILES.
+       * config/i386/symmetry.mh (XDEPFILES): Delete.
+       * config/i386/obsd.mh (XDEPFILES): Delete.
+       * config/i386/x86-64linux.mh (XDEPFILES): Delete.
+       * config/ia64/linux.mh (XDEPFILES): Delete.
+       * config/ia64/aix.mh (XDEPFILES): Delete.
+       * config/m68k/apollo68b.mh (XDEPFILES): Delete.
+       * config/m68k/dpx2.mh (XDEPFILES): Delete.
+       * config/m68k/3b1.mh (NATDEPFILES): Rename XDEPFILES.
+       * config/m68k/apollo68v.mh (XDEPFILES): Delete.
+       * config/m68k/hp300bsd.mh (XDEPFILES): Delete.
+       * config/m68k/linux.mh (XDEPFILES): Delete.
+       * config/m68k/m68klynx.mh (XDEPFILES): Delete.
+       * config/m68k/m68kv4.mh (XDEPFILES): Delete.
+       * config/m68k/nbsd.mh (XDEPFILES): Delete.
+       * config/m68k/sun2os3.mh (XDEPFILES): Delete.
+       * config/m68k/sun2os4.mh (XDEPFILES): Delete.
+       * config/m68k/sun3os3.mh (XDEPFILES): Delete.
+       * config/m68k/sun3os4.mh (XDEPFILES): Delete.
+       * config/m88k/delta88.mh (XDEPFILES): Delete.
+       * config/m88k/delta88v4.mh (XDEPFILES): Delete.
+       * config/m88k/m88k.mh (XDEPFILES): Delete.
+       * config/mips/littlemips.mh (NATDEPFILES): Rename XDEPFILES.
+       * config/mips/linux.mh (XDEPFILES): Delete.
+       * config/mips/irix6.mh (XDEPFILES): Delete.
+       * config/mips/irix5.mh (XDEPFILES): Delete.
+       * config/mips/irix4.mh (XDEPFILES): Delete.
+       * config/mips/irix3.mh (XDEPFILES): Delete.
+       * config/mips/decstation.mh (XDEPFILES): Delete.
+       * config/mips/mipsm3.mh (XDEPFILES): Delete.
+       (NATDEPFILES): Move core-aout.o to here.
+       * config/ns32k/nbsd.mh (XDEPFILES): Delete.
+       * config/pa/hpux1020.mh (XDEPFILES): Delete.
+       * config/pa/hppabsd.mh (XDEPFILES): Delete.
+       * config/pa/hppahpux.mh (XDEPFILES): Delete.
+       * config/pa/hpux11w.mh (XDEPFILES): Delete.
+       * config/pa/hppaosf.mh (XDEPFILES): Delete.
+       * config/pa/hpux11.mh (XDEPFILES): Delete.
+       * config/powerpc/aix.mh (XDEPFILES): Delete.
+       * config/powerpc/nbsd.mh (XDEPFILES): Delete.
+       * config/powerpc/linux.mh (XDEPFILES): Delete.
+       * config/romp/rtbsd.mh: Rename XDEPFILES.
+       * config/rs6000/rs6000lynx.mh (XDEPFILES): Delete.
+       * config/rs6000/aix4.mh (XDEPFILES): Delete.
+       * config/rs6000/rs6000.mh (XDEPFILES): Delete.
+       * config/s390/s390.mh (XDEPFILES): Delete.
+       * config/vax/vaxbsd.mh (NATDEPFILES): Rename XDEPFILES.
+       * config/sparc/sun4sol2.mh (XDEPFILES): Delete.
+       * config/sparc/sun4os4.mh (XDEPFILES): Delete.
+       * config/sparc/sparclynx.mh (XDEPFILES): Delete.
+       * config/sparc/nbsdelf.mh (XDEPFILES): Delete.
+       * config/sparc/nbsd.mh (XDEPFILES): Delete.
+       * config/sparc/linux.mh (XDEPFILES): Delete.
+       * config/vax/vaxult.mh (XDEPFILES): Delete.
+       * config/vax/vaxult2.mh (XDEPFILES): Delete.
+       * Makefile.in (DEPFILES): Remove XDEPFILES.
+
+2002-01-17  Andrew Cagney  <ac131313@redhat.com>
+
+       * utils.c (internal_verror): Fix comments, default is yes not no.
+       Update queries to match.  Default to quit and dump core.
+
+2002-01-17  Andrew Cagney  <ac131313@redhat.com>
+
+       * breakpoint.c: Update assuming #if UI_OUT is always true.  Update
+       copyright.
+       * defs.h, event-top.c, gdbcmd.h: Ditto.
+       * infcmd.c, infrun.c, main.c, printcmd.c, remote.c: Ditto.
+       * source.c, stack.c, symfile.c, symtab.c, thread.c: Ditto.
+       * top.c, cli/cli-cmds.c, cli/cli-decode.c: Ditto.
+       * cli/cli-script.c, cli/cli-script.h, cli/cli-setshow.c: Ditto.
+       * mi/ChangeLog, mi/mi-cmd-break.c, mi/mi-cmd-stack.c: Ditto.
+       * mi/mi-main.c:Ditto.
+
+       * stack.c, symfile.c: Update copyright.
+
+2002-01-17  Daniel Jacobowitz  <drow@mvista.com>
+
+       * gdbserver/low-hppabsd.c, gdbserver/low-lynx.c,
+       gdbserver/low-nbsd.c, gdbserver/low-sim.c,
+       gdbserver/low-sparc.c, gdbserver/low-sun3.c,
+       gdbserver/low-linux.c, gdbserver/server.c: Correct copyright notices.
+
+2002-01-17  Daniel Jacobowitz  <drow@mvista.com>
+
+       * gdbserver/low-hppabsd.c (myattach): New function, returning -1.
+       * gdbserver/low-lynx.c (myattach): Likewise.
+       * gdbserver/low-nbsd.c (myattach): Likewise.
+       * gdbserver/low-sim.c (myattach): Likewise.
+       * gdbserver/low-sparc.c (myattach): Likewise.
+       * gdbserver/low-sun3.c (myattach): Likewise.
+
+       * gdbserver/low-linux.c (myattach): New function.
+
+       * gdbserver/server.c (attach_inferior): New function.
+       (main): Handle "--attach".
+
 2002-01-16  Andrew Cagney  <ac131313@redhat.com>
 
        * MAINTAINERS (language support): Daniel Jacobwitz is C++
 
 2002-01-15  Elena Zannoni  <ezannoni@redhat.com>
 
-       [Based on work by Jim Blandy] 
+       [Based on work by Jim Blandy]
        * gdbtypes.h (builtin_type_v16qi, builtin_type_v8hi): Export.
        (builtin_type_vec128): Export.
        * gdbtypes.c (builtin_type_v16qi, builtin_type_v8hi): New SIMD
        builtin_type_v8hi. Create the vec128 register builtin type
        structure.
        (build_builtin_type_vec128): New function.
-       (_initialize_gdbtypes): Register builtin_type_v16qi and
+       (_initialize_gdbtypes): Register builtin_type_v16qi and
        builtin_type_v8hi with gdbarch. Same for builtin_type_vec128.
        * rs6000-tdep.c (rs6000_register_virtual_type): Change type of
        AltiVec register to new builtin type.
 
        * signals.c (target_signal_to_name): Rewrite.  Only use
        signals[].name when in bounds and non-NULL.
-       
+
 2002-01-13  Andrew Cagney  <ac131313@redhat.com>
 
        From Petr Ledvina <ledvinap@kae.zcu.cz>:
 
 2002-01-07  Michael Snyder  <msnyder@redhat.com>
 
-       * linux-proc.c: New file.  Implement child_pid_to_exec_file, 
-       so that attaching to a pid will automatically read the process's 
+       * linux-proc.c: New file.  Implement child_pid_to_exec_file,
+       so that attaching to a pid will automatically read the process's
        symbol file and shlibs.
        * Makefile.in: Add rule for linux-proc.o.
        * config/nm-linux.h: Define CHILD_PID_TO_EXEC_FILE.
        * solib.c (info_sharedlibrary_command): Use TARGET_PTR_BIT
        instead of bfd_get_arch_size.  Don't bail out just because
        there's no exec_bfd.
-       
+
        * cp-valprint.c (cp_print_value): FIXME comment, alloca size.
        * p-valprint.c (pascal_object_print_value): Ditto.
        * somread.c (som_symtab_read): Ditto.
 
        * infptrace.c (GDB_MAX_ALLOCA): New define.
        (child_xfer_memory): Use xmalloc/xfree instead of alloca if the
-       size of the buffer exceeds GDB_MAX_ALLOCA (default 1 megabyte, 
+       size of the buffer exceeds GDB_MAX_ALLOCA (default 1 megabyte,
        can be overridden with whatever value is appropriate to the host).
        * infttrace.c (child_xfer_memory): Add FIXME warning about use of
        alloca to allocate potentially large buffer.
 
 2002-01-07  Michael Snyder  <msnyder@redhat.com>
 
-       * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): 
+       * solib-legacy.c (legacy_svr4_fetch_link_map_offsets):
        Don't use exec_bfd if it's NULL.
 
 2002-01-06  Mark Kettenis  <kettenis@gnu.org>
 
-       * valops.c (value_arg_coerce): Fix formatting. 
+       * valops.c (value_arg_coerce): Fix formatting.
 
 2002-01-06  Andrew Cagney  <ac131313@redhat.com>
 
        * scm-lang.c (scm_lookup_name): Ditto.
 
 2002-01-03  Michael Snyder  <msnyder@redhat.com>
+
        Abstract the functionality of iterating over mapped memory
        regions into a general purpose iterator function.
-       * procfs.c (iterate_over_mappings): New function, general purpose 
+       * procfs.c (iterate_over_mappings): New function, general purpose
        iterator for memory sections.
        (proc_iterate_over_mappings): Reimplement using iterate_over_mappings.
        (solib_mappings_callback): New function, callback for above.
This page took 0.032664 seconds and 4 git commands to generate.