OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
17 years ago2007-03-02 Paul Brook <paul@codesourcery.com>
pbrook [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.

17 years ago2007-03-02 Paul Brook <paul@codesourcery.com>
pbrook [Fri, 2 Mar 2007 18:22:32 +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.

17 years ago2007-03-02 Dave Brolley <brolley@redhat.com>
brolley [Fri, 2 Mar 2007 17:02:07 +0000 (17:02 +0000)]
2007-03-02  Dave Brolley  <brolley@redhat.com>

        * arm7t-timer.h (~armTimerNoSched): New virtual destructor with empty
        throw specifier.

17 years ago2007-03-02 Andrew Stubbs <andrew.stubbs@st.com>
drow [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.

17 years agold/testsuite/
rsandifo [Fri, 2 Mar 2007 09:20:13 +0000 (09:20 +0000)]
ld/testsuite/
* ld-elf/binutils.exp: Revert last change.

17 years ago*** empty log message ***
gdbadmin [Fri, 2 Mar 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago * elf32-xtensa.c (analyze_relocations): Zero src_count if not relaxing.
bwilson [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.

17 years ago * spu/sbrk.c (sbrk): Adjust the stack pointer vector correctly so
bje [Thu, 1 Mar 2007 23:08:21 +0000 (23:08 +0000)]
* spu/sbrk.c (sbrk): Adjust the stack pointer vector correctly so
that GCC runtime stack checking works.  Handle the backchain, too.

17 years agodaily update
amodra [Thu, 1 Mar 2007 23:00:07 +0000 (23:00 +0000)]
daily update

17 years ago* fork.cc (fork): Reset child to true after fork since it may have been reset
cgf [Thu, 1 Mar 2007 18:43:38 +0000 (18:43 +0000)]
* fork.cc (fork): Reset child to true after fork since it may have been reset
by fork memory copies.

17 years agobinutils/
rsandifo [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.

17 years ago2007-03-01 Paul Brook <paul@codesourcery.com>
pbrook [Thu, 1 Mar 2007 16:06:28 +0000 (16:06 +0000)]
2007-03-01  Paul Brook  <paul@codesourcery.com>

* MAINTAINERS: Update my entry.

17 years agobfd:
jsm28 [Thu, 1 Mar 2007 15:48:35 +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.

17 years ago PR other/16513
ebotcazou [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.

17 years ago* Makefile (DLL_OFILES): Remove ntea.o
cgf [Thu, 1 Mar 2007 15:13:47 +0000 (15:13 +0000)]
* Makefile (DLL_OFILES): Remove ntea.o
* environ.cc (set_ntea): Delete.
(parse_thing): Delete "ntea" setting.
* fhandler.cc (fhandler_base::open): Remove allow_ntea considerations.
(check_posix_perm): Ditto.
* fhandler_disk_file.cc (fhandler_disk_file::fchmod): Ditto.
(fhandler_base::open_fs): Ditto.
(fhandler_disk_file::mkdir): Ditto.
* path.cc (symlink_worker): Ditto.
* security.cc (get_file_attribute): Ditto.
(set_file_attribute): Ditto.
* security.h: Remove allow_ntea declaration.

17 years ago * mips.igen (MFHI, MFLO, MTHI, MTLO): Restore support for mips32
ths [Thu, 1 Mar 2007 14:29:26 +0000 (14:29 +0000)]
* mips.igen (MFHI, MFLO, MTHI, MTLO): Restore support for mips32
and mips64.

17 years ago * Makefile.am (install-exec-local): Depend on $(noinst_PROGRAMS).
drow [Thu, 1 Mar 2007 12:35:39 +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.

17 years ago * spu-insns.h: Add soma double-float insns.
amodra [Thu, 1 Mar 2007 11:17:41 +0000 (11:17 +0000)]
* spu-insns.h: Add soma double-float insns.

17 years ago * embedspu.sh: Set type and size of global program handle symbol.
amodra [Thu, 1 Mar 2007 06:14:37 +0000 (06:14 +0000)]
* embedspu.sh: Set type and size of global program handle symbol.

17 years ago*** empty log message ***
gdbadmin [Thu, 1 Mar 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
amodra [Wed, 28 Feb 2007 23:00:06 +0000 (23:00 +0000)]
daily update

17 years ago * gdbtypes.c (replace_type): Fix typo that caused us to not update
brobecke [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.

17 years agoPR gas/3797
nickc [Wed, 28 Feb 2007 18:38:49 +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.

17 years ago * frame.c (frame_pop, frame_observer_target_changed): Call
drow [Wed, 28 Feb 2007 17:34:57 +0000 (17:34 +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.

17 years ago * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
drow [Wed, 28 Feb 2007 17:32:50 +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.

17 years agoPR ld/3796
nickc [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.

17 years ago * gdbtypes.c (check_typedef): Do not replace stub type if
brobecke [Wed, 28 Feb 2007 16:35:48 +0000 (16:35 +0000)]
    * gdbtypes.c (check_typedef): Do not replace stub type if
        the resolved type is not defined in the same objfile.

17 years agoMove dw2-producer.* from gdb.arch to gdb.dwarf2 where it was supposed to
brobecke [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.

17 years ago * top.c (gdb_readline_wrapper_cleanup): Remove invalid assertion.
drow [Wed, 28 Feb 2007 15:55:54 +0000 (15:55 +0000)]
* top.c (gdb_readline_wrapper_cleanup): Remove invalid assertion.

17 years agoPR 3729: Fix unexpected failures in ARM GAS testsuite results.
nickc [Wed, 28 Feb 2007 14:39:15 +0000 (14:39 +0000)]
PR 3729: Fix unexpected failures in ARM GAS testsuite results.

17 years ago bfd/
nathan [Wed, 28 Feb 2007 10:53:17 +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.

17 years agoPR gas/2623
nickc [Wed, 28 Feb 2007 10:02:37 +0000 (10:02 +0000)]
PR gas/2623
* config/tc-msp430.c (line_separator_char): Change to '{'.

17 years ago * Makefile.am (PROGS): Delete.
amodra [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.

17 years agoFix the last ChangeLog entry date (oops :-/).
brobecke [Wed, 28 Feb 2007 06:04:37 +0000 (06:04 +0000)]
Fix the last ChangeLog entry date (oops :-/).

17 years ago * stabsread.c (define_symbol): Create an associated STRUCT_DOMAIN
brobecke [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.

17 years ago * configure.tgt: Fix type last change.
amodra [Wed, 28 Feb 2007 01:39:59 +0000 (01:39 +0000)]
* configure.tgt: Fix type last change.

17 years ago*** empty log message ***
amodra [Wed, 28 Feb 2007 01:36:32 +0000 (01:36 +0000)]
*** empty log message ***

17 years ago * config/mips/tm-nbsd.h: Delete file.
uweigand [Wed, 28 Feb 2007 01:34:00 +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.

17 years ago * configure.tgt (spu-*-elf*): Delete targ_extra_ofiles.
amodra [Wed, 28 Feb 2007 01:29:58 +0000 (01:29 +0000)]
* configure.tgt (spu-*-elf*): Delete targ_extra_ofiles.

17 years ago * Makefile.am (PROGS): Add BUILD_INSTALL_MISC.
amodra [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.

17 years ago*** empty log message ***
gdbadmin [Wed, 28 Feb 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago * mi/mi-cmd-var.c (varobj_update_one): Remove reference to
brobecke [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.

17 years ago(varobj_update): Free temporary vectors.
nickrob [Tue, 27 Feb 2007 23:27:47 +0000 (23:27 +0000)]
(varobj_update): Free temporary vectors.

17 years ago*** empty log message ***
nickrob [Tue, 27 Feb 2007 23:27:15 +0000 (23:27 +0000)]
*** empty log message ***

17 years ago * config/powerpc/linux.mt (DEPRECATED_TM_FILE): Set to tm-ppc-eabi.h.
uweigand [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.

17 years agoFix Entry dates for the last couple entries.
brobecke [Tue, 27 Feb 2007 23:01:58 +0000 (23:01 +0000)]
Fix Entry dates for the last couple entries.

17 years ago * gdb.dwarf2/dw2-producer.S: New file.
brobecke [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.

17 years agodaily update
amodra [Tue, 27 Feb 2007 23:00:05 +0000 (23:00 +0000)]
daily update

17 years ago * buildsym.c (record_producer): Do nothing if no producer is provided.
brobecke [Tue, 27 Feb 2007 22:57:42 +0000 (22:57 +0000)]
    * buildsym.c (record_producer): Do nothing if no producer is provided.

17 years ago(enum varobj_update_error): Delete WRONG_PARAM value.
nickrob [Tue, 27 Feb 2007 22:01:10 +0000 (22:01 +0000)]
(enum varobj_update_error): Delete WRONG_PARAM value.

17 years ago(varobj_update): Remove unused local. Use gdb_assert
nickrob [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.

17 years ago*** empty log message ***
nickrob [Tue, 27 Feb 2007 21:58:57 +0000 (21:58 +0000)]
*** empty log message ***

17 years ago*** empty log message ***
nickrob [Tue, 27 Feb 2007 21:51:57 +0000 (21:51 +0000)]
*** empty log message ***

17 years ago* gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
nickrob [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.

17 years ago * dwarf2-frame.c (dwarf2_frame_cache, dwarf2_frame_this_id)
drow [Tue, 27 Feb 2007 20:17:16 +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.

17 years ago * frame.c (deprecated_selected_frame): Rename to...
drow [Tue, 27 Feb 2007 19:46:03 +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.

17 years ago * armos.c (SWIflen): Do not treate file descriptor zero as
mmitchel [Tue, 27 Feb 2007 18:51:57 +0000 (18:51 +0000)]
* armos.c (SWIflen): Do not treate file descriptor zero as
special.

17 years ago * path.cc (close_user_proc_parms_cwd_handle): Remove.
corinna [Tue, 27 Feb 2007 18:38:21 +0000 (18:38 +0000)]
* path.cc (close_user_proc_parms_cwd_handle): Remove.
(cwdstuff::init): Don't call close_user_proc_parms_cwd_handle.
Call set to set cwd with all-sharing handle.
(cwdstuff::set): Fix comment.  Don't close cwd handle.  Set in
user parameter block instead and close old cwd handle.
* syscalls.cc (rename): Call unlink_nt instead of RemoveDirectory or
DeleteFile to allow deleting shared files/directories.

17 years agoReviewed by Mark Kettenis <mark.kettenis@xs4all.nl>
fnf [Tue, 27 Feb 2007 17:29:48 +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.

17 years ago * terminal.h: Check HAVE_SGTTY_H.
drow [Tue, 27 Feb 2007 17:23:34 +0000 (17:23 +0000)]
* terminal.h: Check HAVE_SGTTY_H.

17 years agofrom Mat Hostetter <mat@lcs.mit.edu>
drow [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.

17 years ago * gdb.base/maint.exp: Remove full paths from test names.
drow [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.

17 years ago * fhandler.cc(fhandler_base::open): Open with READ_CONTROL only in
corinna [Tue, 27 Feb 2007 12:58:54 +0000 (12:58 +0000)]
* fhandler.cc(fhandler_base::open): Open with READ_CONTROL only in
case of query_open flag set to query_read_control.  Add case for
new query_read_attributes flag.
(fhandler_base::fstatvfs): New method.
* fhandler.h (enum query_state): Add query_read_attributes flag.
(class fhandler_base): Declare new virtual fstatvfs method.
(class fhandler_socket): Ditto.
(class fhandler_pipe): Ditto.
(class fhandler_fifo): Ditto.
(class fhandler_disk_file): Ditto.
(class fhandler_virtual): Ditto.
* fhandler_disk_file.cc (fhandler_base::fstat_fs): Open with
query_read_attributes instead of query_read_control.
(fhandler_disk_file::fstatvfs): New method.
(fhandler_disk_file::facl): Open with query_read_attributes instead of
query_read_control.
* fhandler_fifo.cc (fhandler_fifo::fstatvfs): New method.
* fhandler_socket.cc (fhandler_socket::fstatvfs): New method.
(fhandler_socket::fchmod): Return with EBADF in the default case.
(fhandler_socket::fchown): Ditto.
(fhandler_socket::facl): Ditto.
* fhandler_virtual.cc (fhandler_virtual::fstatvfs): Ditto.
* ntdll.h (struct _FILE_FS_ATTRIBUTE_INFORMATION): Define.
(struct _FILE_FS_FULL_SIZE_INFORMATION): Define.
* pipe.cc (fhandler_pipe::fstatvfs): New method.
* syscalls.cc (fstatvfs): Just call the fhandler's fstatvfs.
(statvfs): Ditto.
(fstatfs): Call fstatvfs.
(statfs): Drop EFAULT handling.

17 years ago * binutils-all/objcopy.exp: Skip for uclinux targets.
nathan [Tue, 27 Feb 2007 12:19:16 +0000 (12:19 +0000)]
* binutils-all/objcopy.exp: Skip for uclinux targets.

17 years ago * mt-spu (all-ld): Depend on all-binutils.
amodra [Tue, 27 Feb 2007 09:02:43 +0000 (09:02 +0000)]
* mt-spu (all-ld): Depend on all-binutils.
also fix previous ChangeLog entry

17 years agomissed from last commit
amodra [Tue, 27 Feb 2007 08:35:17 +0000 (08:35 +0000)]
missed from last commit

17 years ago * Makefile.am (ALL_EMUL_EXTRA_OFILES): Remove spu_inc.o.
amodra [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.

17 years ago * bin2c.c: New file.
amodra [Tue, 27 Feb 2007 08:31:45 +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.

17 years ago * elf32-spu.h (struct _ovl_stream): Make "start" and "end" const.
amodra [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.

17 years ago * config/tc-m68hc11.c (fixup24): Correct fixup size.
amodra [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.

17 years ago2007-02-27 Thorsten Dahlheimer <tdahlheim@gmx.net>
dannysmith [Tue, 27 Feb 2007 07:40:12 +0000 (07:40 +0000)]
2007-02-27  Thorsten Dahlheimer  <tdahlheim@gmx.net>

* include/stdio.h (_unlink, unlink): Add prototypes.

17 years ago * config/obj-elf.c (elf_frob_file): frag_wane any new frags.
amodra [Tue, 27 Feb 2007 07:16:31 +0000 (07:16 +0000)]
* config/obj-elf.c (elf_frob_file): frag_wane any new frags.

17 years ago * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
brobecke [Tue, 27 Feb 2007 06:43:27 +0000 (06:43 +0000)]
    * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.

17 years ago*** empty log message ***
gdbadmin [Tue, 27 Feb 2007 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
amodra [Mon, 26 Feb 2007 23:00:07 +0000 (23:00 +0000)]
daily update

17 years agomerge from gcc
dj [Mon, 26 Feb 2007 22:14:03 +0000 (22:14 +0000)]
merge from gcc

17 years ago * arch-utils.c (selected_byte_order): New.
drow [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.

17 years ago * gdb.texinfo (Monitor commands for gdbserver): New subsection.
drow [Mon, 26 Feb 2007 20:10:17 +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.

17 years ago * symfile.c (place_section): Check SEC_ALLOC. Do not check VMA.
drow [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.

17 years ago * remote.c (init_remote_state): Add special handling for placeholder
drow [Mon, 26 Feb 2007 19:23:16 +0000 (19:23 +0000)]
* remote.c (init_remote_state): Add special handling for placeholder
registers.

17 years ago * Makefile.in (XMLFILES): Include $(TDEP_XML).
drow [Mon, 26 Feb 2007 19:20:20 +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.

17 years ago * arm-tdep.c (arm_scan_prologue): Do not record FPA register saves
drow [Mon, 26 Feb 2007 19:18:51 +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.

17 years agoAdd missing files.
brolley [Mon, 26 Feb 2007 16:25:47 +0000 (16:25 +0000)]
Add missing files.

17 years ago * fhandler.cc (fhandler_base::fstat): Set all file times to arbitrary
corinna [Mon, 26 Feb 2007 14:19:00 +0000 (14:19 +0000)]
* fhandler.cc (fhandler_base::fstat): Set all file times to arbitrary
fixed value.

17 years ago * fhandler_registry.cc (registry_listing): Drop name of HKEY_DYN_DATA.
corinna [Mon, 26 Feb 2007 12:39:25 +0000 (12:39 +0000)]
* fhandler_registry.cc (registry_listing): Drop name of HKEY_DYN_DATA.
(registry_keys): Drop HKEY_DYN_DATA.
* net.cc: Fix comment.
* syslog.cc: Ditto.

17 years ago * fhandler_disk_file.cc (fhandler_disk_file::fchmod): Drop comment.
corinna [Mon, 26 Feb 2007 12:22:41 +0000 (12:22 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::fchmod): Drop comment.
* mmap.cc (gen_access): Remove.
(mmap_record::gen_access): Remove.
(mmap64): Don't mention 9x any longer.
* syscalls.cc (statvfs): Drop status code consideration for 9x.
* libc/minires-os-if.c (get_registry_dns_items): Don't mention 9x any
longer.
(get_registry_dns): Drop getting registry key on 9x.  Drop is9x
variable.

17 years ago * emultempl/spuelf.em (_binary_builtin_ovl_mgr_start): Rename
amodra [Mon, 26 Feb 2007 08:58:15 +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.

17 years ago*** empty log message ***
gdbadmin [Mon, 26 Feb 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
amodra [Sun, 25 Feb 2007 23:00:09 +0000 (23:00 +0000)]
daily update

17 years ago * Makefile.in (EXEEXT): New.
palves [Sun, 25 Feb 2007 19:44:29 +0000 (19:44 +0000)]
* Makefile.in (EXEEXT): New.
(clean): Use $(EXEEXT).

17 years ago * config/tc-arm.c (do_vfp_nsyn_pop): Use fldmias/fldmiad.
shinwell [Sun, 25 Feb 2007 19:29:25 +0000 (19:29 +0000)]
* config/tc-arm.c (do_vfp_nsyn_pop): Use fldmias/fldmiad.

17 years ago * target.h (target_ops): Rename send_signal to request_interrupt,
palves [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.

17 years ago * server.c (get_features_xml): Check if target implemented
palves [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.

17 years ago*** empty log message ***
gdbadmin [Sun, 25 Feb 2007 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
amodra [Sat, 24 Feb 2007 23:00:06 +0000 (23:00 +0000)]
daily update

17 years ago * NEWS (New targets): Add entry for the Toshiba Media Processor.
kevinb [Sat, 24 Feb 2007 17:37:27 +0000 (17:37 +0000)]
* NEWS (New targets): Add entry for the Toshiba Media Processor.

17 years ago*** empty log message ***
gdbadmin [Sat, 24 Feb 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago * MAINTAINERS (mep): New target.
kevinb [Fri, 23 Feb 2007 23:02:50 +0000 (23:02 +0000)]
* MAINTAINERS (mep): New target.

17 years agodaily update
amodra [Fri, 23 Feb 2007 23:00:06 +0000 (23:00 +0000)]
daily update

17 years agoAdd support for new target, Toshiba Media Processor (MeP).
kevinb [Fri, 23 Feb 2007 22:50:40 +0000 (22:50 +0000)]
Add support for new target, Toshiba Media Processor (MeP).