* elflink.h (elf_bfd_final_link): Check if dynobj is not NULL
[binutils-gdb.git] / gdb / ChangeLog
index 478ce4c458b4379b8fa5df29cce976d7325a1659..ccd64de50a3ab26fa36e48e395b7595e70f624a4 100644 (file)
@@ -1,3 +1,566 @@
+2001-12-30  Michael Snyder  <msnyder@redhat.com>
+
+       * sparc-tdep.c (sparc-store-return-value): Whitespace fix-up.
+
+2001-12-29  Elena Zannoni  <ezannoni@redhat.com>
+
+        * Makefile.in (rs6000-tdep.o): Add dependency on parser-defs.h.
+
+        * rs6000-tdep.c: Include parser-defs.h.
+        (rs6000_register_virtual_type): Rewrite, including handling of
+        AltiVec regs type.
+        (altivec_register_p): New function.
+        (rs6000_do_altivec_registers): New function.
+        (rs6000_altivec_registers_info): New function.
+        (rs6000_do_registers_info): New function.
+        (R16): Define.
+        (PPC_ALTIVEC_REGS): Define.
+        (registers_powerpc): Add AltiVec registers.
+        (registers_7400): Define.
+        (variants): Add 7400 machine.
+        (rs6000_gdbarch_init): Set the numbers of AltiVec registers.
+        Initialize gdbarch_do)_registers_info.
+        (rs6000_info_power_command): New function.
+        (info_power_cmdlist): New static variable.
+        (_initialize_rs6000_tdep): Add new 'info powerpc altivec' command.
+
+        * ppc-tdep.h (struct gdbarch_tdep): Add altivec regnum fields.
+        (altivec_register_p): Export.
+
+2001-12-29  Mark Kettenis  <kettenis@gnu.org>
+
+       * i386bsd-nat.c (reg_offset): Fix typo.
+
+       * i386-tdep.c (i386_push_dummy_frame): Don't write back the
+       modified frame pointer until the old frame pointer has been saved.
+
+2001-12-30  Andrew Cagney  <ac131313@redhat.com>
+
+       * arch-utils.c (initialize_current_architecture): Test byte_order
+       against BFD_ENDIAN_UNKNOWN.
+       (gdbarch_info_init): Initialize byte_order to BFD_ENDIAN_UNKNOWN.
+       * gdbarch.sh: Update comments on default value of byte_order.
+       (verify_gdbarch, gdbarch_update_p): Test byte_order against
+       BFD_ENDIAN_UNKNOWN.
+       * gdbarch.h, gdbarch.c: Re-generate.
+
+2001-12-27  Michael Snyder  <msnyder@redhat.com>
+
+       * i386-linux-nat.c: Include i386-tdep.h.
+
+       * maint.c (match_substring): GNU coding standards fixes.
+       (print_bfd_section_info): Ditto.
+       (print_objfile_section_info): Ditto.
+
+2001-12-27  Mark Kettenis  <kettenis@gnu.org>
+
+       * maint.c (match_substring): Make parameters `string' and `substr'
+       const.  Make local variable `tok' const.
+
+2001-12-27  Mark Kettenis  <kettenis@gnu.org>
+
+       * config/i386/tm-i386.h (FP7_REGNUM, FIRST_FPU_CTRL_REGNUM,
+       FCTRL_REGNUM, FPC_REGNUM, FSTAT_REGNUM, FTAG_REGNUM, FCS_REGNUM,
+       FCOFF_REGNUM, FDS_REGNUM, FDOFF_REGNUM, FOP_REGNUM,
+       LAST_FPU_CTRL_REGNUM, XMM0_REGNUM, XMM7_REGNUM, MXCSR_REGNUM,
+       IS_FP_REGNUM, IS_SSE_REGNUM): Removed.
+       (FP0_REGNUM): Define conditionally depending on HAVE_I387_REGS.
+       (SIZEOF_FPU_CTRL_REGS): Hardcode value.
+       * i386-tdep.h (struct gdbarch_tdep): Change such that it contains
+       a single member `num_xmm_regs'.
+       (FPC_REGNUM): New macro.
+       (FIRST_FPU_REGNUM, LAST_FPU_REGNUM, FISRT_XMM_REGNUM,
+       LAST_XMM_REGNUM, MXCSR_REGNUM, FIRST_FPU_CTRL_REGNUM,
+       LAST_FPU_CTRL_REGNUM): Removed.
+       (FCTRL_REGNUM, FSTAT_REGNUM, FTAG_REGNUM, FOP_REGNUM, XMM0_REGNUM,
+       MXCSR_REGNUM): Define unconditionally.  Change macros to match the
+       comment describing the register layout.
+       (FISEG_REGNUM, FIOFF_REGNUM, FOSEG_REGNUM, FOOFF_REGNUM): New macros.
+       (FP_REGNUM_P, FPC_REGNUM_P, SSE_REGNUM_P): New macros.
+       (IS_FP_REGNUM, IS_FPU_CTRL_REGNUM, IS_SSE_REGNUM): Make obsolete,
+       unconditionally define in terms of FP_REGNUM_P, FPC_REGNUM_P and
+       SSE_REGNUM_P).
+       (FCS_REGNUM, FCOFF_REGNUM, FDS_REGNUM, FDOFF_REGNUM): Make
+       obsolete, unconditionally define in terms of FISEG_REGNUM,
+       FIOFF_REGNUM, FOSEG_REGNUM, FOOFF_REGNUM.
+       * i386-tdep.c (i386_gdbarch_init): Initialize `num_xmm_regs'
+       member of `struct gdbarch_tdep'.
+       * x86-64-tdep.c (i386_gdbarch_init): Change initialization of
+       `struct gdbarch_tdep'.
+       * i387-nat.c (FCS_REGNUM, FCOFF_REGNUM, FDS_REGNUM, FDOFF_REGNUM):
+       Replace with FISEG_REGNUM, FIOFF_REGNUM, FOSEG_REGNUM and
+       FOOFF_REGNUM.  Use FPC_REGNUM instead of FIRST_FPU_CTRL_REGNUM.
+       Use XMM0_REGNUM instead of LAST_FPU_CTRL_REGNUM.
+
+2001-12-25  Andrew Cagney  <ac131313@redhat.com>
+
+       * cli/cli-script.c (execute_control_command): Replace value_ptr
+       with a struct value pointer.
+       * ch-lang.c (evaluate_subexp_chill): Ditto.
+       * printcmd.c (printf_command): Ditto.
+       * tracepoint.c (set_traceframe_context): Ditto.
+       (encode_actions): Ditto.
+       * eval.c (evaluate_subexp_standard): Ditto.
+
+2001-12-25  Andrew Cagney  <ac131313@redhat.com>
+
+       * gdbarch.sh: When an int variable, print value using %d instead
+       of %ld.
+       * gdbarch.c: Re-generate.
+       
+2001-12-24  Tom Rix  <trix@redhat.com>
+
+       * config/powerpc/aix.mt (TDEPFILES): Add xcoffread.o to fix a build 
+       failure.
+
+2001-12-21  Michael Snyder  <msnyder@redhat.com>
+
+       * procfs.c (info_proc_cmd): Add the 'mappings' sub-command that
+       was dropped a few years ago, when procfs.c was rewritten.
+       (info_proc_mappings): New function, implement 'info proc mappings'.
+       (mappingflags): New function.
+       (_initialize_procfs): Document new option to 'info proc' command.
+
+2001-12-21  Tom Tromey  <tromey@redhat.com>
+
+       * configure, config.in: Rebuilt.
+       * configure.in: Check for realpath.
+       * defs.h (gdb_realpath): Declare.
+       * symtab.h (partial_symtab): Added fullname field.
+       * source.c (openp): Use gdb_realpath.
+       (forget_cached_source_info): Clear full name of each partial
+       symtab.
+       * utils.c (gdb_realpath): New function.
+       * symtab.c (lookup_symtab): Removed.
+       (lookup_symtab_1): Renamed to lookup_symtab.
+       (lookup_symtab): Look for real path.
+       (lookup_partial_symtab): Likewise.
+
+2001-12-21  Michael Snyder  <msnyder@redhat.com>
+
+       * maint.c (match_substring): New function.  Tokenizer for
+       maint info sections command arguments.
+       (match_bfd_flag): Use match_substring.
+       (print_bfd_section_info): Use match_substring.
+       (print_objfile_section_info): Use match_substring.
+       (maintenance_info_sections): Use match_substring.
+
+2001-12-21  Orjan Friberg  <orjanf@axis.com>
+
+        * configure.tgt: Delete CRIS from multi-arch targets.
+
+       * config/cris/tm-cris.h: New file.
+       
+       * config/cris/cris.mt (TDEPFILES): Add corelow.o solib.o solib-svr4.o.
+       (TM_FILE): New macro.
+
+       * cris-tdep.c (cris_examine): Correct check for srp register.
+       (supply_gregset, fetch_core_registers,
+       cris_linux_svr4_fetch_link_map_offsets, cris_fpless_backtrace): 
+       New functions.
+       (_initialize_cris_tdep): Add core functions and new command.
+       (cris_gdbarch_init): Define link map offsets.
+
+Thu Dec 20 16:42:30 2001  Jeffrey A Law  (law@cygnus.com)
+
+       * somsolib.c (som_solib_add): Ignore the solib limit threshhold
+       if AUTO_SOLIB_LIMIT is not greater than zero.
+
+       * somsolib.c (som_solib_create_inferior_hook): No longer warn
+       about missing __d_pid symbol.
+
+2001-12-20  Elena Zannoni  <ezannoni@redhat.com>
+
+       * ppc-linux-nat.c (ppc_ptrace_cannot_fetch_store_register):
+       New function.
+       (fetch_register): New function.
+       (fetch_ppc_registers): New function.
+       (fetch_inferior_registers): New function.
+       (store_register): New function.
+       (store_ppc_registers): New function.
+       (store_inferior_registers): New function.
+       (ppc_register_u_addr): Eliminate ustart parameter and its
+       uses. Make static.
+       (PT_READ_U, PT_WRITE_U, PTRACE_XFER_TYPE): Define if needed.
+       Include sys/ptrace.h.
+
+       * config/powerpc/nm-linux.h (FETCH_INFERIOR_REGISTERS): Define.
+       (U_REGS_OFFSET, REGISTER_U_ADDR): Delete.
+
+       * config/powerpc/linux.mh (NATDEPFILES): Delete core-aout.o.
+
+2001-12-20  Elena Zannoni  <ezannoni@redhat.com>
+
+        * rs6000-nat.c (fetch_register): Don't error out unless the
+        register number is really bogus.
+
+2001-12-20  Michael Snyder  <msnyder@redhat.com>
+
+       * maint.c (maintenance_info_sections): Accept new argument
+       'ALLOBJ', iterate over all object files.
+       (print_section_table): Delete.  Replaced by:
+       (print_section_info): New function.
+       (print_bfd_section_info): New function.
+       (print_objfile_section_info): New function.
+       (_initialize_maint_commands): Add help for new features.
+
+2001-12-20  Kevin Buettner  <kevinb@redhat.com>
+
+       * arm-tdep.c (arm_init_extra_frame_info): Add special case for
+       call dummies.
+       (arm_frame_saved_pc): Likewise.
+       (arm_push_dummy_frame): Make sure all of the GPRs are saved.
+       (arm_pop_frame): Eliminate special case for call dummies.  It
+       is no longer needed now that the frame info is being properly
+       initialized.
+
+       * arm-tdep.c (arm_scan_prologue): Don't require "mov ip, sp"
+       to be the first instruction in the prologue.  Also, revise
+       the way the frame offset is computed for frameless functions.
+
+2001-12-20  Michael Snyder  <msnyder@redhat.com>
+
+       * maint.c (maintenance_info_sections): Pass string argument to
+       print_section_table, so that it can be used to select sections.
+       (print_section_table): Change PTR to void *.  Look at string arg
+       to select sections by name and by flag attributes.
+       (match_bfd_flags): New function.
+       (print_bfd_flags): New function.
+
+Thu Dec 20 11:37:50 2001  Jeffrey A Law  (law@redhat.com)
+
+       * cli/cli-decode.c (add_cmd): Initialize pre_show_hook in
+       the new command.
+
+2001-12-20  Andrew Cagney  <ac131313@redhat.com>
+
+       * remote.c (struct packet_reg): Add field in_g_packet.
+       (struct remote_state): Rename field g_packet to regs;
+       (free_remote_state): Update.
+       (init_remote_state): Add pseudo-registers to table.  Initialize
+       in_g_packet.  Drop sentinal from table.
+       (packet_reg_from_regnum, packet_reg_from_pnum): Update.
+       (remote_fetch_registers): Handle registers not in the g-packet.
+       (remote_store_registers): Ditto.
+
+2001-12-20  Andrew Cagney  <ac131313@redhat.com>
+
+       * gdbarch.sh (TARGET_CHAR_SIGNED): Do not specify the print
+       format.
+
+2001-12-19  Jim Blandy  <jimb@redhat.com>
+
+       * s390-tdep.c (s390_pop_frame_regular): Make sure the saved_regs
+       array is actually set before we try to use it.
+
+       * s390-tdep.c (s390_frame_saved_pc_nofix): If we get the saved PC
+       out of the return address register, cache that in the frame's
+       extra info, just as if we'd gotten it from the saved regs array;
+       that way, it's not a lie to set the saved_pc_valid flag.
+
+       * s390-tdep.c (s390_get_frame_info): Give orig_sp a reasonable
+       value, even when fextra_info->stack_bought can't be trusted,
+
+       * s390-tdep.c (s390_readinstruction): Don't call
+       info->read_memory_func to read zero bytes.  Some targets'
+       xfer_memory functions can't cope with that.
+
+       * gdbarch.sh (TARGET_CHAR_SIGNED): New macro.
+       * gdbarch.c, gdbarch.h: Regenerated.
+       * gdbtypes.c (build_gdbtypes): If TARGET_CHAR_SIGNED is zero,
+       set the TYPE_FLAG_UNSIGNED bit on the type.
+       * s390-tdep.c (s390_gdbarch_init): On the S/390, characters
+       are unsigned by default.
+       * rs6000-tdep.c (rs6000_gdbarch_init): Same for PowerPC and
+       RS6000.
+
+2001-12-19  Elena Zannoni  <ezannoni@redhat.com>
+
+        * corefile.c (do_captured_read_memory_integer,
+        safe_read_memory_integer): New functions.
+        * gdbcore.h (safe_read_memory_integer): Export.
+        * arm-tdep.c (arm_scan_prologue): Use safe_read_memory_integer,
+        to read the frame value, to capture calls to error().
+
+2001-12-19  Jim Blandy  <jimb@redhat.com>
+
+       * s390-tdep.c (s390_register_name): S390_LAST_REGNUM is, in fact,
+       the last register number, not one greater than the last register
+       number.
+
+       * s390-tdep.c (s390_register_virtual_type): Replace clever but
+       incorrect range comparison with correct, legible equivalent.
+
+       * s390-tdep.c (s390_register_raw_size): Replace unnecessarily
+       obscure range comparison with legible equivalent.
+
+Wed Dec 19 12:18:57 2001  Jeffrey A Law  (law@redhat.com)
+
+       * config/pa/tm-hppa.h (STORE_RETURN_VALUE): Use hppa_store_return_value.
+       (EXTRACT_RETURN_VALUE): Similarly.
+       * hppa-tdep.c (hppa_store_return_value): New function.
+       (hppa_extract_return_value): New function.
+
+       * infttrace.c (child_acknowledge_created_inferior): Pass
+       correct argument to add_thread.
+       (update_thread_state_after_attach): Likewise.
+
+2001-12-19  Fernando Nasser  <fnasser@redhat.com>
+
+       * config/arm/tm-arm.h: Properly define SOFTWARE_SINGLE_STEP_P.
+       Always define SOFTWARE_SINGLE_STEP.
+       * config/arm/tm-embed.h: Properly define SOFTWARE_SINGLE_STEP_P.
+       * arm-tdep.c (arm_get_next_pc, thumb_get_next_pc, bitcount,
+       shifted_reg_val): Always compile these functions.
+       (arm_software_single_step): Fix second argument in function calls.
+
+2001-12-19  Andrew Cagney  <ac131313@redhat.com>
+
+       * arch-utils.h (gdbarch_info_init): Declare.
+       * arch-utils.c: Include "arch-utils.h".
+       (gdbarch_info_init): Define.
+       (set_endian, set_architecture, set_gdbarch_from_file)
+       (initialize_current_architecture): Use gdbarch_info_init.
+       * rs6000-nat.c (set_host_arch): Ditto.
+       * cris-tdep.c   (cris_version_update, cris_mode_update)
+       (cris_abi_update): Ditto.
+
+2001-12-19  Jim Blandy  <jimb@redhat.com>
+
+       * c-lang.c (c_emit_char): Print ASCII 11 as '\v', to match
+       ISO C, and our parser.  Print ASCII 0 as '\0', since that's what
+       people are used to seeing.
+
+2001-12-18  Jim Blandy  <jimb@redhat.com>
+
+       * c-lang.c (c_printstr, c_builtin_types, cplus_builtin_types): 
+       Fix indentation.
+
+       * Makefile.in (c-exp.tab.o): Delete duplicate build rule.  Fix
+       dependency list on remaining build rule.
+
+2001-12-18  Martin M. Hunt  <hunt@redhat.com>
+
+       * ser-tcp.c (tcp_open): Disable Nagle algorithm which
+       improves performance in some cases.
+
+2001-12-17  Ben Harris  <bjh21@netbsd.org>
+
+       * armbsd-nat.c: Remove file, renamed to armnbsd-nat.c.
+       * armnbsd-nat.c: New file, renamed from armbsd-nat.c.
+       * Makefile.in: Rename armbsd-nat.c to armnbsd-nat.c.
+       * config/arm/nbsd.mh: Likewise.
+
+2001-12-17  Corinna Vinschen  <vinschen@redhat.com>
+
+       * NEWS: Note new target XStormy16.
+       * MAINTAINERS: Add -Werror to XStormy16.
+
+2001-12-17  Fernando Nasser  <fnasser@redhat.com>
+
+       From Richard Earnshaw <rearnsha@arm.com>:
+       * arm-tdep.c (arm_software_single_step): New function. Implements
+       software single-stepping for ARM targets.
+       (arm_get_next_pc, thumb_get_next_pc, bitcount, shifted_reg_val): Only
+       needed for software single-stepping.
+       * config/arm/tm-arm.h: Activate SOFTWARE_SINGLE_STEP_P.
+
+2001-12-17  Fernando Nasser  <fnasser@redhat.com>
+
+       From Richard Earnshaw <rearnsha@arm.com>:
+       * config/arm/nbsd.mh, config/arm/nbsd.mt, config/arm/tm-nbsd.h,
+       config/arm/nm-nbsd.h, config/arm/xm-nbsd.h: New files.
+       * armbsd-nat.c: New file.
+       * Makefile.in: Build it.
+       * configure.host, configure.tgt: Support NetBSD/arm.
+
+2001-12-17  Corinna Vinschen  <vinschen@redhat.com>
+
+       * MAINTAINERS: Add myself as XStormy16 maintainer.
+
+2001-12-15  Kevin Buettner  <kevinb@redhat.com>
+
+       * config/rs6000/tm-rs6000.h (solib.h): Conditionally include.
+
+2001-12-15  Andrew Cagney  <ac131313@redhat.com>
+
+       * gdbarch.c: Re-generate.
+       
+2001-12-15  Andrew Cagney  <ac131313@redhat.com>
+
+       * MAINTAINERS: Remove powerpcle-eabi and rs6000-ibm-aix3.2 from
+       target list.
+
+2001-12-15  Andrew Cagney  <ac131313@redhat.com>
+
+       * defs.h (LITTLE_ENDIAN): Delete definition.
+       * arch-utils.c, cris-tdep.c, d10v-tdep.c, defs.h, gdbarch.c,
+       gdbarch.sh, remote-rdp.c, remote-sim.c, sh-tdep.c, sparc-tdep.c,
+       config/alpha/tm-alpha.h, config/arm/tm-arm.h,
+       config/i386/tm-i386.h, config/i960/tm-i960.h,
+       config/ia64/tm-ia64.h, config/mcore/tm-mcore.h,
+       config/mips/tm-wince.h, config/mn10200/tm-mn10200.h,
+       config/ns32k/tm-umax.h, config/powerpc/tm-ppcle-eabi.h,
+       config/sh/tm-wince.h, config/v850/tm-v850.h, config/vax/tm-vax.h,
+       doc/gdbint.texinfo: Replace LITTLE_ENDIAN with BFD_ENDIAN_LITTLE.
+
+2001-12-15  Andrew Cagney  <ac131313@redhat.com>
+
+       * ui-out.c (struct ui_out_table): Add field entry_level.
+       (verify_field): New function.
+       (verify_field_proper_position): Delete function.
+       (verify_field_alignment): Delete function.
+       (ui_out_field_int): Update to use verify_field.
+       (ui_out_field_skip): Ditto.
+       (ui_out_field_string): Ditto.
+       (ui_out_field_fmt): Ditto.
+       (ui_out_table_begin): Initialize table.entry_level.
+       (ui_out_table_end): Clear table.entry_level.
+       (ui_out_begin): Call verify_field before pushing the new tuple or
+       list onto the stack.  Use table.entry_level.
+
+2001-12-14  Corinna Vinschen  <vinschen@redhat.com>
+
+       * config/djgpp/fnchange.lst: Add entries for opcodes/xstormy16-* files.
+
+2001-12-13  Andrew Cagney  <ac131313@redhat.com>
+
+       * arch-utils.c (generic_register_virtual_size): Return TYPE_LENGTH
+       of register's type.
+
+2001-12-13  Jackie Smith Cashion  <jsmith@redhat.com>
+
+       * cli/cli-script.c (print_command_lines): Remove extra
+       "if", "else", "while", and "end" from show user output.
+
+2001-12-13  Kevin Buettner  <kevinb@redhat.com>
+
+       * i387-nat.c (i387_fill_fxsave): Change type of ``val'' from char
+       to short so that we don't memcpy() beyond the end of this buffer.
+       Also, change shift value used in computing val to account for the
+       fact that only eight bits are used.
+
+2001-12-13  Corinna Vinschen  <vinschen@redhat.com>
+
+       * Makefile.in: Add support for xstormy16.
+       * configure.tgt: Ditto.
+       * xstormy16-tdep.c: New file.
+       * config/xstormy16/xstormy16.mt: New file.
+
+2001-12-13  Andreas Schwab  <schwab@suse.de>
+
+       * MAINTAINERS (write-after-approval): Add myself.
+
+2001-12-12  Jim Blandy  <jimb@redhat.com>
+
+       * Makefile.in (c-exp.tab.o): Add missing dependencies.
+
+       * Makefile.in (c_lang_h): New variable.  Use it in dependency
+       lists, instead of `c-lang.h' itself.
+
+2001-12-11  Fred Fish  <fnf@redhat.com>
+
+       * c-typeprint.c (c_type_print_base): Use type flags access macros
+       to test bits.
+       * ch-typeprint.c (chill_type_print_base): Ditto.
+       * ch-valprint.c (chill_val_print): Ditto.
+       * d10v-tdep.c (d10v_pointer_to_address): Ditto.
+       * dwarf2read.c (dwarf2_add_member_fn): Ditto.
+       * dwarfread.c (read_structure_scope): Ditto.
+       * gdbtypes.c (create_range_type): Dittol
+       (create_set_type): Ditto.
+       (check_typedef): Ditto.
+       * jv-typeprint.c (java_type_print_base): Ditto.
+       * p-typeprint.c (pascal_type_print_base): Ditto
+       * p-valprint.c (pascal_val_print): Ditto.
+       * stabsread.c (read_cfront_member_functions): Ditto.
+       (read_member_functions): Ditto.
+       (cleanup_undefined_types): Ditto.
+       * valprint.c (val_print): Ditto.
+
+       * valops.c (hand_function_call): Remove is_prototyped
+       variable and just use type flag test macro directly.
+
+2001-12-11  Fred Fish  <fnf@redhat.com>
+
+       * gdbtypes.c (print_bound_type): New function.
+       (recursive_dump_type): Print type struct code values
+       TYPE_CODE_BITSTRING, TYPE_CODE_COMPLEX, TYPE_CODE_TEMPLATE,
+       and TYPE_CODE_TEMPLATE_ARG.
+       (recursive_dump_type): Print type struct members
+       upper_bound_type, lower_bound_type, cv_type, and as_type.
+       Also always print the tagname member, even when it is NULL.
+
+2001-12-11  Michael Snyder  <msnyder@redhat.com>
+
+       * d10v-tdep.c (d10v_register_virtual_size): Delete.
+       (d10v_gdbarch_init): Use generic_register_virtual_size.
+       * rs6000-tdep.c (rs6000_register_virtual_size): Delete.
+       (rs6000_gdbarch_init): Use generic_register_virtual_size.
+       * x86-64-tdep.c (x86_64_register_virtual_size): Delete.
+       (i386_gdbarch_init): Use generic_register_virtual_size.
+
+2001-12-11  Andrew Cagney  <ac131313@redhat.com>
+
+       * values.c: Include "gdb_assert.h".
+       (value_fn_field): Rearange to avoid -Wuninitialized warning.
+
+2001-12-10  Fred Fish  <fnf@redhat.com>
+
+       * values.c (value_fn_field): Add physname variable.  Use a minimal
+       symbol if we don't find a full symbol.  Remove setting of the new
+       value's type since that was already done by allocate_value().
+       Remove obsolete commented out error call since callees need to
+       handle a NULL return, which is possible result not an error.
+       * eval.c (evaluate_subexp_standard): Move check for inlined
+       functions to precede attempt to dereference a NULL argvec[0].
+
+2001-12-10  Fred Fish  <fnf@redhat.com>
+
+       * arm-linux-tdep.c (skip_hurd_resolver): Use NULL rather than
+       zero in args to lookup_minimal_symbol.
+       * linespec.c (decode_line_1): Ditto.
+       * i386-linux-tdep.c (skip_hurd_resolver): Ditto.
+       * minsyms.c (find_stab_function_addr): Ditto.
+       * symfile.c (simple_read_overlay_table): Ditto.
+       (simple_read_overlay_region_table): Ditto.
+
+2001-12-10  Michael Snyder  <msnyder@redhat.com>
+
+       * arch-utils.c (generic_register_virtual_size): New function.
+       * arch-utils.h: Export generic version of register_virtual_size.
+       * gdbarch.sh (REGISTER_VIRTUAL_SIZE): Use new function as default.
+       * gdbarch.c: Regenerate.
+
+2001-12-09  Fred Fish  <fnf@redhat.com>
+
+       * gdbtypes.c (TYPE_FLAG_UNSIGNED, TYPE_FLAG_STUB): Use
+       TYPE_UNSIGNED and TYPE_NOSIGN to determine when to print these
+       rather than testing the bits directly.
+       (TYPE_FLAG_NOSIGN, TYPE_FLAG_TARGET_STUB, TYPE_FLAG_STATIC,
+       TYPE_FLAG_CONST, TYPE_FLAG_VOLATILE, TYPE_FLAG_PROTOTYPED,
+       TYPE_FLAG_INCOMPLETE, TYPE_FLAG_CODE_SPACE, TYPE_FLAG_DATA_SPACE,
+       TYPE_FLAG_VARARGS): Test for and print these bits as well.
+
+2001-12-09  Fred Fish  <fnf@redhat.com>
+
+       * gdbtypes.c (build_gdbtypes): For builtin_type_char, pass
+       TYPE_FLAG_NOSIGN to init_type() rather than setting it after the
+       type is created.
+
+2001-12-09  Fred Fish  <fnf@redhat.com>
+
+       * gdbtypes.h (TYPE_UNSIGNED, TYPE_NOSIGN, TYPE_CONST,
+       TYPE_VOLATILE, TYPE_INCOMPLETE): Move macros that test the
+       bits to location in file where the bits are defined.
+       (TYPE_STUB, TYPE_TARGET_STUB, TYPE_STATIC, TYPE_PROTOTYPED,
+       TYPE_CODE_SPACE, TYPE_DATA_SPACE): New test macros.
+
+2001-12-09  Fred Fish  <fnf@redhat.com>
+
+       * gdbtypes.c (allocate_stub_method): Replace hand crafted type
+       initialization with call to the init_type() function.
+
 2001-12-09  Andrew Cagney  <ac131313@redhat.com>
 
        * arch-utils.c (generic_register_raw_size): New function.