* procfs.c (proc_get_gregs, proc_get_fpregs, proc_set_gregs)
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 57154ed160aafd8a5b5f6a3c783b870628e89db7..daaaf4d5d3e178aac812c6e5d0c7e6524edc443d 100644 (file)
@@ -1,3 +1,350 @@
+2004-10-30  Mark Kettenis  <kettenis@gnu.org>
+
+       * procfs.c (proc_get_gregs, proc_get_fpregs, proc_set_gregs)
+       (proc_set_fpregs, procfs_fetch_registers, procfs_store_registers):
+       Cleanup coding style.
+
+2004-10-30  Andrew Cagney  <cagney@gnu.org>
+
+       * mips-tdep.h (mips_pc_is_mips16): Declare.
+       * mips-tdep.c (mips_pc_is_mips16): Rename pc_is_mips16, make
+       non-static.  Update calls.
+
+       * cli/cli-decode.c (add_setshow_enum_cmd): New function.
+       * command.h (add_setshow_enum_cmd): Declare.
+       * mips-tdep.c (_initialize_mips_tdep): Use add_setshow_enum_cmd.
+
+       * mips-tdep.c (_initialize_mips_tdep): Use
+       add_setshow_zinteger_cmd.
+       
+       * mips-tdep.c (mips_eabi_extract_return_value)
+       (mips_o64_extract_return_value, mips_o64_store_return_value)
+       (return_value_location, mips_eabi_reg_struct_has_addr)
+       (mips_eabi_use_struct_convention)
+       (mips_eabi_store_return_value): Delete.
+       (mips_eabi_store_return_value): New function.
+       (mips_eabi_return_value): New function.
+       (mips_gdbarch_init): For O64 and EABI, delete
+       extract_return_value, store_return_value, use_struct_convention
+       and reg_struct_has_addr, add return_value.
+
+       * mips-tdep.c (read_signed_register): Use
+       regcache_cooked_read_signed.
+
+2004-10-30  Mark Kettenis  <kettenis@gnu.org>
+
+       * mipsread.c: Cleanup coding style.
+       (mipscoff_new_init, mipscoff_symfile_init, mipscoff_symfile_read)
+       (mipscoff_symfile_finish): Remove prototypes.
+
+2004-10-29  Mark Kettenis  <kettenis@gnu.org>
+
+       * mips-tdep.c (mips_fetch_instruction, mips16_fetch_instruction)
+       (mips_mdebug_frame_cache, mips16_scan_prologue)
+       (mips32_scan_prologue, mips_stub_frame_cache)
+       (heuristic_proc_start, heuristic_proc_desc)
+       (mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call)
+       (mips_n32n64_return_value, mips_o32_push_dummy_call)
+       (mips_o32_return_value, mips_o64_push_dummy_call)
+       (mips_step_skips_delay, mips_skip_trampoline_code)
+       (mips_gdbarch_init): Use MIPS_A0_REGNUM instead of A0_REGNUM,
+       MIPS_RA_REGNUM instead of RA_REGNUM, MIPS_T9_REGNUM instead of
+       T9_REGNUM, MIPS_V0_REGNUM instead of V0_REGNUM, MIPS_ZERO_REGNUM
+       instead of ZERO_REGNUM, MIPS32_SIZE_INSN instead of MIPS_INSTLEN
+       and MIPS16_INSN_SIZE instead of MIPS16_INSTLEN.
+       (mips_dump_tdep): Don't print A0_REGNUM, RA_REGNUM,
+       T9_REGNUM, V0_REGNUM, ZERO_REGNUM, MIPS_INSTLEN and
+       MIPS16_INSTLEN.  Use MIPS_A0_REGNUM instead of A0_REGNUM.
+       * mips-linux-tdep.c (mips_linux_o32_sigframe_init)
+       (mips_linux_n32n64_sigframe_init): Use MIPS_ZERO_REGNUM instead of
+       ZERO_REGNUM.
+       * mipsnbsd-tdep.c (mipsnbsd_cannot_fetch_register)
+       (mipsnbsd_cannot_store_register): Use MIPS_ZERO_REGNUM instead of
+       ZERO_REGNUM.
+       (mipsnbsd_get_longjmp_target): Use MIPS_A0_REGNUM instead of
+       A0_REGNUM.
+       * mipsnbsd-nat.c: Include "mips-tdep.h".
+       (getregs_supplies): Use MIPS_ZERO_REGNUM instead of ZERO_REGNUM.
+       * Makefile.in (mipsnbsd-nat.o): Update dependencies.
+
+2004-10-29  Andrew Cagney  <cagney@gnu.org>
+
+       * stack.c (parse_frame_specification_1): New function based on
+       parse_frame_specification.  Add message and selected_frame_p
+       paramters.  Truely always return non-NULL.
+       (parse_frame_specification): Call parse_frame_specification_1.
+       (frame_info): Update.  Eliminate target_has_stack check.
+       (select_frame_command): Update.
+
+2004-10-29  Andrew Cagney  <cagney@gnu.org>
+
+       * frame.h (get_selected_frame): Add message parameter.
+       * frame.c (get_selected_frame): Add and use message parameter.
+       * stack.c (current_frame_command, return_command, locals_info)
+       (catch_info, args_info, up_silently_base, down_silently_base): Use
+       get_selected_frame with an explicit message.
+       * thread.c, stack.c, sh-tdep.c, sh64-tdep.c: Update.
+       * remote-rdp.c, remote-mips.c, remote-e7000.c: Update.
+       * ocd.c, mi/mi-main.c, mi/mi-cmd-stack.c: Update.
+       * infrun.c, inflow.c, infcmd.c, frame.c: Update.
+       * findvar.c, eval.c, corelow.c, bsd-kvm.c: Update.
+       * breakpoint.c: Update.
+
+2004-10-29  Andrew Cagney  <cagney@gnu.org>
+
+       * trad-frame.c (trad_frame_get_prev_register): Use
+       frame_unwind_register instead of frame_register_unwind, do not
+       recurse the register's location.
+       * xstormy16-tdep.c (xstormy16_frame_prev_register): 
+       * sparc-tdep.c (sparc32_frame_prev_register): Ditto.
+       * sparc64-tdep.c (sparc64_frame_prev_register): Ditto.
+       * sh-tdep.c (sh_frame_prev_register): Ditto.
+       * m68k-tdep.c (m68k_frame_prev_register): Ditto.
+       * i386-tdep.c (i386_frame_prev_register): Ditto.
+       * dwarf2-frame.c (dwarf2_frame_prev_register): Ditto.
+       * amd64-tdep.c (amd64_frame_prev_register): Ditto.
+
+2004-10-28  Mark Kettenis  <kettenis@jive.nl>
+
+       * proc-events.c: Fix several coding-style issues.  Consistently
+       use #ifdef instead of #if defined().
+       (proc_prettyfprint_fault, proc_prettyfprint_faultset): Use
+       ARRAY_SIZE.
+       (_initialize_proc_events): New prototype.
+
+       * proc-why.c: Fix several coding-style issues.
+       (proc_prettyfprint_why): Use ARRAY_SIZE.
+
+2004-10-27  Jim Blandy  <jimb@redhat.com>
+
+       * remote.c (fetch_register_using_p): Construct 'p' packet in a
+       manner independent of the host byte order.
+
+2004-10-27  Mark Kettenis  <kettenis@gnu.org>
+
+       * mips-tdep.c (id_delayed): Remove prototype.
+
+2004-10-26  Mark Kettenis  <kettenis@gnu.org>
+
+       * mips-tdep.h: Add MIPS_ZERO_REGNUM, MIPS_AT_REGNUM,
+       MIPS_V0_REGNUM. MIPS_A0_REGNUM, MIPS_T9_REGNUM and MIPS_RA_REGNUM
+       to enum with register numbers.
+       (enum mips_insn_size): New enum.
+
+2004-10-26  Andrew Cagney  <cagney@gnu.org>
+
+       * config/mips/tm-linux.h: Delete #undef SKIP_TRAMPOLINE_CODE.
+       * mips-tdep.c (mips_skip_trampoline_code): Rename mips_skip_stub.
+       (mips_gdbarch_init): Update.
+       (mips_dump_tdep): Do not print SKIP_TRAMPOLINE_CODE.
+
+       * config/arm/tm-linux.h (IN_SOLIB_RETURN_TRAMPOLINE): Delete.
+       * config/mips/tm-nbsd.h, config/mips/tm-linux.h: Delete #undef
+       IN_SOLIB_RETURN_TRAMPOLINE.
+       * mips-tdep.c (mips_dump_tdep): Do not print
+       IN_SOLIB_RETURN_TRAMPOLINE.
+       (mips_in_solib_return_trampoline): Rename mips_in_return_stub.
+       (mips_gdbarch_init): Update.
+
+       * mips-tdep.h (mips_software_single_step): Move to here ...
+       * config/mips/tm-mips.h: ... from here.
+       * config/mips/tm-linux.h (SOFTWARE_SINGLE_STEP_P) 
+       (SOFTWARE_SINGLE_STEP): Delete.
+       * mips-linux-tdep.c (mips_linux_init_abi): Set software_single_step.
+
+2004-10-25  Andrew Cagney  <cagney@gnu.org>
+
+       * NEWS: Add Changes since GDB 6.3 section.
+
+2004-10-23  Andreas Schwab  <schwab@suse.de>
+
+       * ada-lang.c (grow_vect): Return the new array instead of
+       expecting pointer to pointer to avoid violation of aliasing rules.
+       * ada-lang.h (GROW_VECT): Adapt call to grow_vect.
+
+2004-10-23  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * s390-tdep.c (enum pv_boolean): Remove.
+       (pv_is_array_ref): Remove.
+       (s390_on_stack): Remove.
+       (S390_NUM_SPILL_SLOTS): Remove.
+       (struct s390_prologue_data): Remove members 'spill' and 'back_chain',
+       add members 'gpr_slot', 'fpr_slot', and 'back_chain_saved_p'.
+       (s390_store): Track all stores of orginal incoming registers to the
+       stack constant offsets relative to the CFA, instead of only tracking
+       stores into specific spill slots.
+       (s390_load): Likewise.
+       (s390_analyze_prologue): Adapt to struct s390_prologue_data changes.
+       (s390_prologue_frame_unwind_cache): Likewise.  Only track registers
+       defined as call-saved by the ABI.
+       (s390_push_dummy_call): Use bottom of dummy call argument save area
+       as return value, not the top.  Do not store to the called function's
+       register save area.
+       (s390_unwind_dummy_id): Adapt accordingly.
+
+2004-10-23  Andrew Cagney  <cagney@gnu.org>
+
+       * objfiles.h (struct objfile): Rename obj_private to
+       deprecated_obj_private, sym_private to deprecated_sym_private, and
+       sym_stab_info to deprecated_sym_stab_info.
+       * gdb-stabs.h: Update.
+       * elfread.c: Update.
+       * dbxread.c: Update.
+       * coffread.c: Update.
+       * xcoffread.c: Update.
+       * symfile.c: Update.
+       * somread.c: Update.
+       * nlmread.c: Update.
+       * mdebugread.c: Update.
+       * hpread.c: Update.
+       * coffread.c: Update.
+
+2004-10-23  Mark Kettenis  <kettenis@gnu.org>
+
+       * mips64obsd-nat.c, mips64obsd-tdep.c: New files.
+       * configure.host: Add mips64*-*-openbsd*.
+       * configure.tgt: Add mips64*-*-openbsd*.
+       * Makefile.in (ALLDEPFILES): Add mips64obsd-nat.o,
+       mips64obsd-tdep.c.
+       (mips64obsd-nat.o, mips64obsd-tdep.o): New dependecies.
+       * config/mips/obsd64.mh, config/mips/obsd64.mt: New files.
+
+2004-10-21  Joel Brobecker  <brobecker@gnat.com>
+
+       * symtab.c (symbol_search_name): Minor reformatting.
+
+2004-10-20  Joel Brobecker  <brobecker@gnat.com>
+
+       * symtab.h: Fix typo in comment.
+
+2004-10-19  Mark Kettenis  <kettenis@gnu.org>
+
+       * dwarf2read.c (struct comp_unit_head): Fix coding style.
+       (dwarf_decode_line_header): Likewise.
+
+2004-10-19  Michael Chastain  <mec.gnu@mindspring.com>
+
+       * NEWS: GDB works with GCC -feliminate-dwarf2-dups.
+
+2004-10-19  Andrew Cagney  <cagney@gnu.org>
+
+       GDB 6.3 branch created.
+       * version.in: Bump to version 6.3.50_2004-10-19-cvs.
+
+2004-10-15  Joel Brobecker  <brobecker@gnat.com>
+
+       * dwarf2read.c (set_cu_language): Set language to Ada for
+       DW_LANG_Ada83 and DW_LANG_Ada95.
+
+2004-10-15  Michael Chastain  <mec.gnu@mindspring.com>
+
+       From Andreas Schwab <schwab@suse.de>:
+       * Makefile.in (.y.c, .l.c.): Fix the substitutions for
+       for xmalloc and xrealloc.
+
+2004-10-15  Andrew Cagney  <cagney@gnu.org>
+
+       * ada-exp.y, ada-lex.l: Use xmalloc and xrealloc through out.
+       * inf-ptrace.c: Include "gdb_wait.h" instead of <wait.h>.
+       * Makefile.in (.y.c, .l.c): Don't replace xmalloc with xxmalloc.
+       Update dependencies.
+
+2004-10-15  Paul Hilfinger  <Hilfinger@gnat.com>
+
+       * ada-lang.c (ada_lookup_symbol): Correct comment.
+       (ada_evaluate_subexp): Change error message for
+       OP_FUNCALL case so as not to indicate an internal error.
+       
+2004-10-15  Joel Brobecker  <brobecker@gnat.com>
+
+       Committed by Paul Hilfinger.
+       * ada-lang.c (ada_template_to_fixed_record_type_1): Detect bogus
+       type sizes in XVE/XVU types, and emit a warning when that happens,
+       instead of rounding up the size of the resulting type.
+       Some minor reformatting.
+       (ada_is_aligner_type): Do not consider a type as an aligner type 
+       if there is a corresponding XVS type as well.
+       (ada_evaluate_subexp): For TERNOP_SLICE, handle cases where we 
+       have several levels of pointer indirection to the array.
+       
+2004-10-15  Jerome Guitton  <guitton@gnat.com>
+
+       Committed by Paul Hilfinger.
+       * ada-lang.c (check_size): New function.
+       (coerce_unspec_val_to_type): call check_size to make sure
+       that the object size is reasonable.
+       (ada_evaluate_subexp): in UNOP_IND: Ditto. In TERNOP_SLICE:
+       Implements the case when we get a reference when we evaluate
+       the expression of one of the bounds of the slice.
+       (ada_value_struct_elt): when a packed array field is
+       a reference, use ada_coerce_ref to dereference it; use 
+       ada_value_ind only if it is a pointer.
+
+2004-10-15  Joel Brobecker  <brobecker@gnat.com>
+
+       * mips-tdep.c (mips32_scan_prologue): Move the implementation up
+       a bit to avoid the necessity of an advance declaration. Remove
+       declaration.
+       (set_reg_offset): Move implemenation up.
+       (mips16_get_imm): Likewise.
+       (mips16_scan_prologue): Likewise.
+       (reset_saved_regs): Likewise.
+       (mips32_scan_prologue): Likewise.
+
+2004-10-14  Joel Brobecker  <brobecker@gnat.com>
+
+       * mips-tdep.c (mips32_scan_prologue): Add advance declaration.
+       Remove sp as a parameter, compute it internally instead. Move
+       prologue scanning limit from heuristic_proc_desc to here.
+       (mips16_scan_prologue): Likewise.
+       (mips_insn16_frame_cache): Replace call to heuristic_proc_desc
+       by call to mips16_scan_prologue.
+       (mips_insn32_frame_cache): Replace call to heuristic_proc_desc
+       by call to mips32_scan_prologue.
+       (heuristic_proc_desc): Remove code that's no longer necessary.
+       Update calls to mips16_scan_prologue and mips32_scan_prologue.
+       (mips_skip_prologue): Update calls to mips16_scan_prologue
+       and mips32_scan_prologue.
+
+2004-10-14  Joel Brobecker  <brobecker@gnat.com>
+
+       * mips-tdep.c (mips16_scan_prologue): Merge code from
+       mips16_skip_prologue.  Now return the address of the first
+       instruction past the function prologue.
+       (mips16_skip_prologue): Remove, no longer necessary.
+       (mips_skip_prologue): Replace call to mips16_skip_prologue
+       by call to mips16_scan_prologue.
+
+2004-10-14  Joel Brobecker  <brobecker@gnat.com>
+
+       * mips-tdep.c (mips32_scan_prologue): Merge code from
+       mips32_skip_prologue.  Now return the address of the first
+       instruction past the function prologue.
+       (mips32_skip_prologue): Remove.  No longer necessary.
+       (mips16_skip_prologue): Add parameter end_pc instead of
+       computing it.
+       (mips_skip_prologue): Compute the upper limit for the
+       prologue scanning. Update call to mips16_skip_prologue.
+       Replace call to mips32_skip_prologue by call to
+       mips32_scan_prologue.
+
+2004-10-14  Mark Kettenis  <kettenis@gnu.org>
+
+       * hppa-tdep.c (hppa_frame_cache): Add support for OpenBSD and
+       NetBSD system call stubs that store %rp in the ERP slot of the
+       stack frame.
+
+       * source.c: Always define O_BINARY to 0 if not defined already.
+       (openp): Unconditionally use O_BINARY.
+
+       * top.c (gdb_readline): Always accept "\r\n" as a line-ending.
+       * event-top.c (gdb_readline2): Likewise.
+
+2004-10-14  Orjan Friberg  <orjanf@axis.com>
+
+       * cris-tdep.c (_initialize_cris_tdep): Re-add call to
+       deprecated_add_core_fns which was removed by mistake.
+
 2004-10-13  Kevin Buettner  <kevinb@redhat.com>
 
        * ia64-linux-nat.c (fill_gregset, fill_fpregset): Replace
        * mips-tdep.c (mips32_next_pc): Check the register's contents,
        not its number for BLEZ/BLEZL and BGTZ/BGTZL.
 
->>>>>>> 1.6475
 2004-10-07  Kei Sakamoto  <sakamoto.kei@renesas.com>
 
        * m32r-tdep.c (decode_prologue): Support functions written
This page took 0.02704 seconds and 4 git commands to generate.