OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
14 years agoFix a typo.
hjl [Mon, 13 Jul 2009 16:55:09 +0000 (16:55 +0000)]
Fix a typo.

14 years ago2009-07-13 H.J. Lu <hongjiu.lu@intel.com>
hjl [Mon, 13 Jul 2009 16:52:36 +0000 (16:52 +0000)]
2009-07-13  H.J. Lu  <hongjiu.lu@intel.com>

* ld-ifunc/ifunc.exp: Don't use -shared/-static to build object
files.  Use ld_simple_link to build static non-ifunc-using
executable.  Re-enable static non-ifunc-using executable check.

14 years ago * decode.scm: Comment and formatting tweaks.
devans [Mon, 13 Jul 2009 15:56:04 +0000 (15:56 +0000)]
* decode.scm: Comment and formatting tweaks.
(-build-decode-table-guts): Add more data to logging message.

14 years ago * cygcheck.cc (dump_sysinfo): Remove "not yet supported" text.
corinna [Mon, 13 Jul 2009 10:40:41 +0000 (10:40 +0000)]
* cygcheck.cc (dump_sysinfo): Remove "not yet supported" text.

14 years agoAdd process recording support to the moxie gdb port.
green [Mon, 13 Jul 2009 04:56:12 +0000 (04:56 +0000)]
Add process recording support to the moxie gdb port.

14 years agodaily update
amodra [Mon, 13 Jul 2009 00:00:05 +0000 (00:00 +0000)]
daily update

14 years ago*** empty log message ***
gdbadmin [Mon, 13 Jul 2009 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

14 years ago2009-07-12 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
ironhead [Sun, 12 Jul 2009 23:02:10 +0000 (23:02 +0000)]
2009-07-12  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * mingwex/stdio/pformat.c: Fix compiler warnings with GCC 4.4.0.

14 years ago2009-06-28 Ozkan Sezer <sezero@users.sourceforge.net>
ironhead [Sun, 12 Jul 2009 22:44:36 +0000 (22:44 +0000)]
2009-06-28  Ozkan Sezer  <sezero@users.sourceforge.net>

        * mingwex/gdtoa/README.mingw mingwex/gdtoa/gdtoa_fltrnds.h: New files.
        * mingwex/gdtoa/README mingwex/gdtoa/dmisc.c mingwex/gdtoa/dtoa.c
        mingwex/gdtoa/g__fmt.c mingwex/gdtoa/g_dfmt.c mingwex/gdtoa/g_ffmt.c
        mingwex/gdtoa/g_xfmt.c mingwex/gdtoa/gd_arith.h mingwex/gdtoa/gd_qnan.h
        mingwex/gdtoa/gdtoa.c mingwex/gdtoa/gdtoa.h mingwex/gdtoa/gdtoaimp.h
        mingwex/gdtoa/gethex.c mingwex/gdtoa/gmisc.c mingwex/gdtoa/hd_init.c
        mingwex/gdtoa/hexnan.c mingwex/gdtoa/misc.c mingwex/gdtoa/qnan.c
        mingwex/gdtoa/smisc.c mingwex/gdtoa/strtodg.c mingwex/gdtoa/strtodnrp.c
        mingwex/gdtoa/strtof.c mingwex/gdtoa/strtopx.c mingwex/gdtoa/sum.c
        mingwex/gdtoa/ulp.c:  Update the gdtoa library to match the netlib.org
        sources as of Apr. 20, 2009.  Update further to match the sources in
        the mingw-w64 tree as of June 28, 2009, by removing IBM, CRAY and VAX
        code, removing KR_headers, ANSI, Void and Char ifdefs, renaming the
        double/ulong union from U to dbl_union for better grepping and white-
        space tidy-ups.

14 years ago* how-spawn-works.txt: Add "out of date" note.
cgf [Sun, 12 Jul 2009 21:26:40 +0000 (21:26 +0000)]
* how-spawn-works.txt: Add "out of date" note.
* how-vfork-works.txt: Ditto.

14 years ago* Makefile.in: Don't do anything special with any RCS directories.
cgf [Sun, 12 Jul 2009 21:15:46 +0000 (21:15 +0000)]
* Makefile.in: Don't do anything special with any RCS directories.
* ntdll.h (PROCESSINFOCLASS): Remove unneeded trailing comma.
* pinfo.cc (_pinfo::dup_proc_pipe): Remove unneeded assignment.
* sigproc.cc (sig_send): Don't send signal to myself if this is an exec stub.

14 years ago * Makefile.am (cpudir): Define.
devans [Sun, 12 Jul 2009 17:48:44 +0000 (17:48 +0000)]
* Makefile.am (cpudir): Define.
(cgen-m32r): Use src/cpu/m32r.cpu instead of src/cgen/cpu/m32r.cpu.
* Makefile.in: Regenerate.

14 years ago2009-07-12 Michael Snyder <msnyder@vmware.com>
msnyder [Sun, 12 Jul 2009 17:46:21 +0000 (17:46 +0000)]
2009-07-12  Michael Snyder  <msnyder@vmware.com>

* i386-tdep.c: Add a frame unwinder for function epilogues.
(i386_in_function_epilogue_p): New function.
(i386_epilogue_frame_sniffer): New function.
(i386_epilogue_frame_cache): New function.
(i386_epilogue_frame_this_id): New function.
(i386_epilogue_frame_unwind): New struct frame_unwind.
(i386_gdbarch_init): Hook the new unwinder.

14 years ago* common/Make-common.in (CPU_DIR): Define.
devans [Sun, 12 Jul 2009 16:59:34 +0000 (16:59 +0000)]
* common/Make-common.in (CPU_DIR): Define.
* iq2000/Makefile.in (stamp-arch): Use $(CPU_DIR) instead of $(CGEN_CPU_DIR).
(stamp-cpu): Ditto.
* m32r/Makefile.in (stamp-arch): Use $(CPU_DIR) instead of $(CGEN_CPU_DIR).
(stamp-cpu, stamp-xcpu, stamp-2cpu): Ditto.

14 years agoAdd xc16x back until opcodes is updated.
devans [Sun, 12 Jul 2009 16:23:37 +0000 (16:23 +0000)]
Add xc16x back until opcodes is updated.

14 years ago * fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Don't use
corinna [Sun, 12 Jul 2009 13:00:35 +0000 (13:00 +0000)]
* fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Don't use
FileAllInformation info class since it needs a big buffer.  Add a
comment.

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

14 years ago*** empty log message ***
gdbadmin [Sun, 12 Jul 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

14 years agoThis is the part of prev commit.
teawater [Sat, 11 Jul 2009 14:41:38 +0000 (14:41 +0000)]
This is the part of prev commit.

14 years ago2009-07-11 Hui Zhu <teawater@gmail.com>
teawater [Sat, 11 Jul 2009 14:11:24 +0000 (14:11 +0000)]
2009-07-11  Hui Zhu  <teawater@gmail.com>

* gdb.base/help.exp (disassemble): Update expected help text.

14 years ago2009-07-11 Hui Zhu <teawater@gmail.com>
teawater [Sat, 11 Jul 2009 14:09:16 +0000 (14:09 +0000)]
2009-07-11  Hui Zhu  <teawater@gmail.com>

* gdb.texinfo (disassemble): Add a new modifier /r
to "disassemble" command to make it print the raw instructions
in hex as well as in symbolic form.

14 years ago2009-07-11 Hui Zhu <teawater@gmail.com>
teawater [Sat, 11 Jul 2009 14:04:22 +0000 (14:04 +0000)]
2009-07-11  Hui Zhu  <teawater@gmail.com>

* cli/cli-cmds.c (disassemble_command): Add a new modifier /r
to "disassemble" command to print the raw instructions in hex as
well as in symbolic form.
(init_cli_cmds): Ditto.
(print_disassembly): Change "mixed" to "flags" to translate
the behavior of disassemble.
(disassemble_current_function): Ditto.
* mi/mi-cmd-disas.c (mi_cmd_disassemble): Ditto.
* stack.c (gdb_disassembly_stub): Ditto.
* disasm.c (do_mixed_source_and_assembly): Ditto.
(do_mixed_source_and_assembly): Ditto.
(do_assembly_only): Ditto.
(gdb_disassembly): Ditto.
(dump_insns): print the raw instructions in hex as well as in
symbolic form if DISASSEMBLY_RAW_INSN and flags is true.
* disasm.h (DISASSEMBLY_SOURCE): Include source code with the
assembly if it and flags is true.
(DISASSEMBLY_RAW_INSN): Include the raw instructions in hex with
the assembly if it and flags is true.
(gdb_disassembly): Update extern.
* NEWS: Document disassemble/r support.

14 years ago * ldlang.c (insert_os_after): Don't tie assignments to non-alloc
amodra [Sat, 11 Jul 2009 00:10:29 +0000 (00:10 +0000)]
* ldlang.c (insert_os_after): Don't tie assignments to non-alloc
output sections.

14 years agodaily update
amodra [Sat, 11 Jul 2009 00:00:05 +0000 (00:00 +0000)]
daily update

14 years ago*** empty log message ***
gdbadmin [Sat, 11 Jul 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

14 years ago * gdbint.texinfo (Testsuite): Document parallel make check.
tromey [Fri, 10 Jul 2009 19:38:00 +0000 (19:38 +0000)]
* gdbint.texinfo (Testsuite): Document parallel make check.

14 years ago2009-07-10 H.J. Lu <hongjiu.lu@intel.com>
hjl [Fri, 10 Jul 2009 19:31:53 +0000 (19:31 +0000)]
2009-07-10  H.J. Lu  <hongjiu.lu@intel.com>

* ld-ifunc/ifunc.exp: Don't chck static non-ifunc-using
executable.

14 years agogdb/doc
tromey [Fri, 10 Jul 2009 18:48:40 +0000 (18:48 +0000)]
gdb/doc
* gdbint.texinfo (Testsuite): Document test transcripts.
gdb/testsuite
* lib/gdb.exp: Handle TRANSCRIPT.
(remote_spawn, remote_close, send_gdb): New procs.

14 years ago2009-07-10 H.J. Lu <hongjiu.lu@intel.com>
hjl [Fri, 10 Jul 2009 18:38:26 +0000 (18:38 +0000)]
2009-07-10  H.J. Lu  <hongjiu.lu@intel.com>

* bfdio.c (bfd_iovec): Add comments for bmmap.
* bfd-in2.h: Regenerated.

14 years agobfd/
hjl [Fri, 10 Jul 2009 18:26:57 +0000 (18:26 +0000)]
bfd/

2009-07-10  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerated.

binutils/

2009-07-10  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerated.

gas/

2009-07-10  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerated.

14 years ago2009-07-10 Doug Kwan <dougkwan@google.com>
dougkwan [Fri, 10 Jul 2009 16:58:53 +0000 (16:58 +0000)]
2009-07-10  Doug Kwan  <dougkwan@google.com>

* arm-disc.c (print_insn_coprocessor, print_insn_arm):  Print only
lower 32 bits of long types to make hexadecimal output consistent
on both 32-bit and 64-bit hosts.

14 years ago2009-07-10 Doug Kwan <dougkwan@google.com>
dougkwan [Fri, 10 Jul 2009 16:56:15 +0000 (16:56 +0000)]
2009-07-10  Doug Kwan  <dougkwan@google.com>

* elf32-arm.c (stub_hash_newfunc): Initialize fields
target_addend and orig_insn.

14 years agobfd
tromey [Fri, 10 Jul 2009 15:26:55 +0000 (15:26 +0000)]
bfd
* Makefile.am (dwarf2.lo): Use dwarf2.h, not elf/dwarf2.h.
(elf-eh-frame.lo): Likewise.
(elf32-bfin.lo): Likewise.
(elf32-frv.lo): Likewise.
(elf32-xc16x.lo): Likewise.
* Makefile.in: Rebuild.
* dwarf2.c: Included dwarf.h, not elf/dwarf2.h.
* elf-eh-frame.c: Likewise.
* elf32-bfin.c: Likewise.
* elf32-frv.c: Likewise.
* elf32-xc16x.c: Likewise.
binutils
* Makefile.am (dwarf.o): Refer to dwarf2.h, not elf/dwarf2.h.
* Makefile.in: Rebuild.
* dwarf.c: Include dwarf2.h, not elf/dwarf2.h.
gas
* Makefile.am (DEPTC_alpha_ecoff): Refer to dwarf2.h, not
elf/dwarf2.h.
(DEPTC_alpha_elf): Likewise.
(DEPTC_alpha_evax): Likewise.
(DEPTC_arm_elf): Likewise.
(DEPTC_hppa_elf): Likewise.
(DEPTC_i386_aout): Likewise.
(DEPTC_i386_coff): Likewise.
(DEPTC_i386_elf): Likewise.
(DEPTC_m68k_aout): Likewise.
(DEPTC_m68k_coff): Likewise.
(DEPTC_m68k_elf): Likewise.
(DEPTC_mips_coff): Likewise.
(DEPTC_mips_ecoff): Likewise.
(DEPTC_mips_elf): Likewise.
(DEPTC_ppc_coff): Likewise.
(DEPTC_ppc_elf): Likewise.
(DEPTC_s390_elf): Likewise.
(DEPTC_sh_coff): Likewise.
(DEPTC_sh_elf): Likewise.
(DEPTC_sh64_elf): Likewise.
(DEPTC_sparc_aout): Likewise.
(DEPTC_sparc_coff): Likewise.
(DEPTC_sparc_elf): Likewise.
(as.o): Likewise.
(dwarf2dbg.o): Likewise.
(dw2gencfi.o): Likewise.
(ehopt.o): Likewise.
(read.o): Likewise.
* Makefile.in: Rebuild.
* dw2gencfi.h: Include dwarf2.h, not elf/dwarf2.h.
* dwarf2dbg.c: Likewise.
* ehopt.c: Likewise.
gdb
* dwarf2-frame.c: Include dwarf2.h, not elf/dwarf2.h.
* dwarf2expr.c: Likewise.
* dwarf2loc.c: Likewise.
* dwarf2read.c: Likewise.
* sh-tdep.c: Likewise.
* xtensa-tdep.c: Likewise.
include
* dwarf2.h: New file, moved from elf/.
include/elf

* dwarf2.h: Move to `..'.

14 years ago * elf32-arm.c (arm_build_one_stub): Use the hash entry of the
jules [Fri, 10 Jul 2009 14:57:00 +0000 (14:57 +0000)]
* elf32-arm.c (arm_build_one_stub): Use the hash entry of the
symbol a stub entry is derived from, not the entry for the stub
itself, in call to elf32_arm_final_link_relocate.

14 years ago2009-07-10 H.J. Lu <hongjiu.lu@intel.com>
hjl [Fri, 10 Jul 2009 14:47:16 +0000 (14:47 +0000)]
2009-07-10  H.J. Lu  <hongjiu.lu@intel.com>

* dwarf2.h: Just include ../dwarf2.h.

14 years ago2009-07-10 H.J. Lu <hongjiu.lu@intel.com>
hjl [Fri, 10 Jul 2009 14:30:20 +0000 (14:30 +0000)]
2009-07-10  H.J. Lu  <hongjiu.lu@intel.com>

* ld-ifunc/ifunc-1-local-x86.d: Updated.
* ld-ifunc/ifunc-1-x86.d: Likewise.
* ld-ifunc/ifunc-3a-x86.d: Likewise.

14 years agoRegenerate.
amodra [Fri, 10 Jul 2009 14:20:38 +0000 (14:20 +0000)]
Regenerate.

14 years agogdb/
jkratoch [Fri, 10 Jul 2009 14:18:12 +0000 (14:18 +0000)]
gdb/
Tidy up the code.
* mi/mi-cmd-var.c (mi_cmd_var_update): Remove variable nv.  Move
variables var, rootlist and cr to their local sub-block.  Move the
make_cleanup_ui_out_tuple_begin_end, make_cleanup_ui_out_list_begin_end
and do_cleanups calls to the common base block.  Remove the zero NV
check.

14 years agobfd/
hjl [Fri, 10 Jul 2009 14:03:01 +0000 (14:03 +0000)]
bfd/

2009-07-10  H.J. Lu  <hongjiu.lu@intel.com>

* elf.c (_bfd_elf_get_synthetic_symtab): Remove leading zeros
when reporting  addends.

ld/testsuite/

2009-07-10  H.J. Lu  <hongjiu.lu@intel.com>

* ld-ifunc/ifunc-1-local-x86.d: Updated.
* ld-ifunc/ifunc-1-x86.d: Likewise.Likewise.
* ld-ifunc/ifunc-2-local-x86-64.d: Likewise.Likewise.
* ld-ifunc/ifunc-2-x86-64.d: Likewise.
* ld-ifunc/ifunc-3a-x86.d: Likewise.Likewise.

14 years ago * elf32-spu.c (spu_elf_size_stubs): Do set up soft-icache manager
amodra [Fri, 10 Jul 2009 14:00:37 +0000 (14:00 +0000)]
* elf32-spu.c (spu_elf_size_stubs): Do set up soft-icache manager
data even when no stubs.
(spu_elf_place_overlay_data, spu_elf_build_stubs): Adjust.

14 years ago * emultempl/ppc32elf.em (ppc_before_allocation): Turn on
amodra [Fri, 10 Jul 2009 12:29:40 +0000 (12:29 +0000)]
* emultempl/ppc32elf.em (ppc_before_allocation): Turn on
linker relaxation if it might be necessary.

14 years agoSTT_GNU_IFUNC support for PowerPC.
amodra [Fri, 10 Jul 2009 12:19:55 +0000 (12:19 +0000)]
STT_GNU_IFUNC support for PowerPC.

14 years ago2009-07-10 Phil Muldoon <pmuldoon@redhat.com>
pmuldoon [Fri, 10 Jul 2009 10:35:15 +0000 (10:35 +0000)]
2009-07-10 Phil Muldoon  <pmuldoon@redhat.com>

* python/python-internal.h (apply_varobj_pretty_printer): Update
definition.
(python_string_to_target_python_string): Add definition.
* python/python-utils.c (unicode_to_encoded_python_string)
(unicode_to_target_python_string)
(python_string_to_target_python_string): New Functions.
* python/python-prettyprint.c (pretty_print_one_value): Likewise.
(print_string_repr): Refactor to logic to account for PyObject
returned strings.
(apply_varobj_pretty_printer): Likewise.
* python/python-value.c (valpy_string): Parse length keyword. Use
length keyword in LA_GET_STRING.
* varobj.c (value_get_print_value): Refactor logic to account for
PyObject returned strings.
* c-lang.c (c_get_string): If the length parameter is specified,
use that. Return value in characters. Update comments.
* language.h: Update c_get_string prototype comments.

2009-07-10  Phil Muldoon  <pmuldoon@redhat.com>

* gdb.texinfo (Values From Inferior): Add length parameter
description.

2009-07-10 Phil Muldoon  <pmuldoon@redhat.com>

* gdb.python/python-prettyprint.c: Add counted null string
structure.
* gdb.python/python-prettyprint.exp: Print null string. Test for
embedded nulls.
* gdb.python/python-prettyprint.py (pp_ns): New Function.
* gdb.python/python-value.exp (test_value_in_inferior): Add
variable length string fetch tests.
* gdb.python/python-value.c (main): Add strings for string fetch tests.

14 years ago * elf.c (_bfd_elf_get_synthetic_symtab): Report addends.
amodra [Fri, 10 Jul 2009 10:33:18 +0000 (10:33 +0000)]
* elf.c (_bfd_elf_get_synthetic_symtab): Report addends.

14 years ago * elf-bfd.h (struct elf_link_hash_entry): Clarify ref_regular
amodra [Fri, 10 Jul 2009 10:04:18 +0000 (10:04 +0000)]
* elf-bfd.h (struct elf_link_hash_entry): Clarify ref_regular
and ref_regular_nonweak comment.
* elflink.c (elf_link_output_extsym): Special case ifunc syms
when def_regular, not ref_regular.
(elf_link_add_object_symbols): Don't set needs_plt on ifunc syms,..
* elf32-i386.c (elf_i386_check_relocs): ..set it here instead..
* elf64-x86-64.c (elf64_x86_64_check_relocs): ..and here.

14 years ago * utils-sim.scm (-gen-decode-bits): New argument `entire-val'.
devans [Fri, 10 Jul 2009 03:32:31 +0000 (03:32 +0000)]
* utils-sim.scm (-gen-decode-bits): New argument `entire-val'.
All callers updated.  Work around -ve shifts by referencing the
entire value.

14 years ago * utils.scm (message): Handle pairs.
devans [Fri, 10 Jul 2009 03:20:14 +0000 (03:20 +0000)]
* utils.scm (message): Handle pairs.

14 years agodaily update
amodra [Fri, 10 Jul 2009 00:00:05 +0000 (00:00 +0000)]
daily update

14 years ago*** empty log message ***
gdbadmin [Fri, 10 Jul 2009 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

14 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.

14 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.

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

14 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.

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

14 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>).

14 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.

14 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.

14 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.

14 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.

14 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.

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

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

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

14 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.

14 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.

14 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.

14 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.

14 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.

14 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.

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

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

14 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.

14 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.

14 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.

14 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.

14 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.

14 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.

14 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.

14 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.

14 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.

14 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.

14 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.

14 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.

14 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.

14 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.

14 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.

14 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.

14 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.

14 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.

14 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.

14 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.

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

14 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.

14 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.

14 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.

14 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.

14 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.

14 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.

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

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