* NEWS: Note new target XStormy16.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 8a8fe7cecbfb60f95d7951c233d754266ac8bd6a..fc3464a895cd57cf6e69e3ecef6021f51c528354 100644 (file)
@@ -1,3 +1,459 @@
+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.
+       * gdbarch.sh (REGISTER_RAW_SIZE): Use generic_register_raw_size as
+       the static default.
+       * gdbarch.c: Regenerate.        
+       * arch-utils.h (generic_register_raw_size): Declare.
+
+       * config/mips/tm-mips.h (REGISTER_RAW_SIZE): Delete macro.
+       * mips-tdep.c (mips_register_raw_size): Make function static.
+       (mips_gdbarch_init): Initialize register_raw_size.
+
+2001-12-08  Fred Fish  <fnf@redhat.com>
+
+       * dwarf2read.c (read_typedef):  Replace hand crafted type
+       initialization with a call to the init_type() function, which
+       is how the rest of gdb creates types.
+
+2001-12-09  Fred Fish  <fnf@redhat.com>
+
+       * mdebugread.c (cross_ref): Pass TYPE_FLAG_STUB to init_type()
+       rather than setting it after the type is created.
+
+2001-12-09  Elena Zannoni  <ezannoni@redhat.com>
+
+       * config/rs6000/tm-rs6000.h (STAB_REG_TO_REGNUM): Remove
+       definition, it is now multiarched.
+       * ppc-tdep.h (struct gdbarch_tdep): Move from rs6000-tdep.c.  Add
+       fields for special register numbers.
+       * rs6000-tdep.c (rs6000_gdbarch_init): Initialize new tdep special
+       regnum fields.
+       (rs6000_saved_pc_after_call): Use gdbarch_tdep registers fields
+       instead of hardcoded macros.
+       (branch_dest, rs6000_pop_frame, rs6000_fix_call_dummy,
+       ppc_push_return_address, rs6000_frame_saved_pc,
+       frame_get_saved_regs, rs6000_frame_chain,
+       rs6000_store_return_value): Ditto.
+       (rs6000_stab_reg_to_regnum): New function.
+       * ppcnbsd-nat.c (fetch_inferior_registers,
+       store_inferior_registers, fetch_core_registers): Ditto.
+       * ppc-linux-tdep.c (ppc_linux_in_sigtramp,
+       ppc_linux_frame_init_saved_regs): Ditto.
+       * ppc-linux-nat.c (ppc_register_u_addr, supply_gregset,
+       fill_gregset): Ditto.
+       * ppc-bdm.c (bdm_ppc_fetch_registers, bdm_ppc_store_registers):
+       Ditto.
+
+2001-12-08  Fred Fish  <fnf@redhat.com>
+
+       * c-lang.c (c_create_fundamental_type): For FT_CHAR, pass
+       TYPE_FLAG_NOSIGN to init_type() rather than setting it after the
+       type is created.
+
+2001-12-08  Fred Fish  <fnf@redhat.com>
+
+       * dwarf2read.c (TYPE_FLAG_VARARGS): Remove from here.
+       * gdbtypes.h (TYPE_FLAG_VARARGS): Add here and change value to
+       not collide with other flag bits.
+
+2001-12-08  Fred Fish  <fnf@redhat.com>
+
+       * dwarf2read.c (read_base_type): Rename is_unsigned to type_flags.
+       For unsigned types set TYPE_FLAG_UNSIGNED and pass it to
+       init_type().
+
+2001-12-08  Daniel Jacobowitz  <drow@mvista.com>
+
+       * Makefile.in (cp-valprint.o): Add dependency on $(cp_abi_h).
+
+2001-12-08  Jim Blandy  <jimb@redhat.com>
+
+       * config/s390/s390.mh: Don't use the linux-thread.o module;
+       thread-db.o, lin-lwp.o, and proc-service.o should work just fine.
+
+2001-12-07  Andrew Cagney  <ac131313@redhat.com>
+
+       * PROBLEMS: New file.
+       * README: Move known problems to PROBLEMS file.
+
+2001-12-07  Daniel Jacobowitz  <drow@mvista.com>
+
+       * stabsread.c (read_member_functions): Skip member functions which
+       are duplicates of the callable constructor/destructor.
+
+2001-12-07  Jim Blandy  <jimb@redhat.com>
+
+       * s390-tdep.c (s390_store_return_value): Don't convert float
+       values to double format when returning them; just return them in
+       the first half of the FP register, as the ABI specifies.
+
+2001-12-07  Daniel Jacobowitz  <drow@mvista.com>
+
+       * valops.c (hand_function_call): Check for method arguments in
+       TYPE_ARG_TYPES(), not in TYPE_FIELD ().
+
+2001-12-07  Daniel Jacobowitz  <drow@mvista.com>
+
+       * cp-valprint.c (cp_print_value): Preserve offset if
+       the virtual base is outside of this object.
+
+2001-12-07  Daniel Jacobowitz  <drow@mvista.com>
+
+       * gdbtypes.c (finish_cv_type): New function.
+       (check_typedef): Remove ``register'' keyword from argument. 
+       Preserve const and volatile attributes across filling in
+       opaque types.
+       * gdbtypes.h (finish_cv_type): Add prototype.
+
+       * hp-symtab-read.c (hpread_read_struct_type): Call finish_cv_type.
+       * stabsread.c (read_struct_type): Likewise.
+       * dwarf2read.c (read_structure_scope): Likewise.  Remove redundant
+       assignment to die->type.
+
+2001-12-07  Jim Blandy  <jimb@redhat.com>
+
+       * printcmd.c (print_scalar_formatted): Compare the length of the
+       value against the lengths of the target's floating-point types,
+       not the host's.  Add support for `long double'.
+
+2001-12-07  Martin M. Hunt  <hunt@redhat.com>
+
+       * configure.in: Check for sys/filio.h
+       * configure: Rebuild.
+       * config.in: Add HAVE_SYS_FILIO_H
+       * ser-tcp.c: Conditionally include sys/filio.h.
+       
+2001-12-07  Andrew Cagney  <ac131313@redhat.com>
+
+       * ui-out.c (ui_out_table_begin): Initialize body_flag.
+       (struct ui_out_table): New structure.  Move table fields to here.
+       Rename headercurr to headernext.
+       (struct ui_out): Remove table specific fields.  Add field table.
+       (ui_out_table_begin, ui_out_table_body, ui_out_table_end): Update.
+       (ui_out_table_header, ui_out_begin): Update.
+       (verify_field_proper_position, verify_field_alignment): Update.
+       (ui_out_new, clear_header_list, append_header_to_list): Update.
+       (get_next_header): Rename get_curr_header.  Update comments and
+       code.
+
+2001-12-06  Andrew Cagney  <ac131313@redhat.com>
+
+       * regcache.c (XCALLOC): Delete macro that should not have been
+       added.
+
+2001-12-07  Jiri Smid  <smid@suse.cz>
+
+       * dwarf2cfi.c: New file.
+       * dwarf2cfi.h: New file.
+       * dwarf2read.c (dwarf_frame_offset, dwarf_frame_size): New variables.
+       (dwarf_eh_frame_offset, dwarf_eh_frame_size): New variables.
+       (dwarf2_read_section): Change to non static.
+       (dwarf2_locate_sections): Add .debug_frame and .eh_frame section
+       recognition.
+       (FRAME_SECTION, EH_FRAME_SECTION): New define.
+       * elfread.c (elf_symfile_read): Add call of frame informations build.
+       * frame.h (frame_info): Add pointer to unwind_context.
+       * symfile.h (dwarf2_build_frame_info): Add declaration.
+       * gdbarch.sh (DWARF2_BUILD_FRAME_INFO): Add.
+       * gdbarch.h, gdbarch.c: Regenerate.
+       * Makefile.in: Add dwarf2cfi_h, dwarf2cfi.o
+       * x86-64-tdep.c (i386_gdbarch_init): Initialize target vector to
+       use debug frame info.
+
+2001-12-06  Andrew Cagney  <ac131313@redhat.com>
+
+       * defs.h: Do not include "mmalloc.h".
+       (mcalloc, mmalloc, mrealloc, mfree): Delete declaration.
+       * objfiles.c: Include "mmalloc.h".
+       * utils.c: Include "mmalloc.h".
+       (mmalloc, mfree, mrealloc, mmalloc): Make static, change PTR to
+       void pointer.
+       
+2001-12-06  Andrew Cagney  <ac131313@redhat.com>
+
+       * regcache.c (store_register, fetch_register): Only use
+       fetch/store pseudo-register when function is present.  Assume
+       target can handle all registers.
+       (registers_changed): Simplify invalidate loop.
+       (registers_fetched): Add comments.
+       (register_buffer): Add regnum range assertion.  Remove code
+       handling -ve regnum.
+       (build_regcache): Make space for pseudo-registers when computing
+       sizeof_registers.  Initialize register_offset.
+
+       * gdbarch.sh (FETCH_PSEUDO_REGISTER): Change to a function with
+       predicate.
+       (STORE_PSEUDO_REGISTER): Ditto.
+       * gdbarch.h, gdbarch.c: Re-generate.
+       
+2001-12-06  Jim Blandy  <jimb@redhat.com>
+
+       * config/s390/nm-linux.h: Watchpoints are either continuable or
+       steppable, not both.  The S/390 has continuable watchpoints, so
+       delete the #definition of HAVE_STEPPABLE_WATCHPOINT.
+
+2001-12-04  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       * go32-nat.c (go32_fetch_registers): Remove call to register_buffer
+       (which is now a static function in regcache.c)
+       and use regcache_collect instead.
+
+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.
This page took 0.02809 seconds and 4 git commands to generate.