Alan Modra [Wed, 28 Feb 2007 01:29:58 +0000 (01:29 +0000)]
* configure.tgt (spu-*-elf*): Delete targ_extra_ofiles.
Alan Modra [Wed, 28 Feb 2007 01:29:32 +0000 (01:29 +0000)]
* Makefile.am (PROGS): Add BUILD_INSTALL_MISC.
(bin_PROGRAMS): Replace BUILD_MISC with BUILD_INSTALL_MISC.
(EXTRA_PROGRAMS): Remove bin2c.
(bin2c$(EXEEXT_FOR_BUILD)): New rule.
(bin2c_SOURCES): Delete.
(DISTCLEANFILES): Remove sysinfo.
(MOSTLYCLEANFILES): Add sysinfo$(EXEEXT_FOR_BUILD) and
bin2c$(EXEEXT_FOR_BUILD).
* configure.in (BUILD_MISC): Add $(EXEEXT_FOR_BUILD) to bin2c.
Move embedspu to..
(BUILD_INSTALL_MISC): ..here.
* Makefile.in: Regenerate.
* configure: Regenerate.
gdbadmin [Wed, 28 Feb 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Joel Brobecker [Tue, 27 Feb 2007 23:42:33 +0000 (23:42 +0000)]
* mi/mi-cmd-var.c (varobj_update_one): Remove reference to
unused WRONG_PARAM value since it was recently deleted.
Nick Roberts [Tue, 27 Feb 2007 23:27:47 +0000 (23:27 +0000)]
(varobj_update): Free temporary vectors.
Nick Roberts [Tue, 27 Feb 2007 23:27:15 +0000 (23:27 +0000)]
*** empty log message ***
Ulrich Weigand [Tue, 27 Feb 2007 23:04:28 +0000 (23:04 +0000)]
* config/powerpc/linux.mt (DEPRECATED_TM_FILE): Set to tm-ppc-eabi.h.
* config/powerpc/tm-linux.h: Delete file.
* config/powerpc/tm-ppc-eabi.h: Do not include "rs6000/tm-rs6000.h".
(PROCESS_LINENUMBER_HOOK): Do not undefine.
(TEXT_SEGMENT_BASE): Do not redefine.
* config/rs6000/nm-rs6000.h (CHILD_SPECIAL_WAITSTATUS): Move here
from config/rs6000/tm-rs6000.h.
(TARGET_CREATE_INFERIOR_HOOK, rs6000_create_inferior): Likewise.
* config/rs6000/tm-rs6000.h (struct frame_info): Remove declaration.
(TEXT_SEGMENT_BASE): Remove.
(IN_SOLIB_RETURN_TRAMPOLINE): Remove.
(rs6000_in_solib_return_trampoline): Remove.
(SKIP_TRAMPOLINE_CODE): Remove.
(rs6000_skip_trampoline_code): Remove.
(CHILD_SPECIAL_WAITSTATUS): Move to config/rs6000/nm-rs6000.h.
(TARGET_CREATE_INFERIOR_HOOK, rs6000_create_inferior): Likewise.
(FP0_REGNUM): Remove.
(rs6000_find_toc_address_hook): Move to rs6000-tdep.h.
(rs6000_set_host_arch_hook): Remove.
* Makefile.in (rs6000-nat.o): Add dependency on $(rs6000_tdep_h).
(rs6000-aix-tdep.o): Add dependency on $(ppc_tdep_h).
* ppc-tdep.h (struct gdbarch_tdep): Add field text_segment_base.
* rs6000-aix-tdep.c: Include "ppc-tdep.h".
(rs6000_aix_init_osabi): Set text_segment_base tdep field.
* rs6000-nat.c: Include "rs6000-tdep.h".
(exec_one_dummy_insn): Replace TEXT_SEGMENT_BASE by tdep field.
(set_host_arch): Rename to ...
(rs6000_create_inferior): ... this. Make public.
(_initialize_core_rs6000): Do not set rs6000_set_host_arch_hook.
* rs6000-tdep.c (rs6000_set_host_arch_hook): Remove.
(rs6000_create_inferior): Remove.
(branch_dest): Replace TEXT_SEGMENT_BASE by tdep field.
(rs6000_gdbarch_init): Call set_gdbarch_fp0_regnum,
set_gdbarch_in_solib_return_trampoline, and
set_gdbarch_skip_trampoline_code.
* rs6000-tdep.h (rs6000_find_toc_address_hook): Move here
from config/rs6000/tm-rs6000.h.
Joel Brobecker [Tue, 27 Feb 2007 23:01:58 +0000 (23:01 +0000)]
Fix Entry dates for the last couple entries.
Joel Brobecker [Tue, 27 Feb 2007 23:01:17 +0000 (23:01 +0000)]
* gdb.dwarf2/dw2-producer.S: New file.
* gdb.dwarf2/dw2-producer.exp: New testcase.
Alan Modra [Tue, 27 Feb 2007 23:00:05 +0000 (23:00 +0000)]
daily update
Joel Brobecker [Tue, 27 Feb 2007 22:57:42 +0000 (22:57 +0000)]
* buildsym.c (record_producer): Do nothing if no producer is provided.
Nick Roberts [Tue, 27 Feb 2007 22:01:10 +0000 (22:01 +0000)]
(enum varobj_update_error): Delete WRONG_PARAM value.
Nick Roberts [Tue, 27 Feb 2007 22:00:39 +0000 (22:00 +0000)]
(varobj_update): Remove unused local. Use gdb_assert
to check changelist is non-NULL. Call error if the frontend tries
to update a non-root variable.
Nick Roberts [Tue, 27 Feb 2007 21:58:57 +0000 (21:58 +0000)]
*** empty log message ***
Nick Roberts [Tue, 27 Feb 2007 21:51:57 +0000 (21:51 +0000)]
*** empty log message ***
Nick Roberts [Tue, 27 Feb 2007 21:45:34 +0000 (21:45 +0000)]
* gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
* gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
* gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
* gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
* gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
Revert tests to use mi_gdb_test and include value field in output
of -var-create.
Daniel Jacobowitz [Tue, 27 Feb 2007 20:17:19 +0000 (20:17 +0000)]
* dwarf2-frame.c (dwarf2_frame_cache, dwarf2_frame_this_id)
(dwarf2_frame_sniffer): Update.
(dwarf2_signal_frame_this_id): New function.
(dwarf2_signal_frame_unwind): Use it.
(dwarf2_frame_base_sniffer): Use frame_unwind_address_in_block.
* frame.c (frame_func_unwind): Add this_type argument.
(get_frame_func): Update.
(frame_unwind_address_in_block): Add this_type argument and check it.
Fix a typo.
(get_frame_address_in_block): Update.
* frame.h (enum frame_type): Move higher in the file.
(frame_unwind_address_in_block, frame_func_unwind): Add enum frame_type
argument.
* alpha-mdebug-tdep.c, alpha-tdep.c, amd64-tdep.c, amd64obsd-tdep.c,
arm-tdep.c, avr-tdep.c, cris-tdep.c, frv-tdep.c, h8300-tdep.c,
hppa-tdep.c, i386-tdep.c, i386obsd-tdep.c, ia64-tdep.c,
libunwind-frame.c, m32c-tdep.c, m32r-linux-tdep.c, m32r-tdep.c,
m68hc11-tdep.c, m68k-tdep.c, m88k-tdep.c, mips-mdebug-tdep.c,
mips-tdep.c, mn10300-tdep.c, mt-tdep.c, rs6000-tdep.c, s390-tdep.c,
score-tdep.c, sh-tdep.c, sh64-tdep.c, sparc-tdep.c,
sparc64obsd-tdep.c, spu-tdep.c, v850-tdep.c, vax-tdep.c,
xstormy16-tdep.c, xtensa-tdep.c: Update calls to
frame_func_unwind and frame_unwind_address_in_block to specify
the frame type. Use frame_unwind_address_in_block instead of
frame_pc_unwind in sniffers.
* gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
Daniel Jacobowitz [Tue, 27 Feb 2007 19:46:04 +0000 (19:46 +0000)]
* frame.c (deprecated_selected_frame): Rename to...
(selected_frame): ...this. Make static.
(get_selected_frame, select_frame): Update.
* frame.h (deprected_select_frame): Delete.
(deprecated_safe_get_selected_frame): Update comments.
* breakpoint.c, cli/cli-cmds.c, f-valprint.c, infcmd.c, inflow.c,
infrun.c, stack.c, tui/tui-disasm.c, tui/tui-source.c,
tui/tui-winsource.c, valops.c, varobj.c, findvar.c, macroscope.c,
parse.c, regcache.h, sh64-tdep.c, tui/tui-hooks.c, tui/tui-win.c,
tui/tui.c: Replace references to deprecated_selected_frame.
Mark Mitchell [Tue, 27 Feb 2007 18:51:57 +0000 (18:51 +0000)]
* armos.c (SWIflen): Do not treate file descriptor zero as
special.
Fred Fish [Tue, 27 Feb 2007 17:29:51 +0000 (17:29 +0000)]
Reviewed by Mark Kettenis <mark.kettenis@xs4all.nl>
2007-02-27 Fred Fish <fnf@specifix.com>
* rs6000-tdep.c (skip_prologue): Recognize addi instructions that
directly decrement the stack pointer, accumulate their operand into
the stack offset, and mark the function as not being frameless.
Daniel Jacobowitz [Tue, 27 Feb 2007 17:23:34 +0000 (17:23 +0000)]
* terminal.h: Check HAVE_SGTTY_H.
Daniel Jacobowitz [Tue, 27 Feb 2007 17:21:35 +0000 (17:21 +0000)]
from Mat Hostetter <mat@lcs.mit.edu>
* remote-utils.c (remote_open): Print out the assigned port number.
Daniel Jacobowitz [Tue, 27 Feb 2007 13:54:04 +0000 (13:54 +0000)]
* gdb.base/maint.exp: Remove full paths from test names.
* gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
Nathan Sidwell [Tue, 27 Feb 2007 12:19:16 +0000 (12:19 +0000)]
* binutils-all/objcopy.exp: Skip for uclinux targets.
Alan Modra [Tue, 27 Feb 2007 09:02:43 +0000 (09:02 +0000)]
* mt-spu (all-ld): Depend on all-binutils.
also fix previous ChangeLog entry
Alan Modra [Tue, 27 Feb 2007 08:35:17 +0000 (08:35 +0000)]
missed from last commit
Alan Modra [Tue, 27 Feb 2007 08:33:25 +0000 (08:33 +0000)]
* Makefile.am (ALL_EMUL_EXTRA_OFILES): Remove spu_inc.o.
(eelf32_spu.c): Adjust dependencies.
* Makefile.in: Regenerate.
* emultempl/spuelf.em (ovl_mgr): New array. Insert spu_ovl.o
code using bin2c.
(_binary_spu_ovl_o_start, _binary_spu_ovl_o_end): Delete.
(ovl_mgr_stream): Update.
* emultempl/spu_inc.s: Delete.
* emultempl/spu_none.s: Delete.
Alan Modra [Tue, 27 Feb 2007 08:31:46 +0000 (08:31 +0000)]
* bin2c.c: New file.
* Makefile.am (EXTRA_PROGRAMS): Add bin2c.
(CFILES): Add bin2c.c.
(bin2c_SOURCES): Define.
(bin2c.o): Dependencies from "make dep-am".
* configure.in (BUILD_MISC): Add bin2c.
* version.c: Update year.
* po/POTFILES.in: Regenerate.
* Makefile.in: Regenerate.
* configure: Regenerate.
Alan Modra [Tue, 27 Feb 2007 08:29:52 +0000 (08:29 +0000)]
* elf32-spu.h (struct _ovl_stream): Make "start" and "end" const.
* elf32-spu.c (ovl_mgr_pread): Add const to casts.
Alan Modra [Tue, 27 Feb 2007 08:15:17 +0000 (08:15 +0000)]
* config/tc-m68hc11.c (fixup24): Correct fixup size.
(build_jump_insn): Likewise.
(build_insn): Likewise.
(s_m68hc11_relax): Likewise.
Alan Modra [Tue, 27 Feb 2007 07:16:31 +0000 (07:16 +0000)]
* config/obj-elf.c (elf_frob_file): frag_wane any new frags.
Joel Brobecker [Tue, 27 Feb 2007 06:43:27 +0000 (06:43 +0000)]
* gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
gdbadmin [Tue, 27 Feb 2007 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 26 Feb 2007 23:00:07 +0000 (23:00 +0000)]
daily update
DJ Delorie [Mon, 26 Feb 2007 22:14:03 +0000 (22:14 +0000)]
merge from gcc
Daniel Jacobowitz [Mon, 26 Feb 2007 20:13:18 +0000 (20:13 +0000)]
* arch-utils.c (selected_byte_order): New.
* arch-utils.h (selected_byte_order): New prototype.
* remote-sim.c (gdbsim_open): Use selected_byte_order.
Daniel Jacobowitz [Mon, 26 Feb 2007 20:10:18 +0000 (20:10 +0000)]
* gdb.texinfo (Monitor commands for gdbserver): New subsection.
* remote-utils.c (monitor_output): New function.
* server.c (debug_threads): Define here.
(monitor_show_help): New function.
(handle_query): Handle qRcmd.
(main): Do not handle 'd' packet.
* server.h (debug_threads, remote_debug, monitor_output): Declare.
* linux-low.c, spu-low.c, win32-i386-low.c: Remove definitions
of debug_threads.
* gdb.server/server-mon.exp: New test.
Daniel Jacobowitz [Mon, 26 Feb 2007 20:04:38 +0000 (20:04 +0000)]
* symfile.c (place_section): Check SEC_ALLOC. Do not check VMA.
(default_symfile_offsets): Check VMA here. Update section VMAs.
* gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
Daniel Jacobowitz [Mon, 26 Feb 2007 19:23:17 +0000 (19:23 +0000)]
* remote.c (init_remote_state): Add special handling for placeholder
registers.
Daniel Jacobowitz [Mon, 26 Feb 2007 19:20:21 +0000 (19:20 +0000)]
* Makefile.in (XMLFILES): Include $(TDEP_XML).
(filenames_h): New variable.
(clean): Clean up xml-builtin.c and stamp-xml.
(arm-linux-nat.o): Update.
* config/arm/linux.mh (TDEP_XML): Define.
* arm-linux-nat.c (PTRACE_GETWMMXREGS, PTRACE_SETWMMXREGS): Define.
(arm_linux_has_wmmx_registers): New.
(GET_THREAD_ID): Fix typo.
(IWMMXT_REGS_SIZE): Define.
(fetch_wmmx_regs, store_wmmx_regs): New.
(arm_linux_fetch_inferior_registers): Use fetch_wmmx_regs.
(arm_linux_store_inferior_registers): Use store_wmmx_regs.
(super_xfer_partial, arm_linux_xfer_partial): New.
(_initialize_arm_linux_nat): Use them.
* xml-support.c (fetch_xml_builtin): Move outside HAVE_LIBEXPAT.
(xml_builtin_xfer_partial): New function.
* xml-support.h (xml_builtin_xfer_partial): New prototype.
* NEWS: Update mention of iWMMXt support.
Daniel Jacobowitz [Mon, 26 Feb 2007 19:18:53 +0000 (19:18 +0000)]
* arm-tdep.c (arm_scan_prologue): Do not record FPA register saves
if there are no FPA registers.
(arm_dwarf_reg_to_regnum): New function.
(arm_register_type, arm_register_name): Return minimal values for
unsupported registers.
(arm_register_sim_regno): Handle iWMMXt registers.
(arm_gdbarch_init): Record missing FPA registers if indicated by
a target description. Recognize iWMMXt registers. Only register
"info float" for FPA. Use ARM_NUM_REGS. Register
arm_dwarf_reg_to_regnum.
* arm-tdep.h (enum gdb_regnum): Add ARM_NUM_REGS and iWMMXt
constants.
(struct gdbarch_tdep): Add have_fpa_registers.
* features/xscale-iwmmxt.xml: Update capitalization.
* regformats/arm-with-iwmmxt.dat: Regenerated.
* src/gdb/doc/gdb.texinfo (Standard Target Features): Mention
case insensitivity.
(ARM Features): Describe org.gnu.gdb.xscale.iwmmxt.
* gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
register capitalization.
Alan Modra [Mon, 26 Feb 2007 08:58:16 +0000 (08:58 +0000)]
* emultempl/spuelf.em (_binary_builtin_ovl_mgr_start): Rename
to _binary_spu_ovl_o_start.
(_binary_builtin_ovl_mgr_end): Rename to _binary_spu_ovl_o_end.
(spu_elf_load_ovl_mgr): Fatal error on missing overlay manager.
* emultempl/spu_inc.s: Rename symbols.
* emultempl/spu_none.s: New file.
* emultempl/spu_ovl.S: Update copyright.
* Makefile.am (spu_inc.o): Try building with ld -r first, then
gas incbin, then build without overlay manager.
* Makefile.in: Regenerate.
gdbadmin [Mon, 26 Feb 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 25 Feb 2007 23:00:09 +0000 (23:00 +0000)]
daily update
Pedro Alves [Sun, 25 Feb 2007 19:44:29 +0000 (19:44 +0000)]
* Makefile.in (EXEEXT): New.
(clean): Use $(EXEEXT).
Mark Shinwell [Sun, 25 Feb 2007 19:29:25 +0000 (19:29 +0000)]
* config/tc-arm.c (do_vfp_nsyn_pop): Use fldmias/fldmiad.
Pedro Alves [Sun, 25 Feb 2007 17:59:43 +0000 (17:59 +0000)]
* target.h (target_ops): Rename send_signal to request_interrupt,
and remove enum target_signal parameter.
* linux-low.c (linux_request_interrupt): Rename from
linux_send_signal, and always send SIGINT.
* spu-low.c (spu_request_interrupt): Rename from spu_send_signal,
and always send SIGINT.
* remote-utils.c (putpkt_binary): Call request_interrupt, instead
of send_signal.
(input_interrupt): Likewise.
Pedro Alves [Sun, 25 Feb 2007 17:40:10 +0000 (17:40 +0000)]
* server.c (get_features_xml): Check if target implemented
arch_string.
* win32-i386-low.c (win32_arch_string): New.
(win32_target_ops): Add win32_arch_string as arch_string member.
gdbadmin [Sun, 25 Feb 2007 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 24 Feb 2007 23:00:06 +0000 (23:00 +0000)]
daily update
Kevin Buettner [Sat, 24 Feb 2007 17:37:28 +0000 (17:37 +0000)]
* NEWS (New targets): Add entry for the Toshiba Media Processor.
gdbadmin [Sat, 24 Feb 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Kevin Buettner [Fri, 23 Feb 2007 23:02:51 +0000 (23:02 +0000)]
* MAINTAINERS (mep): New target.
Alan Modra [Fri, 23 Feb 2007 23:00:06 +0000 (23:00 +0000)]
daily update
Kevin Buettner [Fri, 23 Feb 2007 22:50:41 +0000 (22:50 +0000)]
Add support for new target, Toshiba Media Processor (MeP).
Carlos O'Donell [Fri, 23 Feb 2007 17:38:07 +0000 (17:38 +0000)]
bfd/
2007-02-23 Carlos O'Donell <carlos@codesourcery.com>
* dwarf2.c (_bfd_dwarf2_find_nearest_line): Assume 32-bit
DWARF even with 64-bit addresses.
(_bfd_dwarf2_find_nearest_line): Likewise.
Nick Clifton [Fri, 23 Feb 2007 11:47:47 +0000 (11:47 +0000)]
PR binutils/3535
* elf.c (copy_private_bfd_data): Always rewrite the program headers when a
Solaris interpreter segment is involved.
gdbadmin [Fri, 23 Feb 2007 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Thu, 22 Feb 2007 23:00:08 +0000 (23:00 +0000)]
daily update
Alan Modra [Thu, 22 Feb 2007 22:34:16 +0000 (22:34 +0000)]
* config/tc-mn10300.c (md_convert_frag): Correct fixup size.
(md_assemble): Likewise.
DJ Delorie [Thu, 22 Feb 2007 21:01:59 +0000 (21:01 +0000)]
* s390-opc.c (INSTR_SS_L2RDRD): New.
(MASK_SS_L2RDRD): New.
* s390-opc.txt (pka): Use it.
* gas/s390/esa-g5.s: Adjust for corrected PKA syntax.
* gas/s390/esa-g5.d: Adjust for corrected PKA syntax.
Ulrich Weigand [Thu, 22 Feb 2007 17:41:37 +0000 (17:41 +0000)]
* spu-low.c (spu_arch_string): New.
(spu_target_ops): Add spu_arch_string.
Paul Brook [Thu, 22 Feb 2007 17:03:59 +0000 (17:03 +0000)]
2007-02-22 Paul Brook <paul@codesourcery.com>
bfd/
* elflink.c (gc_mark_hook_fn): Remove.
(_bfd_elf_gc_mark): Rename gc_mark_hook_fn to elf_gc_mark_hook_fn.
(bfd_elf_gc_sections): Ditto. Call gc_mark_extra_sections.
* elf-bfd.h (elf_gc_mark_hook_fn): Define.
(elf_backend_data): Add gc_mark_extra_sections.
* elfxx-target.h (elf_backend_gc_mark_extra_sections): Provide default
definition.
(elfNN_bed): Add elf_backend_gc_mark_extra_sections.
* elf32-arm.c (elf32_arm_gc_mark_extra_sections): New function.
(elf_backend_gc_mark_extra_sections): Define.
ld/testsuite/
* ld-arm/arm-elf.exp (armelftests): Add gc-unwind.h.
* ld-arm/gc-unwind.s: New file.
* ld-arm/gc-unwind.d: New file.
Ulrich Weigand [Thu, 22 Feb 2007 15:14:12 +0000 (15:14 +0000)]
* infrun.c (inferior_stop_reason, print_stop_reason): Remove
BREAKPOINT_HIT and STOP_UNKNOWN.
Ulrich Weigand [Thu, 22 Feb 2007 15:13:26 +0000 (15:13 +0000)]
* valops.c (value_ind): Fix unary * handling of TYPE_CODE_INT.
Joseph Myers [Thu, 22 Feb 2007 15:05:42 +0000 (15:05 +0000)]
* configure.tgt (mips64*el-*-linux-*, mips64*-*-linux-*,
mips*el-*-linux-*, mips*-*-linux-*): Set
targ_extra_libpath=$targ_extra_emuls.
Alan Modra [Thu, 22 Feb 2007 05:54:51 +0000 (05:54 +0000)]
* write.c (size_seg): Always clear SEC_RELOC here.
(install_reloc): New function, extracted from..
(write_relocs): ..here. Combine RELOC_EXPANSION_POSSIBLE code
with !RELOC_EXPANSION_POSSIBLE code. Don't add fr_offset when
testing frag size. Set SEC_RELOC here.
gdbadmin [Thu, 22 Feb 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 21 Feb 2007 23:00:07 +0000 (23:00 +0000)]
daily update
Nick Clifton [Wed, 21 Feb 2007 16:43:50 +0000 (16:43 +0000)]
Take into account MEMORY regions when creating a segment map.
Alan Modra [Wed, 21 Feb 2007 02:48:22 +0000 (02:48 +0000)]
* elf32-spu.c (spu_elf_size_stubs): Correct order of warning args.
gdbadmin [Wed, 21 Feb 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 20 Feb 2007 23:02:58 +0000 (23:02 +0000)]
PR 4082
* config/tc-avr.h (TC_FX_SIZE_SLACK): Define.
Alan Modra [Tue, 20 Feb 2007 23:00:06 +0000 (23:00 +0000)]
daily update
Joel Brobecker [Tue, 20 Feb 2007 19:42:14 +0000 (19:42 +0000)]
* gdb_expat.h (XMLCALL): Define if not already defined.
Andreas Schwab [Tue, 20 Feb 2007 16:05:54 +0000 (16:05 +0000)]
* Makefile.in (symfile.o): Update dependencies.
Thiemo Seufer [Tue, 20 Feb 2007 15:03:45 +0000 (15:03 +0000)]
* doc/c-mips.texi: Document 74kc, 74kf, 74kx.
Thiemo Seufer [Tue, 20 Feb 2007 14:48:28 +0000 (14:48 +0000)]
* config/tc-mips.c (mips_cpu_info_table): Add 74K configurations.
Thiemo Seufer [Tue, 20 Feb 2007 13:53:48 +0000 (13:53 +0000)]
* dsp.igen: Update copyright notice.
* dsp2.igen: Fix copyright notice.
Thiemo Seufer [Tue, 20 Feb 2007 13:28:56 +0000 (13:28 +0000)]
[ gas/ChangeLog ]
* config/tc-mips.c (mips_set_options, mips_opts, file_ase_dspr2,
ISA_SUPPORTS_DSPR2_ASE, MIPS_CPU_ASE_DSPR2): Add DSP R2 ASE support.
(macro_build): Add case '2'.
(macro): Expand M_BALIGN to nop, packrl.ph or balign.
(validate_mips_insn): Add support for balign instruction.
(mips_ip): Handle DSP R2 instructions. Support balign instruction.
(OPTION_DSPR2, OPTION_NO_DSPR2, OPTION_COMPAT_ARCH_BASE,
md_parse_option, mips_after_parse_args): Add -mdspr2 and -mno-dspr2
command line options.
(s_mipsset): Add support for .set dspr2 and .set nodspr2 directives.
(md_show_usage): Add -mdspr2 and -mno-dspr2 help output.
* doc/c-mips.texi, doc/as.texinfo: Document -mdspr2, -mno-dspr2,
.set dspr2, .set nodspr2.
[ gas/testsuite/ChangeLog ]
* gas/mips/mips32-dspr2.s, gas/mips/mips32-dspr2.d: New test for
DSP R2.
* gas/mips/mips.exp: Run new test.
[ include/opcode/Changelog ]
* mips.h (OP_SH_BP, OP_MASK_BP): Add support for balign instruction.
(INSN_DSPR2): Add flag for DSP R2 instructions.
(M_BALIGN): New macro.
[ opcodes/ChangeLog ]
* mips-dis.c (mips_arch_choices): Add DSP R2 support.
(print_insn_args): Add support for balign instruction.
* mips-opc.c (D33): New shortcut for DSP R2 instructions.
(mips_builtin_opcodes): Add DSP R2 instructions.
[ sim/mips/ChangeLog ]
* Makefile.in (IGEN_INCLUDE): Add dsp2.igen.
* configure.ac (mips*-sde-elf*, mipsisa32r2*-*-*, mipsisa64r2*-*-*):
Add dsp2 to sim_igen_machine.
* configure: Regenerate.
* dsp.igen (do_ph_op): Add MUL support when op = 2.
(do_ph_mulq): New function to support mulq_rs.ph and mulq_s.ph.
(mulq_rs.ph): Use do_ph_mulq.
(MFHI, MFLO, MTHI, MTLO): Move these instructions to mips.igen.
* mips.igen: Add dsp2 model and include dsp2.igen.
(MFHI, MFLO, MTHI, MTLO): Extend these instructions for
for *mips32r2, *mips64r2, *dsp.
(MADD, MADDU, MSUB, MSUBU, MULT, MULTU): Extend these instructions
for *mips32r2, *mips64r2, *dsp2.
* dsp2.igen: New file for MIPS DSP REV 2 ASE.
[ sim/testsuite/sim/mips/ChangeLog ]
* basic.exp: Run the dsp2 test.
* utils-dsp.inc (dspckacc_astio, dspck_tsimm): New macro.
* mips32-dsp2.s: New test.
Daniel Jacobowitz [Tue, 20 Feb 2007 12:45:06 +0000 (12:45 +0000)]
gdb/
* MAINTAINERS: Disable -Werror for cris simulator. Build
sparc64-solaris2.10 instead of the broken sparc-elf.
* solib-frv.c: Include "solib.h".
* Makefile.in (solib-frv.o): Update.
* mt-tdep.c (mt_gdbarch_init): Correct typo in floatformats patch.
* xtensa-tdep.c (xtensa_regset_from_core_section): Cast size_t to int.
(xtensa_frame_this_id, xtensa_frame_prev_register)
(xtensa_push_dummy_call): Use %p.
sim/v850/
* Makefile.in (interp.o): Uncomment and update.
Thiemo Seufer [Tue, 20 Feb 2007 12:35:19 +0000 (12:35 +0000)]
* elfxx-mips.c (_bfd_mips_elf_print_private_bfd_data): Remove
translation marker from untranslatable strings.
Nathan Sidwell [Tue, 20 Feb 2007 09:25:45 +0000 (09:25 +0000)]
* config/tc-m68k.c (mcf5210a_ctrl, mcf52235_ctrl, mcf5225_ctrl): New.
(m68k_cpus): Add 5210a..5211a, 52230..52235 5224..5225.
Hans-Peter Nilsson [Tue, 20 Feb 2007 00:14:11 +0000 (00:14 +0000)]
* cris/traps.c (dump_statistics): Change format for cycle numbers
to %llu and cast parameters to unsigned long long.
gdbadmin [Tue, 20 Feb 2007 00:00:09 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 19 Feb 2007 23:51:58 +0000 (23:51 +0000)]
* ldexp.c (fold_name <LOADADDR>): Ensure result is always absolute.
Alan Modra [Mon, 19 Feb 2007 23:00:09 +0000 (23:00 +0000)]
daily update
Thiemo Seufer [Mon, 19 Feb 2007 17:53:29 +0000 (17:53 +0000)]
* mips.igen (jalr.hb, jr.hb): Add decoder for mip32r2/mips64r2
jumps with hazard barrier.
Thiemo Seufer [Mon, 19 Feb 2007 17:46:53 +0000 (17:46 +0000)]
* interp.c (sim_monitor): Flush stdout and stderr file descriptors
after each call to sim_io_write.
Martin Schwidefsky [Mon, 19 Feb 2007 17:46:11 +0000 (17:46 +0000)]
2007-02-19 Andreas Krebbel <krebbel1@de.ibm.com>
* s390-opc.c (INSTR_RRF_U0FR, MASK_RRF_U0FR): Removed.
(INSTR_RRF_U0RF, MASK_RRF_U0RF): Added.
* s390-opc.txt (cfxbr, cfdbr, cfebr, cgebr, cgdbr, cgxbr, cger, cgdr,
cgxr, cfxr, cfdr, cfer): Instruction type set to INSTR_RRF_U0RF.
2007-02-19 Andreas Krebbel <krebbel1@de.ibm.com>
* gas/s390/esa-g5.d (cfxbr, cfebr, cfdbr): Exchanged floating
point and fixed point operands.
* gas/s390/esa-g5.s: Likewise.
* gas/s390/zarch-z900.d (cfdr, cfer, cfxr, cgdbr, cgebr, cgxbr,
cgdr, cger, cgxr): Likewise.
* gas/s390/zarch-z900.s: Likewise.
Thiemo Seufer [Mon, 19 Feb 2007 17:34:18 +0000 (17:34 +0000)]
(ColdReset): Set CP0 Config0 to reflect the address size supported
by this simulator.
(decode_coproc): Recognise additional CP0 Config registers
correctly.
Thiemo Seufer [Mon, 19 Feb 2007 17:31:08 +0000 (17:31 +0000)]
* cp1.c (value_fpr): Don't inherit existing FPR_STATE for
uninterpreted formats. If fmt is one of the uninterpreted types
don't update the FPR_STATE. Handle fmt_uninterpreted_32 like
fmt_word, and fmt_uninterpreted_64 like fmt_long.
(store_fpr): When writing an invalid odd register, set the
matching even register to fmt_unknown, not the following register.
* interp.c (sim_open): If STATE_MEM_SIZE isn't set then set it to
the the memory window at offset 0 set by --memory-size command
line option.
(sim_store_register): Handle storing 4 bytes to an 8 byte floating
point register.
(sim_fetch_register): Likewise for reading 4 bytes from an 8 byte
register.
(sim_monitor): When returning the memory size to the MIPS
application, use the value in STATE_MEM_SIZE, not an arbitrary
hardcoded value.
(cop_lw): Don' mess around with FPR_STATE, just pass
fmt_uninterpreted_32 to StoreFPR.
(cop_sw): Similarly.
(cop_ld): Pass fmt_uninterpreted_64 not fmt_uninterpreted.
(cop_sd): Similarly.
* mips.igen (not_word_value): Single version for mips32, mips64
and mips16.
Martin Schwidefsky [Mon, 19 Feb 2007 17:29:37 +0000 (17:29 +0000)]
2007-02-19 Andreas Krebbel <krebbel1@de.ibm.com>
* s390-opc.txt ("efpc", "sfpc"): Set to RRE_RR_OPT instruction type.
* s390-opc.c (s390_operands): Add RO_28 as optional gpr.
(INSTR_RRE_RR_OPT, MASK_RRE_RR_OPT): New instruction type for efpc
and sfpc.
Joseph Myers [Mon, 19 Feb 2007 17:24:25 +0000 (17:24 +0000)]
* configure.ac: Adjust for loop syntax.
* configure: Regenerate.
Alan Modra [Mon, 19 Feb 2007 12:44:18 +0000 (12:44 +0000)]
* elf-bfd.h (struct elf_backend_data): Add default_execstack.
* elflink.c (bfd_elf_size_dynamic_sections): Heed default_execstack.
* elfxx-target.h (elf_backend_default_execstack): Define to 1.
(elfNN_bed): Init new field.
* elf64-ppc.c (elf_backend_default_execstack): Define to 0.
Thiemo Seufer [Mon, 19 Feb 2007 12:27:02 +0000 (12:27 +0000)]
* interp.c (MEM_SIZE): Increase default memory size from 2 to 8
MBytes.
gdbadmin [Mon, 19 Feb 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 18 Feb 2007 23:00:06 +0000 (23:00 +0000)]
daily update
Alexandre Oliva [Sun, 18 Feb 2007 22:51:35 +0000 (22:51 +0000)]
ChangeLog:
* configure: Rebuilt.
config/ChangeLog:
* acx.m4 (NCN_STRICT_CHECK_TOOLS): Mark environment variable as
precious. Prefer it over a cached value. Use cached value
verbosely.
(NCN_STRICT_CHECK_TARGET_TOOLS): Likewise. Don't override
environment variable with build-time tools.
Alexandre Oliva [Sun, 18 Feb 2007 22:46:28 +0000 (22:46 +0000)]
* configure.ac: Drop multiple occurrences of --enable-languages,
and fix its quoting.
* configure: Rebuilt.