Paul Brook [Fri, 2 Mar 2007 18:22:59 +0000 (18:22 +0000)]
2007-03-02 Paul Brook <paul@codesourcery.com>
gas/
* config/tc-arm.c (relax_immediate): Always return positive values.
(relaxed_symbol_addr): New function.
(relax_adr, relax_branch): Use it.
(arm_relax_frag): Pass strect argument. Adjust infinite loop check.
gas/testsuite/
* gas/arm/relax_branch_align.d: New test.
* gas/arm/relax_branch_align.s: New test.
Paul Brook [Fri, 2 Mar 2007 18:22:34 +0000 (18:22 +0000)]
2007-03-02 Paul Brook <paul@codesourcery.com>
gas/
* config/tc-arm.c (relax_immediate): Always return positive values.
(relaxed_symbol_addr): New function.
(relax_adr, relax_branch): Use it.
(arm_relax_frag): Pass stretch argument. Adjust infinite loop check.
gas/testsuite/
* gas/arm/relax_branch_align.d: New test.
* gas/arm/relax_branch_align.s: New test.
Daniel Jacobowitz [Fri, 2 Mar 2007 12:15:01 +0000 (12:15 +0000)]
2007-03-02 Andrew Stubbs <andrew.stubbs@st.com>
* gencode.c (tab): Correct pre-decrement instructions when m == n.
Richard Sandiford [Fri, 2 Mar 2007 09:20:13 +0000 (09:20 +0000)]
ld/testsuite/
* ld-elf/binutils.exp: Revert last change.
gdbadmin [Fri, 2 Mar 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Bob Wilson [Thu, 1 Mar 2007 23:38:03 +0000 (23:38 +0000)]
* elf32-xtensa.c (analyze_relocations): Zero src_count if not relaxing.
(find_relaxable_sections): Do not increment src_count for unknown
opcodes. Decode only once instead of calling is_l32r_relocation.
(compute_text_actions): Remove unused no_insn_move flag. Assert that
src_next matches src_count in relax_info.
Alan Modra [Thu, 1 Mar 2007 23:00:07 +0000 (23:00 +0000)]
daily update
Richard Sandiford [Thu, 1 Mar 2007 16:39:42 +0000 (16:39 +0000)]
binutils/
200x-xx-xx Phil Edwards <phil@codesourcery.com>
Richard Sandiford <richard@codesourcery.com>
* NEWS: Mention addition of --extract-symbol.
* doc/binutils.texi: Document it.
* objcopy.c (extract_symbol): New variable.
(OPTION_EXTRACT_SYMBOLS): New command_line_switch.
(copy_options): Add an entry for --extract-symbol.
(copy_usage): Mention --extract-symbol.
(copy_object): Set the start address to zero for --extract-symbol.
Do not copy private BFD data in that case.
(setup_section): Set the size, LMA and VMA to zero for
--extract-symbol. Do not copy private BFD data in that case.
(copy_section): Do not copy section contents if --extract-symbol
is passed.
(copy_main): Set extract_symbol to TRUE if --extract-symbol
is passed.
ld/testsuite/
* ld-elf/extract-symbol-1sym.d, ld-elf/extract-symbol-1sec.d,
* ld-elf/extract-symbol-1.s, ld-elf/extract-symbol-1.ld: New tests.
* ld-elf/binutils.exp: Run them.
Paul Brook [Thu, 1 Mar 2007 16:06:28 +0000 (16:06 +0000)]
2007-03-01 Paul Brook <paul@codesourcery.com>
* MAINTAINERS: Update my entry.
Joseph Myers [Thu, 1 Mar 2007 15:48:36 +0000 (15:48 +0000)]
bfd:
* Makefile.am (bfdver.h): Use "." not " " between version number
and date.
* Makefile.in: Regenerate.
* configure.in (PKGVERSION): Default to "(GNU Binutils) ".
* configure: Regenerate.
binutils:
* version.c (print_version): Update copyright date.
gas:
* as.c (parse_args): Update copyright date.
gprof:
* gprof.c: Include bfdver.h
(main): Use BFD_VERSION_STRING for version number and package
name.
* Makefile.am (PKGVERSION): Remove.
(INCLUDES): Update.
Regenerate dependencies.
* Makefile.in: Regenerate.
* configure.in (PKGVERSION): Remove.
* configure: Regenerate.
ld:
* ldver.c (ldversion): Remove word "version" from output. Update
copyright date.
Eric Botcazou [Thu, 1 Mar 2007 15:32:57 +0000 (15:32 +0000)]
PR other/16513
* Makefile.in: Install library under $(MULTIOSDIR), not $(MULTISUBDIR).
Install headers in multilib independent location.
Thiemo Seufer [Thu, 1 Mar 2007 14:29:26 +0000 (14:29 +0000)]
* mips.igen (MFHI, MFLO, MTHI, MTLO): Restore support for mips32
and mips64.
Daniel Jacobowitz [Thu, 1 Mar 2007 12:35:40 +0000 (12:35 +0000)]
* Makefile.am (install-exec-local): Depend on $(noinst_PROGRAMS).
Adjust $(EXEEXT) handling for $(RENAMED_PROGS).
* Makefile.in, doc/Makefile.in: Regenerate.
Alan Modra [Thu, 1 Mar 2007 11:17:41 +0000 (11:17 +0000)]
* spu-insns.h: Add soma double-float insns.
Alan Modra [Thu, 1 Mar 2007 06:14:37 +0000 (06:14 +0000)]
* embedspu.sh: Set type and size of global program handle symbol.
gdbadmin [Thu, 1 Mar 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 28 Feb 2007 23:00:06 +0000 (23:00 +0000)]
daily update
Joel Brobecker [Wed, 28 Feb 2007 19:42:08 +0000 (19:42 +0000)]
* gdbtypes.c (replace_type): Fix typo that caused us to not update
length of the types referenced by the new type CV ring.
Nick Clifton [Wed, 28 Feb 2007 18:38:51 +0000 (18:38 +0000)]
PR gas/3797
* config/tc-d10v.c (do_assemble): Do not generate error messages, just return -1 whenever a problem is encoun$
(md_assemble): If do_assemble returns -1 generate a non-fatal error message and return.
* gas/lns/lns.exp: Do not run the lns-common test for the d10v port.
* gas/d10v/address-002.l: Update expected assembler output.
* gas/d10v/address-003.l, gas/d10v/address-004.l,
gas/d10v/address-005.l, gas/d10v/address-006.l,
gas/d10v/address-007.l, gas/d10v/address-008.l,
gas/d10v/address-009.l, gas/d10v/address-010.l,
gas/d10v/address-011.l, gas/d10v/address-012.l,
gas/d10v/address-013.l, gas/d10v/address-014.l,
gas/d10v/address-015.l, gas/d10v/address-016.l,
gas/d10v/address-017.l, gas/d10v/address-018.l,
gas/d10v/address-019.l, gas/d10v/address-020.l,
gas/d10v/address-021.l, gas/d10v/address-022.l,
gas/d10v/address-023.l, gas/d10v/address-024.l,
gas/d10v/address-025.l, gas/d10v/address-026.l,
gas/d10v/address-027.l, gas/d10v/address-030.l,
gas/d10v/address-031.l, gas/d10v/address-032.l,
gas/d10v/address-033.l, gas/d10v/address-034.l,
gas/d10v/address-035.l, gas/d10v/address-036.l,
gas/d10v/address-037.l, gas/d10v/address-038.l,
gas/d10v/address-039.l, gas/d10v/address-040.l,
gas/d10v/address-041.l: Likewise.
Daniel Jacobowitz [Wed, 28 Feb 2007 17:35:01 +0000 (17:35 +0000)]
* frame.c (frame_pop, frame_observer_target_changed): Call
reinit_frame_cache.
(flush_cached_frames): Rename to reinit_frame_cache and delete
old implementation.
* frame.h (flush_cached_frames): Delete prototype and update comment.
* bsd-kvm.c (bsd_kvm_open, bsd_kvm_proc_cmd, bsd_kvm_pcb_cmd): Call
reinit_frame_cache instead of flush_cached_frames. Do not call
select_frame after reinit_frame_cache.
* corelow.c (core_open): Likewise.
* gdbarch.sh (deprecated_current_gdbarch_select_hack): Likewise.
* infrun.c (prepare_to_proceed, context_switch)
(handle_inferior_event): Likewise.
* linux-fork.c (fork_load_infrun_state): Likewise.
* ocd.c (ocd_start_remote): Likewise.
* remote-e7000.c (e7000_start_remote): Likewise.
* remote-mips.c (device): Likewise.
* thread.c (switch_to_thread): Likewise.
* tracepoint.c (finish_tfind_command): Likewise.
* gdbarch.c: Regenerated.
Daniel Jacobowitz [Wed, 28 Feb 2007 17:32:51 +0000 (17:32 +0000)]
* gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
func.
* gdb.mi/mi2-var-cmd.exp: Likewise.
Nick Clifton [Wed, 28 Feb 2007 17:14:39 +0000 (17:14 +0000)]
PR ld/3796
* ld-arm/arm-elf.exp (armelftests): Move "Thumb-2 BL" test into...
(armeabitests): ... here, a new array for EABI specific tests.
(armelftests): Add extra command line options for VFP11 fix tests and thumb shared library test.
Joel Brobecker [Wed, 28 Feb 2007 16:35:49 +0000 (16:35 +0000)]
* gdbtypes.c (check_typedef): Do not replace stub type if
the resolved type is not defined in the same objfile.
Joel Brobecker [Wed, 28 Feb 2007 16:28:17 +0000 (16:28 +0000)]
Move dw2-producer.* from gdb.arch to gdb.dwarf2 where it was supposed to
be checked in.
Daniel Jacobowitz [Wed, 28 Feb 2007 15:55:54 +0000 (15:55 +0000)]
* top.c (gdb_readline_wrapper_cleanup): Remove invalid assertion.
Nick Clifton [Wed, 28 Feb 2007 14:39:16 +0000 (14:39 +0000)]
PR 3729: Fix unexpected failures in ARM GAS testsuite results.
Nathan Sidwell [Wed, 28 Feb 2007 10:53:19 +0000 (10:53 +0000)]
bfd/
* config.bfd (sh-*-uclinux, sh[12]-*-uclinux): New stanza.
gas/
* configure.tgt (sh-*-uclinux, sh[12]-*-uclinux): Specify as elf.
ld/
* Makefile.am (ALL_EMULATIONS): Add eshelf_uclinux.o
(eshelf_uclinux.c): New target.
* Makefile.in: Rebuilt.
* configure.tgt (sh-*-uclinux* | sh[12]-*-uclinux*): New stanza.
* emulparams/shelf_uclinux.sh: New.
Nick Clifton [Wed, 28 Feb 2007 10:02:37 +0000 (10:02 +0000)]
PR gas/2623
* config/tc-msp430.c (line_separator_char): Change to '{'.
Alan Modra [Wed, 28 Feb 2007 07:10:52 +0000 (07:10 +0000)]
* Makefile.am (PROGS): Delete.
(RENAMED_PROGS): Define. Extracted from..
(noinst_PROGRAMS): ..here. Add BUILD_MISC.
(install-exec-local): Adjust.
* Makefile.in: Regenerate.
Joel Brobecker [Wed, 28 Feb 2007 06:04:37 +0000 (06:04 +0000)]
Fix the last ChangeLog entry date (oops :-/).
Joel Brobecker [Wed, 28 Feb 2007 05:59:14 +0000 (05:59 +0000)]
* stabsread.c (define_symbol): Create an associated STRUCT_DOMAIN
symbol for Ada units when the symbol is defined using 't' rather
than 'Tt' as symbol descriptor.
Alan Modra [Wed, 28 Feb 2007 01:39:59 +0000 (01:39 +0000)]
* configure.tgt: Fix type last change.
Alan Modra [Wed, 28 Feb 2007 01:36:32 +0000 (01:36 +0000)]
*** empty log message ***
Ulrich Weigand [Wed, 28 Feb 2007 01:34:01 +0000 (01:34 +0000)]
* config/mips/tm-nbsd.h: Delete file.
* config/mips/nbsd.mt (DEPRECATED_TM_FILE): Remove.
* config/sh/tm-nbsd.h: Delete file.
* config/sh/nbsd.mt (DEPRECATED_TM_FILE): Set to tm-sh.h.
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.