OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
15 years ago*** empty log message ***
gdbadmin [Fri, 10 Jul 2009 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

15 years ago * merge.cc (Object_merge_map::initialize_input_to_output_map):
ian [Thu, 9 Jul 2009 23:29:54 +0000 (23:29 +0000)]
* merge.cc (Object_merge_map::initialize_input_to_output_map):
Reserve space in the hash table.

15 years ago * i386-tdep.c (i386_displaced_step_fixup): Fix order of arguments
devans [Thu, 9 Jul 2009 23:27:07 +0000 (23:27 +0000)]
* i386-tdep.c (i386_displaced_step_fixup): Fix order of arguments
to read_memory_unsigned_integer.

15 years agomerge from gcc
dj [Thu, 9 Jul 2009 21:01:15 +0000 (21:01 +0000)]
merge from gcc

15 years agogdb/
jkratoch [Thu, 9 Jul 2009 20:30:58 +0000 (20:30 +0000)]
gdb/
Report error on inaccessible memory.
* cli/cli-dump.c: Include gdbcore.h.
(dump_memory_to_file): Call read_memory instead of target_read_memory.

gdb/testsuite/
* gdb.base/dump.exp (inaccessible memory is reported): New test.

15 years agomerge from gcc
dj [Thu, 9 Jul 2009 20:02:41 +0000 (20:02 +0000)]
merge from gcc

15 years ago2009-07-09 Craig Howland <howland@LGSInnovations.com>
jjohnstn [Thu, 9 Jul 2009 17:04:55 +0000 (17:04 +0000)]
2009-07-09  Craig Howland <howland@LGSInnovations.com>

        * libm/math/ef_scalb.c:  Replace isnanf() (pre-C99 function call) with
        isnan() (C99 macro).
        * libm/math/wf_log.c:  Ditto.
        * libm/math/wf_j0.c:  Ditto.
        * libm/math/wf_sqrt.c:  Ditto.
        * libm/math/wf_pow.c:  Ditto.
        * libm/math/wf_fmod.c:  Ditto.
        * libm/math/wf_remainder.c:  Ditto.
        * libm/math/wf_scalb.c:  Ditto.
        * libm/math/wf_atanh.c:  Ditto.
        * libm/math/wf_cosh.c:  Ditto.
        * libm/math/wf_acos.c:  Ditto.
        * libm/math/wf_acosh.c:  Ditto.
        * libm/math/wf_jn.c:  Ditto.
        * libm/math/wf_log10.c:  Ditto.
        * libm/math/wf_asin.c:  Ditto.
        * libm/math/wf_j1.c:  Ditto.
        * libm/common/sf_isnan.c:  Add #include <ieeefp.h>, fix comment.
        * libm/common/sf_isinf.c:  Add #include <ieeefp.h>, adjust comment to
        match that from s_isinf.c.
        * libc/include/machine/ieeefp.h:  Simplify isinf and isnan macros to
        remove un-necessary extension use (in a similar manner to as was
        recently done in math.h).
        * libc/include/math.h:  Remove isnanf and isinff prototypes (are in
        ieeefp.h).
        * libm/machine/spu/sf_isinf.c:  Fix comment (remove <math.h>).

15 years ago2009-07-09 Hui Zhu <teawater@gmail.com>
teawater [Thu, 9 Jul 2009 13:39:17 +0000 (13:39 +0000)]
2009-07-09  Hui Zhu  <teawater@gmail.com>

* solib.c (solib_bfd_open): Output a warning if solib's
architecture is not compatible with inferior's architecture.

15 years agogdb/
jkratoch [Thu, 9 Jul 2009 12:50:46 +0000 (12:50 +0000)]
gdb/
* target.h (struct target_ops <to_thread_architecture>): Describe it.
(target_thread_architecture): Refer to to_thread_architecture.

15 years ago * elf32-spu.c (mark_functions_via_relocs): Init broken_cycle field
amodra [Thu, 9 Jul 2009 10:58:05 +0000 (10:58 +0000)]
* elf32-spu.c (mark_functions_via_relocs): Init broken_cycle field
of malloc'd struct call_info.
(pasted_function): Likewise, priority too.

15 years ago * config/tc-arm.c (it_fsm_post_encode): New forward declaration.
nickc [Thu, 9 Jul 2009 07:52:32 +0000 (07:52 +0000)]
    * config/tc-arm.c (it_fsm_post_encode): New forward declaration.
        (set_it_insn_type_nonvoid): New macro.
        (emit_thumb32_expr): New function.
        (thumb_insn_size): New function.
        (emit_insn): New function.
        (s_arm_elf_inst): New function.
        (md_pseudo_table): New pseudo-opcode entries added.
        * doc/c-arm.texi: New directive added.

        * gas/arm/inst-po.d: New testcase.
        * gas/arm/inst-po.s: New file.
        * gas/arm/inst-po-2.d: New testcase.
        * gas/arm/inst-po-2.s: New file.
        * gas/arm/inst-po-2.l: New file.
        * gas/arm/inst-po-3.d: New testcase.
        * gas/arm/inst-po-3.s: New file.
        * gas/arm/inst-po-be.d: New testcase.

15 years ago * cli/cli-cmds.c (init_cli_cmds): Add "inf" alias for "info" command.
muller [Thu, 9 Jul 2009 07:23:31 +0000 (07:23 +0000)]
* cli/cli-cmds.c (init_cli_cmds): Add "inf" alias for "info" command.

15 years ago*** empty log message ***
gdbadmin [Thu, 9 Jul 2009 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
amodra [Thu, 9 Jul 2009 00:00:04 +0000 (00:00 +0000)]
daily update

15 years ago* pathnames.sgml: Fix typo.
cgf [Wed, 8 Jul 2009 23:23:02 +0000 (23:23 +0000)]
* pathnames.sgml: Fix typo.

15 years ago* m32c/sbrk.c (sbrk): Change to take ptrdiff_t, not int.
dj [Wed, 8 Jul 2009 20:54:19 +0000 (20:54 +0000)]
* m32c/sbrk.c (sbrk): Change to take ptrdiff_t, not int.

15 years ago * tui/tui-stack.c (tui_make_status_line): Display PC as ?? if unknown.
uweigand [Wed, 8 Jul 2009 12:02:57 +0000 (12:02 +0000)]
* tui/tui-stack.c (tui_make_status_line): Display PC as ?? if unknown.

15 years ago * Makefile.in (traps.o): Add dependency on targ-vals.h to fix
devans [Wed, 8 Jul 2009 06:16:46 +0000 (06:16 +0000)]
* Makefile.in (traps.o): Add dependency on targ-vals.h to fix
parallel makes.

15 years ago * Makefile.in (stamp-arch): Pass archfile to cgen-arch.
devans [Wed, 8 Jul 2009 05:38:01 +0000 (05:38 +0000)]
* Makefile.in (stamp-arch): Pass archfile to cgen-arch.
(stamp-cpu): Pass archfile to cgen-cpu-decode.

15 years ago* cpu/mep-ivc2.cpu (cpmovtocsar0_C3, cpmovtocsar1_C3,
dj [Wed, 8 Jul 2009 05:37:28 +0000 (05:37 +0000)]
* cpu/mep-ivc2.cpu (cpmovtocsar0_C3, cpmovtocsar1_C3,
cpmovtocc_C3, cpmovtocsar0_P0S_P1, cpmovtocsar1_P0S_P1,
cpmovtocc_P0S_P1): Mark volatile.  Note which registers are
written to.

15 years ago * ld-selective/selective.exp: Remove check that $CC contains the
amodra [Wed, 8 Jul 2009 03:09:12 +0000 (03:09 +0000)]
* ld-selective/selective.exp: Remove check that $CC contains the
string "gcc".  Do -dumpversion for $CXX.

15 years agodaily update
amodra [Wed, 8 Jul 2009 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago*** empty log message ***
gdbadmin [Wed, 8 Jul 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

15 years ago * breakpoint.c (set_raw_breakpoint): Remove static modifier.
muller [Tue, 7 Jul 2009 22:21:09 +0000 (22:21 +0000)]
* breakpoint.c (set_raw_breakpoint): Remove static modifier.

15 years ago * winbase.h (ilockexch): Avoid making 'ret' volatile.
davek [Tue, 7 Jul 2009 21:41:43 +0000 (21:41 +0000)]
* winbase.h (ilockexch): Avoid making 'ret' volatile.
(ilockcmpexch): Likewise.

15 years agogdb
tromey [Tue, 7 Jul 2009 21:33:48 +0000 (21:33 +0000)]
gdb
* c-lang.c (convert_octal): Only allow 3 octal digits.
(print_wchar): Prefer 3-digit octal form.  Fall back to hex if
needed.
* c-exp.y (c_parse_escape): Only allow 3 octal digits.
gdb/testsuite
* gdb.base/call-rt-st.exp: Update for change to escape output.
* gdb.base/callfuncs.exp: Likewise.
* gdb.base/charset.exp: Likewise.
* gdb.base/constvars.exp: Likewise.
* gdb.base/long_long.exp: Likewise.
* gdb.base/pointers.exp: Likewise.
* gdb.base/printcmds.exp: Likewise.
* gdb.base/setvar.exp: Likewise.
* gdb.base/store.exp: Likewise.
* gdb.cp/ref-types.exp: Likewise.
* gdb.mi/mi-var-child.exp: Likewise.
* gdb.mi/mi-var-display.exp: Likewise.
* gdb.mi/mi2-var-display.exp: Likewise.
* gdb.base/charset.exp: Test octal escape sequence length.
Update for change to escape output.

15 years ago* config/tc-mep.c (md_begin): Don't reset the coprocessor options
dj [Tue, 7 Jul 2009 21:12:51 +0000 (21:12 +0000)]
* config/tc-mep.c (md_begin): Don't reset the coprocessor options
when enabling other options without a specific configuration.

15 years ago2009-07-07 Paul Pluzhnikov <ppluzhnikov@google.com>
ppluzhnikov [Tue, 7 Jul 2009 21:02:59 +0000 (21:02 +0000)]
2009-07-07  Paul Pluzhnikov  <ppluzhnikov@google.com>

* python/python-value.c (valpy_getitem): Remove incorrect assert.

15 years ago * ChangeLog: Assorted minor whitespace fixes in old entries.
davek [Tue, 7 Jul 2009 20:25:34 +0000 (20:25 +0000)]
* ChangeLog: Assorted minor whitespace fixes in old entries.

15 years agowinsup/ChangeLog:
davek [Tue, 7 Jul 2009 20:12:43 +0000 (20:12 +0000)]
winsup/ChangeLog:

* Makefile.common (COMPILE_CXX): Add support for per-file overrides
to exclude $(nostdinc) and $(nostdincxx) from compiler flags.
(COMPILE_CC): Likewise for $(nostdinc).

winsup/cygwin/ChangeLog:

* Makefile.in (DLL_OFILES): Add libstdcxx_wrapper.o
(libstdcxx_wrapper_CFLAGS): Add flags for new module.
(_cygwin_crt0_common_STDINCFLAGS): Define per-file override.
(libstdcxx_wrapper_STDINCFLAGS, cxx_STDINCFLAGS): Likewise.
* cxx.cc: Include "cygwin-cxx.h".
(operator new): Tweak prototype for full standards compliance.
(operator new[]): Likewise.
(operator new (nothrow)): New fallback function.
(operator new[] (nothrow), operator delete (nothrow),
operator delete[] (nothrow)): Likewise.
(default_cygwin_cxx_malloc): New struct of pointers to the above,
for final last-resort fallback default.
* cygwin-cxx.h: New file.
(struct per_process_cxx_malloc): Define.
(default_cygwin_cxx_malloc): Declare extern.
* cygwin.din (__wrap__ZdaPv): Export new wrapper.
(__wrap__ZdaPvRKSt9nothrow_t, __wrap__ZdlPv,
__wrap__ZdlPvRKSt9nothrow_t, __wrap__Znaj,
__wrap__ZnajRKSt9nothrow_t, __wrap__Znwj,
__wrap__ZnwjRKSt9nothrow_t): Likewise.
* globals.cc (__cygwin_user_data): Init newly-repurposed 'forkee'
field (now 'cxx_malloc') to point to default_cygwin_cxx_malloc.
* libstdcxx_wrapper.cc: New file.
(__wrap__ZdaPv, __wrap__ZdaPvRKSt9nothrow_t, __wrap__ZdlPv,
__wrap__ZdlPvRKSt9nothrow_t, __wrap__Znaj,
__wrap__ZnajRKSt9nothrow_t, __wrap__Znwj,
__wrap__ZnwjRKSt9nothrow_t): Define wrapper functions for libstdc++
malloc operators and their overrides.
* winsup.h (default_cygwin_cxx_malloc): Declare extern.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
* include/sys/cygwin.h (struct per_process_cxx_malloc): Forward
declare here.
(struct per_process::forkee): Rename and repurpose from this ...
(struct per_process::cxx_malloc): ... to this.
* lib/_cygwin_crt0_common.cc: Include cygwin-cxx.h.
(WEAK): Define shorthand helper macro.
(__cygwin_cxx_malloc): Define and populate with weak references
to whatever libstdc++ malloc operators will be visible at final
link time for Cygwin apps and dlls.
(_cygwin_crt0_common): Always look up cygwin DLL's internal
per_process data, and don't test for (impossible) failure.  Inherit
any members of __cygwin_cxx_malloc that we don't have overrides
for from the DLL's default and store the resulting overall set of
overrides back into the DLL's global per_process data.

15 years ago2009-07-07 Paul Pluzhnikov <ppluzhnikov@google.com>
ppluzhnikov [Tue, 7 Jul 2009 19:36:09 +0000 (19:36 +0000)]
2009-07-07  Paul Pluzhnikov  <ppluzhnikov@google.com>

* python/python-value.c (valpy_getitem): Don't return from TRY_CATCH.

15 years ago(-parse-insn-format-ifield-spec): Tweak error message.
devans [Tue, 7 Jul 2009 18:52:32 +0000 (18:52 +0000)]
(-parse-insn-format-ifield-spec): Tweak error message.

15 years ago * cpu/play.cpu (add): Use (ifield enum) for one format element.
devans [Tue, 7 Jul 2009 18:44:09 +0000 (18:44 +0000)]
* cpu/play.cpu (add): Use (ifield enum) for one format element.
* cpu/play.opc: New file.

Allow arbitrary enums in instruction formats, e.g. (f-op1 OP1_4).
* insn.scm (-parse-insn-format-ifield-spec): Recognize (ifield enum).
* doc/rtl.texi (Instructions): Update.

15 years ago * cgen-opc.scm (-opc-file-path,opc-file-path): Move to opcodes.scm
devans [Tue, 7 Jul 2009 18:27:08 +0000 (18:27 +0000)]
* cgen-opc.scm (-opc-file-path,opc-file-path): Move to opcodes.scm
(opc-arguments, -OPC): Call set-opc-file-path!.
* opcodes.scm (-opc-file-path,opc-file-path): Moved here.
(set-opc-file-path!): New function.
* dev.scm: Mention set-opc-file-path!.  Mention doc options.

15 years ago * opc-ibld.scm (gen-insn-builder): Convert symbols to strings
devans [Tue, 7 Jul 2009 18:19:07 +0000 (18:19 +0000)]
* opc-ibld.scm (gen-insn-builder): Convert symbols to strings
before passing to gen-c-args.

15 years ago2009-07-07 Sami Wagiaalla <swagiaal@redhat.com>
swagiaal [Tue, 7 Jul 2009 17:25:10 +0000 (17:25 +0000)]
2009-07-07  Sami Wagiaalla  <swagiaal@redhat.com>

* cp-support.h (struct using_direct): Rename members inner and
outer to import_src, and import_dest respectively.
* cp-namespace.c (cp_add_using_directive): Update.
(cp_add_using): Update.
(cp_copy_usings): Update.
(cp_lookup_symbol_namespace): Update.
(cp_scan_for_anonymous_namespaces): Update.
* cp-support.c (make_symbol_overload_list_using): Update.
* cp-support.h (cp_add_using_directive, cp_add_using): Rename
arguments from inner and outer to src and dest respectively.
* cp-namespace.c (cp_add_using_directive): Ditto.
(cp_add_using): Ditto.

15 years agogas/
nickc [Tue, 7 Jul 2009 16:15:26 +0000 (16:15 +0000)]
gas/
    * config/tc-arm.c (insns): Fix encoding for torvsc.

gas/testsuite/
    * gas/arm/iwmmxt2.d: Fix insn pattern for torvsc,
    add patterns for waddsubhx.
    * gas/arm/iwmmxt2.s: Add tests for waddsubhx.

opcodes/
    * arm-dis.c (coprocessor_opcodes): Fix mask for waddbhus.

15 years ago PR 10288
nickc [Tue, 7 Jul 2009 14:46:14 +0000 (14:46 +0000)]
    PR 10288
        * arm-dis.c (arm_opcodes): Be more strict about decoding scaled
        addressing modes.

15 years ago2009-07-07 H.J. Lu <hongjiu.lu@intel.com>
hjl [Tue, 7 Jul 2009 13:57:46 +0000 (13:57 +0000)]
2009-07-07  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/fma4.d: Append "#pass".
* gas/i386/x86-64-fma4.d: Likewise.

15 years ago * generic/gdbtk-bp.c: Include "arch-utils.h".
muller [Tue, 7 Jul 2009 12:38:56 +0000 (12:38 +0000)]
* generic/gdbtk-bp.c: Include "arch-utils.h".
(set_raw_breakpoint): Update external definition.
(gdb_set_bp): Adapt to set_raw_breakpoint change.
(gdb_set_bp_addr): Likewise.
* generic/gdbtk-cmds.c: Include "arch-utils.h.
(gdbtk_load_asm): Adapt to paddress and gdb_print_insn changes.
(hex2bin): Replace current_gdbarch by get_current_arch call.
(gdb_update_mem): Adapt to builtin_type changes.
(gdb_CA_to_TAS): Use paddress to replace removed function paddr_nz.
* generic/gdbtk-register.c: Include "arch-utils.h".
(get_register_size): Replace current_gdbarch by get_current_arch call.
(get_register_types): Likewise.
(get_register): Likewise.
(get_register_name): Likewise.
(map_arg_registers): Likewise.
(register_changed_p): Likewise.
(setup_architecture_data): Likewise.
(gdb_regformat): Likewise.
(gdb_reggrouplist): Likewise.
(gdb_reggroup): Likewise.
* generic/gdbtk-stack.c: Inlcude "arch-utils.h".
(gdb_get_blocks): Use paddress instead of removed paddr_nz function.
(gdb_selected_block): Likewise.
(gdb_selected_frame): Likewise.

15 years agogdb/
jkratoch [Tue, 7 Jul 2009 09:26:12 +0000 (09:26 +0000)]
gdb/
* mi/mi-cmd-var.c (mi_cmd_var_update): Replace a while loop by for loop.
* varobj.c (varobj_invalidate): Replace a while loop by for loop.

15 years agogdb/testsuite/
jkratoch [Tue, 7 Jul 2009 09:25:38 +0000 (09:25 +0000)]
gdb/testsuite/
* gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.

15 years ago Fix hang in floating varobjs.
vprus [Tue, 7 Jul 2009 08:51:31 +0000 (08:51 +0000)]
Fix hang in floating varobjs.

* varob.c (varobj_invalidate): Advance to next
element when processing floating varobj.

15 years ago * varobj.c: Remove unnecessary include.
vprus [Tue, 7 Jul 2009 08:47:09 +0000 (08:47 +0000)]
* varobj.c: Remove unnecessary include.

15 years ago2009-07-07 Tristan Gingold <gingold@adacore.com>
gingold [Tue, 7 Jul 2009 08:29:58 +0000 (08:29 +0000)]
2009-07-07  Tristan Gingold  <gingold@adacore.com>

* gas/i386/jump.d: Adjust to be relocated offset for jump to external
symbol.

15 years ago * Make-common.in (CGEN_CPU_EXTR,CGEN_CPU_READ): Pass canonical
devans [Tue, 7 Jul 2009 08:09:19 +0000 (08:09 +0000)]
* Make-common.in (CGEN_CPU_EXTR,CGEN_CPU_READ): Pass canonical
identifiers for file types rather than encoding internal
implementation details of cgen.sh.
(CGEN_CPU_WRITE,CGEN_CPU_SEM,CGEN_CPU_SEMSW): Ditto.
* cgen.sh: Add support for parallel makes.
Rewrite cpu/decode handling to avoid generating "extrafiles" twice.

15 years ago * cygtls.cc (_cygtls::remove): Fix typo.
corinna [Tue, 7 Jul 2009 08:07:38 +0000 (08:07 +0000)]
* cygtls.cc (_cygtls::remove): Fix typo.

15 years ago2009-07-07 Tristan Gingold <gingold@adacore.com>
gingold [Tue, 7 Jul 2009 07:47:19 +0000 (07:47 +0000)]
2009-07-07  Tristan Gingold  <gingold@adacore.com>

* config/i386/darwin.mh (NATDEPFILES): Remove excServer.o.
Remove excServer.c target.  Remove _all target.
* darwin.defs: Removed.

15 years ago * elf32-spu.c (spu_elf_auto_overlay): Take into account section
amodra [Tue, 7 Jul 2009 03:26:46 +0000 (03:26 +0000)]
* elf32-spu.c (spu_elf_auto_overlay): Take into account section
alignment when packing sections into overlays.

15 years ago[cgen]
dj [Tue, 7 Jul 2009 01:55:59 +0000 (01:55 +0000)]
[cgen]

* cpu/mep-core.cpu (fsft, ssarb): Mark as VOLATILE.
* cpu/mep-ivc2.cpu (many): Add VOLATILE to more insns that make
unspecified accesses to control registers.

[sid/component/cgen-cpu/mep]

* mep-cop1-16-decode.cxx: Regenerate.
* mep-cop1-16-decode.h: Regenerate.
* mep-cop1-16-defs.h: Regenerate.
* mep-cop1-16-model.cxx: Regenerate.
* mep-cop1-16-model.h: Regenerate.
* mep-cop1-16-sem.cxx: Regenerate.
* mep-cop1-32-decode.cxx: Regenerate.
* mep-cop1-32-decode.h: Regenerate.
* mep-cop1-32-defs.h: Regenerate.
* mep-cop1-32-model.cxx: Regenerate.
* mep-cop1-32-model.h: Regenerate.
* mep-cop1-32-sem.cxx: Regenerate.
* mep-cop1-48-decode.cxx: Regenerate.
* mep-cop1-48-decode.h: Regenerate.
* mep-cop1-48-defs.h: Regenerate.
* mep-cop1-48-model.cxx: Regenerate.
* mep-cop1-48-model.h: Regenerate.
* mep-cop1-48-sem.cxx: Regenerate.
* mep-cop1-64-decode.cxx: Regenerate.
* mep-cop1-64-decode.h: Regenerate.
* mep-cop1-64-defs.h: Regenerate.
* mep-cop1-64-model.cxx: Regenerate.
* mep-cop1-64-model.h: Regenerate.
* mep-cop1-64-sem.cxx: Regenerate.
* mep-core1-decode.cxx: Regenerate.
* mep-core1-decode.h: Regenerate.
* mep-core1-defs.h: Regenerate.
* mep-core1-model.cxx: Regenerate.
* mep-core1-model.h: Regenerate.
* mep-core1-sem.cxx: Regenerate.
* mep-cpu.h: Regenerate.
* mep-decode.cxx: Regenerate.
* mep-decode.h: Regenerate.
* mep-defs.h: Regenerate.
* mep-desc.h: Regenerate.
* mep-model.cxx: Regenerate.
* mep-model.h: Regenerate.
* mep-sem.cxx: Regenerate.

[opcodes]

* mep-desc.c: Regenerate.
* mep-desc.h: Regenerate.
* mep-opc.c: Regenerate.
* mep-opc.h: Regenerate.

15 years ago*** empty log message ***
gdbadmin [Tue, 7 Jul 2009 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
amodra [Tue, 7 Jul 2009 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago* Makefile.in (clean): Clean generated files in srcdir.
cgf [Mon, 6 Jul 2009 23:19:08 +0000 (23:19 +0000)]
* Makefile.in (clean): Clean generated files in srcdir.
* tlsoffsets.h: Regenerate.

15 years ago * fileread.cc (File_read::get_mtime): New method.
ian [Mon, 6 Jul 2009 23:11:21 +0000 (23:11 +0000)]
* fileread.cc (File_read::get_mtime): New method.
* fileread.h (Timespec): New structure.
(File_read::get_mtime): New method.
* incremental.cc (Incremental_inputs_entry_data::timestamp_usec):
Renamed from timestamp_nsec.
(Incremental_inputs_entry_write::timestamp_sec): Fix argument to
Elf_Xword.
(Incremental_inputs_entry_write::timestamp_usec): Renamed from
timestamp_nsec.
(Incremental_inputs::report_archive): Save mtime; style fix.
(Incremental_inputs::report_obejct): Save mtime; style fix.
(Incremental_inputs::report_script): Save mtime; style fix.
(Incremental_inputs::finalize_inputs): Style fix.
(Incremental_inputs::finalize): Style fix.
(Incremental_inputs::create_input_section_data): Store inputs
mtime.
* incremental.h (Incremental_inputs::report_script): Add mtime
argument.
(Incremental_inputs::Input_info::Input_info): Intialize only one
union member.
(Incremental_inputs::Input_info::archive): Move to nameless
union.
(Incremental_inputs::Input_info::obejct): Move to nameless union.
(Incremental_inputs::Input_info::script): Move to nameless union.
(Incremental_inputs::mtime): New field.
* script.cc (read_input_script): Pass file mtime to
Incremental_input.
* script.h (Script_info::inputs): Style fix.

15 years ago* cygtls.cc (_cygtls::remove): Avoid closing a NULL handle.
cgf [Mon, 6 Jul 2009 23:05:09 +0000 (23:05 +0000)]
* cygtls.cc (_cygtls::remove): Avoid closing a NULL handle.

15 years ago * fhandler_socket.cc (fhandler_socket::recv_internal): Convert wsabuf
corinna [Mon, 6 Jul 2009 20:30:33 +0000 (20:30 +0000)]
* fhandler_socket.cc (fhandler_socket::recv_internal): Convert wsabuf
and wsacnt to references.  Fix handling of WSAEMSGSIZE.

15 years ago<gas changes>
dwarak [Mon, 6 Jul 2009 19:34:29 +0000 (19:34 +0000)]
<gas changes>
2009-07-06  Dwarakanath Rajagopal  <dwarak.rajagopal@amd.com>

* config/tc-i386.c (cpu_arch): Add .fma4 and CPU_FMA4_FLAGS.
(build_modrm_byte): Add support to handle FMA4 instructions.
(md_show_usage): Add fma4.

<gas/testsuite changes>
2009-07-06  Dwarakanath Rajagopal  <dwarak.rajagopal@amd.com>

* gas/i386/i386.exp: Add FMA4 tests.
* gas/i386/x86-64-fma4.d: Ditto.
* gas/i386/fma4.d: Ditto.
* gas/i386/x86-64-fma4.s: Ditto.
* gas/i386/fma4.s: Ditto.

<opcodes changes>
2009-07-06  Dwarakanath Rajagopal  <dwarak.rajagopal@amd.com>

* i386-opc.h (CpuFMA4): Add CpuFMA4.
(i386_cpu_flags): New.
* i386-gen.c: Add CPU_FMA4_FLAGS.
* i386-opc.tbl: Add FMA4 instructions.
* i386-tbl.h: Regenerate.
* i386-init.h: Regenerate.
* i386-dis.c (OP_VEX_FMA): New. Handle FMA4.
(OP_XMM_VexW): Ditto.
(OP_EX_VexW): Ditto.
(VEXI4_Fixup): Ditto.
(VexI4, VexFMA, Vex128FMA, EXVexW, EXdVexW, XMVexW): New Macros.
(PREFIX_VEX_3A5C, PREFIX_VEX_3A5D, PREFIX_VEX_3A5E): New.
(PREFIX_VEX_3A5F, PREFIX_VEX_3A60): New.
(PREFIX_VEX_3A68, PREFIX_VEX_3A69, PREFIX_VEX_3A6A): New.
(PREFIX_VEX_3A6B, PREFIX_VEX_3A6C, PREFIX_VEX_3A6D): New.
(PREFIX_VEX_3A6E, PREFIX_VEX_3A6F, PREFIX_VEX_3A7A): New.
(PREFIX_VEX_3A7B, PREFIX_VEX_3A7C, PREFIX_VEX_3A7D): New.
(PREFIX_VEX_3A7E, PREFIX_VEX_3A7F): New.
(VEX_LEN_3A6A_P_2,VEX_LEN_3A6B_P_2, VEX_LEN_3A6E_P_2): New.
(VEX_LEN_3A6F_P_2,VEX_LEN_3A7A_P_2, VEX_LEN_3A7B_P_2): New.
(VEX_LEN_3A7E_P_2,VEX_LEN_3A7F_P_2): New.
(get_vex_imm8): New. handle FMA4.
(OP_EX_VexReg): Ditto.

15 years ago * lib/java.exp (java_init): Ignore $GCJ if it is empty.
drow [Mon, 6 Jul 2009 19:14:00 +0000 (19:14 +0000)]
* lib/java.exp (java_init): Ignore $GCJ if it is empty.

15 years ago2009-07-06 Joel Sherrill <joel.sherrill@oarcorp.com>
jjohnstn [Mon, 6 Jul 2009 18:59:03 +0000 (18:59 +0000)]
2009-07-06  Joel Sherrill <joel.sherrill@oarcorp.com>

        * libc/include/sys/features.h: Enable UNIX98 mutex attributes
        for RTEMS.

15 years ago* configure.tgt (i[34567]86-*-nto*): Add build_gdbserver=yes.
aristovski [Mon, 6 Jul 2009 18:52:14 +0000 (18:52 +0000)]
* configure.tgt (i[34567]86-*-nto*): Add build_gdbserver=yes.

15 years agogdb/testsuite/
jkratoch [Mon, 6 Jul 2009 18:51:10 +0000 (18:51 +0000)]
gdb/testsuite/
* lib/gdbserver-support.exp (gdbserver_start): Loop spawning
gdbserver increasing $portnum if "Can't bind address" has been seen.

15 years ago Adding Neutrino gdbserver.
aristovski [Mon, 6 Jul 2009 18:31:19 +0000 (18:31 +0000)]
Adding Neutrino gdbserver.
* configure: Regenerated.
* configure.ac: Add case for srv_qnx and set LIBS accordingly.
* configure.srv (i[34567]86-*-nto*): New target.
* nto-low.c, nto-low.h, nto-x86-low.c: New files.
* remote-utils.c [__QNX__]: Include sys/iomgr.h
(nto_comctrl) [__QNX__]: New function.
(enable_async_io, disable_async_io) [__QNX__]: Call nto_comctrl.

15 years agogdb/
jkratoch [Mon, 6 Jul 2009 18:23:47 +0000 (18:23 +0000)]
gdb/
* source.c (find_and_open_source): Remove the `objfile' parameter.
Update the function comment.
(open_source_file, symtab_to_fullname, psymtab_to_fullname): Update the
find_and_open_source callers.

15 years ago * cygtls.h (struct _local_storage): Add thread storage pointers for
corinna [Mon, 6 Jul 2009 15:42:01 +0000 (15:42 +0000)]
* cygtls.h (struct _local_storage): Add thread storage pointers for
memory used by socket select functions.  Combine them into a single
struct select.
* cygtls.cc: Accommodate above change throughout.
(_cygtls::init_thread): Drop initalizing of sockevt to
INVALID_HANDLE_VALUE.
(_cygtls::fixup_after_fork): Reset sockevt to NULL.
(_cygtls::remove): Don't use sockevt value to bail out prematurely.
Set sockevt to NULL.  Free malloced select members.
* select.h (struct select_socket_info): Drop max_w4 member.
* select.cc (thread_socket): Use INFINITE timeout value if number of
objects to wait for is <= MAXIMUM_WAIT_OBJECTS.  Use num_w4 member
of select_socket_info struct rather than dropped max_w4.
(init_tls_select_info): New inline function to initialize TLS select
members.
(start_thread_socket): Just call init_tls_select_info to initialize TLS
select members and use them later on.
(socket_cleanup): Don't free select_socket_info pointer members since
they are thread local now.

15 years ago* dtable.cc (handle_to_fn): Detect failing NtQueryObject.
cgf [Mon, 6 Jul 2009 15:11:29 +0000 (15:11 +0000)]
* dtable.cc (handle_to_fn): Detect failing NtQueryObject.

15 years ago2009-07-06 Tristan Gingold <gingold@adacore.com>
gingold [Mon, 6 Jul 2009 14:45:56 +0000 (14:45 +0000)]
2009-07-06  Tristan Gingold  <gingold@adacore.com>

* objdump.c (dump_dwarf_section): Handle .eh_frame like other dwarf
sections.
* dwarf.h (struct dwarf_section_display): Remove eh_frame field.
* dwarf.c (debug_displays): Adjust for removed field.

15 years ago * ld.texinfo: Fix typo.
nickc [Mon, 6 Jul 2009 13:48:50 +0000 (13:48 +0000)]
    * ld.texinfo: Fix typo.

15 years ago * autoload.cc: Delete stray CR.
corinna [Mon, 6 Jul 2009 10:44:13 +0000 (10:44 +0000)]
* autoload.cc: Delete stray CR.

15 years ago*** empty log message ***
gdbadmin [Mon, 6 Jul 2009 00:01:05 +0000 (00:01 +0000)]
*** empty log message ***

15 years agodaily update
amodra [Mon, 6 Jul 2009 00:00:04 +0000 (00:00 +0000)]
daily update

15 years agoOoops. Fix date.
palves [Sun, 5 Jul 2009 22:58:53 +0000 (22:58 +0000)]
Ooops.  Fix date.

15 years ago * gdb.base/ending-run.exp: Add "step out of main" pattern for
palves [Sun, 5 Jul 2009 22:38:19 +0000 (22:38 +0000)]
* gdb.base/ending-run.exp: Add "step out of main" pattern for
mingw32ce.

15 years ago * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
palves [Sun, 5 Jul 2009 22:21:40 +0000 (22:21 +0000)]
* gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
VFP format.

15 years ago * coff-pe-read.c (read_pe_exported_syms): Recognize
palves [Sun, 5 Jul 2009 22:02:38 +0000 (22:02 +0000)]
* coff-pe-read.c (read_pe_exported_syms): Recognize
"pe-arm-wince-little" and "pei-arm-wince-little" bfd targets as PE
targets.

15 years ago * arm-wince-tdep.c (arm_wince_skip_main_prologue): New.
palves [Sun, 5 Jul 2009 21:23:42 +0000 (21:23 +0000)]
* arm-wince-tdep.c (arm_wince_skip_main_prologue): New.
(arm_wince_init_abi): Register it as gdbarch_skip_main_prologue
callback.

15 years ago * configure.srv (i[34567]86-*-mingw32ce*): Add i386-low.o to
palves [Sun, 5 Jul 2009 19:30:08 +0000 (19:30 +0000)]
* configure.srv (i[34567]86-*-mingw32ce*): Add i386-low.o to
srv_tgtobj.

15 years ago* fhandler_console.cc: Change workstation -> windows station throughout.
cgf [Sun, 5 Jul 2009 16:49:56 +0000 (16:49 +0000)]
* fhandler_console.cc: Change workstation -> windows station throughout.

15 years ago* cygwin-console-helper.cc: New file.
cgf [Sun, 5 Jul 2009 00:01:26 +0000 (00:01 +0000)]
* cygwin-console-helper.cc: New file.

15 years ago*** empty log message ***
gdbadmin [Sun, 5 Jul 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
amodra [Sun, 5 Jul 2009 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago* autoload.cc (SetParent): Add new import.
cgf [Sat, 4 Jul 2009 23:51:09 +0000 (23:51 +0000)]
* autoload.cc (SetParent): Add new import.
* fhandler.h (fhandler_console::create_invisible_console): Declare new
function.
(create_invisible_console_workaround): Ditto.
* fhandler_console.cc (fhandler_console::create_invisible_console): Define new
function.
(create_invisible_console_workaround): Ditto.  Add too much code to deal with
broken Windows 7.  Use a helper app to start an invisible console window.
(fhandler_console::need_invisible): Reorganize to use helper functions to
create invisible console.
* spawn.cc (spawn_guts): Avoid zeroing already zeroed fields in si.

15 years ago * win32-i386-low.c (i386_get_thread_context): Handle systems that
palves [Sat, 4 Jul 2009 18:13:28 +0000 (18:13 +0000)]
* win32-i386-low.c (i386_get_thread_context): Handle systems that
don't support CONTEXT_EXTENDED_REGISTERS.
(i386_win32_breakpoint, i386_win32_breakpoint_len): New.
(the_low_target): Install them.
* win32-low.c (get_child_debug_event): Handle WaitForDebugEvent
failing with ERROR_PIPE_NOT_CONNECTED.

15 years ago * autoload.cc (AttachConsole): Correct size of args.
davek [Sat, 4 Jul 2009 14:51:09 +0000 (14:51 +0000)]
* autoload.cc (AttachConsole):  Correct size of args.

15 years ago*** empty log message ***
eliz [Sat, 4 Jul 2009 12:12:20 +0000 (12:12 +0000)]
*** empty log message ***

15 years ago * gdb.texinfo (GDB/MI Variable Objects): Document child definition
eliz [Sat, 4 Jul 2009 12:12:04 +0000 (12:12 +0000)]
* gdb.texinfo (GDB/MI Variable Objects): Document child definition
in -var-list-children.  Fix example according to what the code
does.

15 years ago * config/tc-cr16.h (TC_LINKRELAX_FIXUP): Set only for code sections.
amodra [Sat, 4 Jul 2009 01:50:43 +0000 (01:50 +0000)]
* config/tc-cr16.h (TC_LINKRELAX_FIXUP): Set only for code sections.

15 years ago*** empty log message ***
gdbadmin [Sat, 4 Jul 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
amodra [Sat, 4 Jul 2009 00:00:09 +0000 (00:00 +0000)]
daily update

15 years ago* dcrt0.cc (jit_debug): New global.
cgf [Fri, 3 Jul 2009 18:05:49 +0000 (18:05 +0000)]
* dcrt0.cc (jit_debug): New global.
(initial_env): Set jit_debug when we are automatically starting a gdb process.
* dtable.cc (dtable::get_debugger_info): Don't tty tricks when we are being
debugged by our own captive gdb, as determined by jit_debug == true.
(dtable::init_std_file_from_handle): Detect errors when initializing a tty
early rather than at random points later.
* fhandler.h (fhandler_*::init): Return int to indicate success/failure.
* fhandler.cc (fhandler_base::init): Reflect change in return value.
* pipe.cc (fhandler_pipe::init): Ditto.
(fhandler_pipe::create_selectable): Don't say we're retrying when we aren't.
* fhandler_console.cc (fhandler_console::init): Ditto.  Return success/failure.
* fhandler_serial.cc (fhandler_serial::init): Ditto.
* fhandler_tty.cc (fhandler_tty_slave::init): Ditto.
(fhandler_tty_slave::open): Make debugging output more detailed.
* tty.cc (tty_list::terminate): Don't close I/O handles before all slaves have
checked in.
(tty::slave_alive): Make a non-inlined function.  Check if tty pipe handles can
be created as an additional exists check.
* tty.h (tty::slave_alive): Just define here.

15 years ago2009-07-03 Cary Coutant <ccoutant@google.com>
davek [Fri, 3 Jul 2009 17:02:43 +0000 (17:02 +0000)]
2009-07-03  Cary Coutant  <ccoutant@google.com>

* dwarf2.c (decode_line_info): Ignore DW_LNE_set_discriminator.

15 years ago2009-07-03 Dave Korn <dave.korn.cygwin@gmail.com>
davek [Fri, 3 Jul 2009 16:07:38 +0000 (16:07 +0000)]
2009-07-03  Dave Korn  <dave.korn.cygwin@gmail.com>

* coffcode.h (sec_to_styp_flags):  Partially revert (functional
changes only) earlier patch:-

  2009-06-25  Kai Tietz  <kai.tietz@onevision.com>

  * coffcode.h (sec_to_styp_flags): Set discardable for .reloc and
  give .debug and .reloc data characteristics.
  (DOT_RELOC): New define for .reloc section string.
  (coff_write_object_contents): Use DOT_RELOC instead of string.

15 years ago * new-features.sgml (ov-new1.7-file): Add fpurge and mkstemps to new
corinna [Fri, 3 Jul 2009 13:06:34 +0000 (13:06 +0000)]
* new-features.sgml (ov-new1.7-file): Add fpurge and mkstemps to new
API functions.

15 years ago * posix.sgml: Add fpurge and mkstemps to BSD list.
corinna [Fri, 3 Jul 2009 13:04:00 +0000 (13:04 +0000)]
* posix.sgml: Add fpurge and mkstemps to BSD list.

15 years ago * cygwin.din (fpurge, mkstemps): New exports.
corinna [Fri, 3 Jul 2009 13:01:15 +0000 (13:01 +0000)]
* cygwin.din (fpurge, mkstemps): New exports.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
* mktemp.cc (_gettemp): Add parameter.
(mkstemps): New function.
(mkstemp, mkdtemp, mktemp): Adjust clients.

15 years ago2009-06-29 Tristan Gingold <gingold@adacore.com>
gingold [Fri, 3 Jul 2009 12:06:30 +0000 (12:06 +0000)]
2009-06-29  Tristan Gingold  <gingold@adacore.com>

* i386-darwin-tdep.c (amd64_darwin_thread_state_reg_offset)
(amd64_darwin_thread_state_num_regs)
(amd64_darwin_sigcontext_addr, x86_darwin_init_abi_64): Moved to
amd64-darwin-tdep.c
(_initialize_i386_darwin_tdep): Remove 64 bits parts.
(darwin_dwarf_signal_frame_p): Make public.
* amd64-darwin-tdep.c: New file with most chunks from
i386-darwin-tdep.c
* i386-darwin-tdep.h: Add a prototype for darwin_dwarf_signal_frame_p.
(amd64_darwin_thread_state_reg_offset)
(amd64_darwin_thread_state_num_regs): Moved to amd64-darwin-tdep.h
* amd64-darwin-tdep.h: New file.
* i386-darwin-nat.c: Only includes amd64-nat.h and amd64-darwin-tdep.h
if BFD64 is defined.
(i386_darwin_fetch_inferior_registers): Add #ifdef BFD64/#endif around
64 bits parts.
(i386_darwin_store_inferior_registers): Ditto.
(darwin_set_sstep): Ditto.
(darwin_complete_target): Ditto.
(amd64_darwin_sstep_at_sigreturn): Ditto.
* configure.tgt: Create a separate entry for x86_64-*-darwin.
Add 64 bits support for i386-*-darwin if --enable-64-bit-bfd.
* Makefile.in (ALLDEPFILES): Add amd64-darwin-tdep.c, darwin-nat.c,
i386-darwin-tdep.c i386-darwin-nat.c
(ALL_64_TARGET_OBS): Add amd64-darwin-tdep.o

15 years agoAdd mkdtemp, mkstemps.
ericb [Fri, 3 Jul 2009 12:03:24 +0000 (12:03 +0000)]
Add mkdtemp, mkstemps.

* libc/stdio/mktemp.c: Fix documentation.
(_gettemp): Add domkdir and length parameters.  Check for
insufficient 'X' suffix.  Drop cygwin-specific code.
(_mkstemp_r, _mktemp_r, mkstemp, mktemp): Adjust clients.
(_mkdtemp_r, _mkstemps_r, mkdtemp, mkstemps): New functions.
* libc/include/stdlib.h (_mkdtemp_r, _mkstemps_r, mkdtemp)
(mkstemps): Declare them.

15 years agoAdd fpurge.
ericb [Fri, 3 Jul 2009 11:58:00 +0000 (11:58 +0000)]
Add fpurge.

* libc/stdio/fpurge.c (fpurge, _fpurge_r): New file.
* libc/stdio/Makefile.am (ELIX_4_SOURCES, CHEWOUT_FILES, fpurge):
Build it.
* libc/stdio/Makefile.in: Regenerated.
* libc/include/stdio.h (fpurge, _fpurge_r): New declarations.
* libc/stdio/stdio.tex: Build documentation.

15 years ago * autoload.cc: Fix typo in comment.
corinna [Fri, 3 Jul 2009 10:50:51 +0000 (10:50 +0000)]
* autoload.cc: Fix typo in comment.
(ShowWindowAsync): Define.
(AttachConsole): Define.
* fhandler_console.cc (fhandler_console::need_invisible): Add band-aid
for Windows 7 AllocConsole bug.

15 years ago2009-07-03 Tristan Gingold <gingold@adacore.com>
gingold [Fri, 3 Jul 2009 10:44:57 +0000 (10:44 +0000)]
2009-07-03  Tristan Gingold  <gingold@adacore.com>

* scripttempl/pep.sc: Put .eh_frame in its own section.
* scripttempl/pe.sc: Ditto.

15 years ago * dwarf2.h (enum dwarf_location_atom): Add DW_OP_implicit_value
jakub [Fri, 3 Jul 2009 08:53:49 +0000 (08:53 +0000)]
* dwarf2.h (enum dwarf_location_atom): Add DW_OP_implicit_value
and DW_OP_stack_value.

* dwarf.c (decode_location_expression): Handle DW_OP_stack_value
and DW_OP_implicit_value.