OSDN Git Service
corinna [Tue, 6 Mar 2007 14:56:44 +0000 (14:56 +0000)]
* include/cygwin/stat.h (S_TYPEISMQ): Define.
(S_TYPEISSEM): Dttio.
(S_TYPEISSHM): Ditto.
corinna [Tue, 6 Mar 2007 14:48:24 +0000 (14:48 +0000)]
* fhandler_mailslot.cc (fhandler_mailslot::fstat): Set new stat member
st_birthtim to useful value.
* fhandler_process.cc (fhandler_process::fstat): Ditto.
* fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Take
additional parameter for creation time. Fill st_birthtim with it.
Accomodate additional creation time parameter throughout.
* fhandler_raw.cc (fhandler_dev_raw::fstat): Set new stat member
st_birthtim to useful value.
* fhandler.cc (fhandler_base::fstat): Ditto.
* fhandler_registry.cc (fhandler_registry::fstat): Ditto.
* include/cygwin/version.h: Bump API minor number.
* include/cygwin/stat.h (struct __stat64): Replace st_spare4 with
timestruc_t st_birthtim.
(struct stat): Ditto if __CYGWIN_USE_BIG_TYPES__ is defined.
(st_birthtime): Define if __CYGWIN_USE_BIG_TYPES__ is defined.
sky [Tue, 6 Mar 2007 13:19:07 +0000 (13:19 +0000)]
2007-03-06 Andreas Krebbel <krebbel1@de.ibm.com>
* opcodes/s390-opc.c (INSTR_RRE_FR, INSTR_RRF_F0FF2, INSTR_RRF_F0FR,
INSTR_RRF_UUFF, INSTR_RRF_0UFF, INSTR_RRF_FFFU, INSTR_RRR_F0FF): New
instruction formats added.
(MASK_RRE_FR, MASK_RRF_F0FF2, MASK_RRF_F0FR, MASK_RRF_UUFF,
MASK_RRF_0UFF, MASK_RRF_FFFU, MASK_RRR_F0FF): New instruction format
masks added.
* opcodes/s390-opc.txt (lpdfr - tgxt): Decimal floating point
instructions added.
* opcodes/s390-mkopc.c (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
(main): z9-ec cpu type option added.
* include/opcode/s390.h (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
2007-03-06 Andreas Krebbel <krebbel1@de.ibm.com>
* config/tc-s390.c (md_parse_option): z9-ec option added.
2007-03-06 Andreas Krebbel <krebbel1@de.ibm.com>
* gas/s390/zarch-z9-ec.d: New file.
* gas/s390/zarch-z9-ec.s: New file.
* gas/s390/s390.exp: Run the z9-ec testcases.
hjl [Tue, 6 Mar 2007 02:08:24 +0000 (02:08 +0000)]
2007-03-05 H.J. Lu <hongjiu.lu@intel.com>
PR gas/3918
* lib/gas-defs.exp (gas_started): New variable. Initialized to
0.
(gas_start): Set gas_started to 1.
(gas_finish): Skip if gas_started is 0. Reset gas_started to 0.
ironhead [Tue, 6 Mar 2007 01:53:36 +0000 (01:53 +0000)]
2007-03-05 Jan Nijtmans <nijtmans@users.sourceforge.net>
* include/ddeml.h (DdeCreateStringHandleA, DdeCreateStringHandleW): Switch
argument to constant.
gdbadmin [Tue, 6 Mar 2007 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
dj [Mon, 5 Mar 2007 23:19:10 +0000 (23:19 +0000)]
Merge from gcc:
+2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
+
+ * configure.ac: Add "--with-pdfdir" configure option,
+ which defines pdfdir variable.
+ * Makefile.def (target=fixincludes): Add install-pdf to
+ missing targets.
+ (recursive_targets): Add install-pdf target.
+ (flags_to_pass): Add pdfdir.
+ * Makefile.tpl: Add pdfdir handling, add do-install-pdf
+ target.
+ * configure: Regenerate
+ * Makefile.in: Regenerate
+
+2007-02-28 Eric Christopher <echristo@apple.com>
+
+ Revert:
+ 2006-12-07 Mike Stump <mrs@apple.com>
+
+ * Makefile.def (dependencies): Add dependency for
+ install-target-libssp and install-target-libgomp on
+ install-gcc.
+ * Makefile.in: Regenerate.
+
+2007-02-27 Matt Kraai <kraai@ftbfs.org>
+
+ * configure: Regenerate.
+ * configure.ac: Move statements after variable declarations.
+
amodra [Mon, 5 Mar 2007 23:00:07 +0000 (23:00 +0000)]
daily update
dj [Mon, 5 Mar 2007 22:15:38 +0000 (22:15 +0000)]
merge from gcc
dannysmith [Mon, 5 Mar 2007 08:25:32 +0000 (08:25 +0000)]
* include/io.h (__mingw_access): New static inline wrapper to restore
pre-Vista 'access (fname, X_OK)' behaviour.
(__USE_MINGW_ACCESS): Use to map access() to __mingw_access().
dannysmith [Mon, 5 Mar 2007 07:42:36 +0000 (07:42 +0000)]
* mingwex/fesetround.c (fesetround): Use unsigned int as operand
to stmxcsr.
Thanks to Alexey Kuznetsov <ring0_mipt at users dot sf dot net>
gdbadmin [Mon, 5 Mar 2007 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sun, 4 Mar 2007 23:00:06 +0000 (23:00 +0000)]
daily update
gdbadmin [Sun, 4 Mar 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sat, 3 Mar 2007 23:00:05 +0000 (23:00 +0000)]
daily update
gdbadmin [Sat, 3 Mar 2007 00:00:38 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Fri, 2 Mar 2007 23:00:06 +0000 (23:00 +0000)]
daily update
msnyder [Fri, 2 Mar 2007 22:16:06 +0000 (22:16 +0000)]
2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
* gdb.threads/manythreads.exp: Use $message string for
consistancy; add a default (timeout) case.
msnyder [Fri, 2 Mar 2007 22:11:11 +0000 (22:11 +0000)]
2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
* gdb.base/watchpoint.exp: Fix truncated comment.
kettenis [Fri, 2 Mar 2007 21:28:18 +0000 (21:28 +0000)]
* shnbsd-tdep.c: Include "regset.h", "gdb_assert.h" and
"gdb_string.h". Don't include "nbsd-tdep.h".
(SIZEOF_STRUCT_REG): Remove.
(SHNBSD_SIZEOF_GREGS): New.
(shnbsd_supply_gregset, shnbsd_collect_gregset)
(shnbsd_regset_from_core_section): New functions.
(fetch_core_registers, fetch_elfcore_registers): Remove functions.
(shnbsd_supply_reg, shnbsd_fill_reg): Simply call
shnbsd_supply_gregset, shnbsd_collect_gregset.
(shnbsd_gregset): New variable.
(shnbsd_init_abi): Set regset_from_core_section.
(GDB_OSABI_NETBSD_CORE): New define.
(shnbsd_core_osabi_sniffer): New function.
(_initialize_shnbsd_tdep): Register shnbsd_core_osabi_sniffer.
* Makefile.in (shnbsd-tdep.o): Update dependencies.
* config/sh/nbsd.mt (TDEPFILES): Add corelow.o, remove
nbsd-tdep.o.
* config/sh/obsd.mt (TDEPFILES): Remove nbsd-tdep.o.
nathan [Fri, 2 Mar 2007 21:02:47 +0000 (21:02 +0000)]
* emulparams/shelf_uclinux.sh: New. Missed in 2007-02-28 commit.
brolley [Fri, 2 Mar 2007 20:07:13 +0000 (20:07 +0000)]
2007-03-02 Dave Brolley <brolley@redhat.com>
* arm7t-timer.h (~armTimerNoSched): New virtual destructor with empty
throw specifier.
(~armTimerSched): Likewise.
corinna [Fri, 2 Mar 2007 20:04:26 +0000 (20:04 +0000)]
* ntdll.h (struct _OBJECT_NAME_INFORMATION): Define.
* syscalls.cc (unlink_nt): Check shared directory for being empty
before trying to move and mark for deletion.
corinna [Fri, 2 Mar 2007 19:54:20 +0000 (19:54 +0000)]
* security.cc (get_file_attribute): Avoid compiler warning.
msnyder [Fri, 2 Mar 2007 18:42:40 +0000 (18:42 +0000)]
2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
* Makefile.in: Remove spurious single-quotes from sed command.
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.
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.
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.
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.
rsandifo [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 ***
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.
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.
amodra [Thu, 1 Mar 2007 23:00:07 +0000 (23:00 +0000)]
daily update
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.
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.
pbrook [Thu, 1 Mar 2007 16:06:28 +0000 (16:06 +0000)]
2007-03-01 Paul Brook <paul@codesourcery.com>
* MAINTAINERS: Update my entry.
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.
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.
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.
ths [Thu, 1 Mar 2007 14:29:26 +0000 (14:29 +0000)]
* mips.igen (MFHI, MFLO, MTHI, MTLO): Restore support for mips32
and mips64.
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.
amodra [Thu, 1 Mar 2007 11:17:41 +0000 (11:17 +0000)]
* spu-insns.h: Add soma double-float insns.
amodra [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 ***
amodra [Wed, 28 Feb 2007 23:00:06 +0000 (23:00 +0000)]
daily 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.
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.
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.
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.
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.
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.
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.
drow [Wed, 28 Feb 2007 15:55:54 +0000 (15:55 +0000)]
* top.c (gdb_readline_wrapper_cleanup): Remove invalid assertion.
nickc [Wed, 28 Feb 2007 14:39:15 +0000 (14:39 +0000)]
PR 3729: Fix unexpected failures in ARM GAS testsuite results.
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.
nickc [Wed, 28 Feb 2007 10:02:37 +0000 (10:02 +0000)]
PR gas/2623
* config/tc-msp430.c (line_separator_char): Change to '{'.
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.
brobecke [Wed, 28 Feb 2007 06:04:37 +0000 (06:04 +0000)]
Fix the last ChangeLog entry date (oops :-/).
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.
amodra [Wed, 28 Feb 2007 01:39:59 +0000 (01:39 +0000)]
* configure.tgt: Fix type last change.
amodra [Wed, 28 Feb 2007 01:36:32 +0000 (01:36 +0000)]
*** empty log message ***
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.
amodra [Wed, 28 Feb 2007 01:29:58 +0000 (01:29 +0000)]
* configure.tgt (spu-*-elf*): Delete targ_extra_ofiles.
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.
gdbadmin [Wed, 28 Feb 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
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.
nickrob [Tue, 27 Feb 2007 23:27:47 +0000 (23:27 +0000)]
(varobj_update): Free temporary vectors.
nickrob [Tue, 27 Feb 2007 23:27:15 +0000 (23:27 +0000)]
*** empty log message ***
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.
brobecke [Tue, 27 Feb 2007 23:01:58 +0000 (23:01 +0000)]
Fix Entry dates for the last couple entries.
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.
amodra [Tue, 27 Feb 2007 23:00:05 +0000 (23:00 +0000)]
daily update
brobecke [Tue, 27 Feb 2007 22:57:42 +0000 (22:57 +0000)]
* buildsym.c (record_producer): Do nothing if no producer is provided.
nickrob [Tue, 27 Feb 2007 22:01:10 +0000 (22:01 +0000)]
(enum varobj_update_error): Delete WRONG_PARAM value.
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.
nickrob [Tue, 27 Feb 2007 21:58:57 +0000 (21:58 +0000)]
*** empty log message ***
nickrob [Tue, 27 Feb 2007 21:51:57 +0000 (21:51 +0000)]
*** empty log message ***
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.
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.
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.
mmitchel [Tue, 27 Feb 2007 18:51:57 +0000 (18:51 +0000)]
* armos.c (SWIflen): Do not treate file descriptor zero as
special.
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.
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.
drow [Tue, 27 Feb 2007 17:23:34 +0000 (17:23 +0000)]
* terminal.h: Check HAVE_SGTTY_H.
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.
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.
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.
nathan [Tue, 27 Feb 2007 12:19:16 +0000 (12:19 +0000)]
* binutils-all/objcopy.exp: Skip for uclinux targets.
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
amodra [Tue, 27 Feb 2007 08:35:17 +0000 (08:35 +0000)]
missed from last commit
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.
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.
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.
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.
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.
amodra [Tue, 27 Feb 2007 07:16:31 +0000 (07:16 +0000)]
* config/obj-elf.c (elf_frob_file): frag_wane any new frags.
brobecke [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 ***
amodra [Mon, 26 Feb 2007 23:00:07 +0000 (23:00 +0000)]
daily update