From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11548 invoked by alias); 6 Feb 2011 19:35:32 -0000 Mailing-List: contact archer-commits-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: Received: (qmail 11026 invoked by uid 9674); 6 Feb 2011 19:35:30 -0000 Date: Sun, 06 Feb 2011 19:35:00 -0000 Message-ID: <20110206193529.10989.qmail@sourceware.org> From: jkratoch@sourceware.org To: archer-commits@sourceware.org Subject: [SCM] archer-jankratochvil-watchpoint3: Merge branch 'cleanup-fork-multi-kernel' into archer-jankratochvil-watchpoint3 X-Git-Refname: refs/heads/archer-jankratochvil-watchpoint3 X-Git-Reftype: branch X-Git-Oldrev: 76e9512743cb5a41dc9b7f4bbd9819be407cccc5 X-Git-Newrev: 2229972115f84399b763d880cca0969d5f766e62 X-SW-Source: 2011-q1/txt/msg00084.txt.bz2 List-Id: The branch, archer-jankratochvil-watchpoint3 has been updated via 2229972115f84399b763d880cca0969d5f766e62 (commit) via 9d5557be68825c469774a637d1ca02fd8a431bb0 (commit) via 1f46af4074f3fa8e9522bc0484234d50873ebe1d (commit) via 7e53d34f29a4bdd81f8424aacbe1872b9c5f5757 (commit) via a38de42d3d1809b23daebb72c2097a3990736d68 (commit) via 6cc9eccba82c77b31c156b0c0391090d26a4d38d (commit) via ab2ac0a44dadbddb0a68c3b1a6780eb494d44dd6 (commit) via d948934f0203bf0665b4fd9e95f2d1848891b71d (commit) via 92ee4c816f095f8317d58f431022cfe55e331dbb (commit) via 9b725910d746f500e31d6c6a3fa60cf37aae985b (commit) via 167ff15ea4b4885cf5905ddaed706b99163ca828 (commit) via 526b6892295c060bfca99008bb3b45d2c5f70862 (commit) via 44b38307aa68837416a52d965f14242e9d21bd1e (commit) via fc7a5cdb2a03795e7a9f6590330c5a1019f1b90f (commit) via c16351a48f04db84a98d2c3ae022f15149eda0df (commit) via dfaf14086e58b86ce945b9d51026b2e9d2af5053 (commit) via 40b3ea7303780e873c1b35002ee288e80bdcfae7 (commit) via 2da4355e0fc7ff79b16dbba9d79783cf96e50ec7 (commit) via 8939062d83880f1d9da3988a2e4066814ec30fc5 (commit) via 003cb3107fe4c84a6c05ba69a1c82aae8f427fa4 (commit) via acc931bef4cae0b9cc35751bbff1b2e1b1d84c23 (commit) via ad6a084ed88e4d8b4376e625060a17853e1d5b33 (commit) via 32688ec2a26c24094f0033874f05f1a63646c391 (commit) via 961b2121d701119c6c8936385a8db5e482a5b247 (commit) via 507759f37262afc670bbf18225300b11f8b116f5 (commit) via 4bec1ce565b273a7df3bb2a776b4e209636cc952 (commit) via c0319cf84fe05c5a0b77ca97c380ea07fca5b2cc (commit) via f160e5c4182410edebc60551d1843bfa8fcae678 (commit) via f1582bd54c160a70ac2f3f76910d0bc7f13d6f3b (commit) via b0efaeca545c99749589a680da5b2b1315f5026f (commit) via 28a2be073a317abb4b74da543fbbfba15790cd3b (commit) via cb436fe3c74cb457292b2b3708eea8e3b0662819 (commit) via abece3004d9eee7f8169c8754e1ff6572509780f (commit) via be13bb8aedf78660eeeec80ffecc718295da05ee (commit) via 93bda8ae0c6a760a7f6c2296e408fe765e1ca6ee (commit) via c08dcfa2035a1313df3cc865a6d8f6e7cbd8c7ac (commit) via 443c1710b16276c92ca17efd65b8d9b2a553f362 (commit) via 3c682556be34879ef07d4e084e089af206f712bf (commit) via e4941aa858b64bb0d3d1687c3cb7530ac497645d (commit) via 1c0683b0c9850ec358e3620edabc7a1b8d716437 (commit) via 8b3af95e3ed31b3dcf54ca1d3aa5ab12b009acf1 (commit) via 257fa63a119a5c76c1272096d9b347dac736a047 (commit) via ae257167dce6e586b1bc133113c5fc0b0bb16a79 (commit) via febdcd0ab5e6683c579db6b6a4d879e12f4f8f68 (commit) via 42b79dd04365f5314d612cbbd024eef4998ed33b (commit) via f6aba9259080ebccea08c6e1a45256b307721117 (commit) via fca35f4056319f80cf589fab42d1a0f1703f477d (commit) via 739571cc3151651f49f7171cfd98275d983bfaaa (commit) via d146488d02d0e3c294bfa31dc5f90b4af182e37d (commit) via 5a97c75134f8872ba2ea7f402d4574eb9ef99a63 (commit) via f08414ea2993e4207ec4d3bdc81c1b524699fe8a (commit) via b6a3bbda5068fc589f3b8abf9863cd35ee928d56 (commit) via e9808f1c14f294a35c8176bab61e1c013de0236c (commit) via 6755a5598165f19919e8ce081132d68de27e53a2 (commit) via b9353643361cce6871a3bffe4cde4ba58eb49769 (commit) via 7d2efa9dd1a77102f6af882636d88986ec115aa7 (commit) via 373852c3f7c9bf8ca8b5d41cf5d2618229f40179 (commit) via 16d03c1b227e42f5870d8d2e74a4580b368868ac (commit) via cb33aaacb36247a46ae53153af684435df63b55f (commit) via 0c251f1b445cb0c3047f0dde658c376b25cf3d96 (commit) via 66978410554d7ae79de83fd5d9a3c4c710fb60db (commit) via 8a49b5a7e8b2f5425cf1181731dc0b2ca0ef639c (commit) via 02d806bdfd57dd87d74523f779a326ce3ecb63d6 (commit) via cef1209d593d9175096b985e4621beaa36915651 (commit) from 76e9512743cb5a41dc9b7f4bbd9819be407cccc5 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email. - Log ----------------------------------------------------------------- commit 2229972115f84399b763d880cca0969d5f766e62 Merge: 9d5557b 1f46af4 Author: Jan Kratochvil Date: Sun Feb 6 20:35:23 2011 +0100 Merge branch 'cleanup-fork-multi-kernel' into archer-jankratochvil-watchpoint3 commit 9d5557be68825c469774a637d1ca02fd8a431bb0 Merge: 76e9512 ab2ac0a Author: Jan Kratochvil Date: Sun Feb 6 20:35:13 2011 +0100 Merge remote-tracking branch 'origin/master' into archer-jankratochvil-watchpoint3 Conflicts: gdb/breakpoint.c commit 1f46af4074f3fa8e9522bc0484234d50873ebe1d Merge: bccb677 7e53d34 Author: Jan Kratochvil Date: Sun Feb 6 20:34:53 2011 +0100 Merge branch 'cleanup-fork-multi' into cleanup-fork-multi-kernel commit 7e53d34f29a4bdd81f8424aacbe1872b9c5f5757 Merge: 9681590 a38de42 Author: Jan Kratochvil Date: Sun Feb 6 20:33:32 2011 +0100 Merge branch 'cleanup-fork' into cleanup-fork-multi Conflicts: gdb/breakpoint.c commit a38de42d3d1809b23daebb72c2097a3990736d68 Merge: 7b90fcd 6cc9ecc Author: Jan Kratochvil Date: Sun Feb 6 20:31:25 2011 +0100 Merge branch 'cleanup' into cleanup-fork commit 6cc9eccba82c77b31c156b0c0391090d26a4d38d Merge: 8861b1a ab2ac0a Author: Jan Kratochvil Date: Sun Feb 6 20:31:21 2011 +0100 Merge remote-tracking branch 'origin/master' into cleanup ----------------------------------------------------------------------- Summary of changes: ChangeLog | 7 + bfd/ChangeLog | 7 + bfd/elf64-ppc.c | 33 +- bfd/version.h | 2 +- configure | 44 ++- configure.ac | 44 ++- gdb/ChangeLog | 277 +++++++++ gdb/Makefile.in | 68 +++- gdb/NEWS | 18 + gdb/ada-operator.def | 99 ++++ gdb/ada-operator.inc | 102 ---- gdb/aix-thread.c | 63 ++- gdb/arm-linux-nat.c | 22 +- gdb/arm-tdep.c | 864 +++++++++++++++++++++++++++-- gdb/breakpoint.c | 87 +++- gdb/breakpoint.h | 17 +- gdb/c-valprint.c | 3 +- gdb/command.h | 2 + gdb/configure | 105 +++-- gdb/configure.ac | 68 ++- gdb/data-directory/Makefile.in | 3 +- gdb/disasm.c | 21 +- gdb/doc/ChangeLog | 10 + gdb/doc/gdb.texinfo | 131 +++++- gdb/doc/gdbint.texinfo | 24 +- gdb/dwarf2read.c | 67 ++- gdb/expprint.c | 219 ++------ gdb/expression.h | 333 +----------- gdb/i386gnu-nat.c | 4 +- gdb/infcmd.c | 2 +- gdb/inflow.c | 2 +- gdb/jit.c | 199 +++++--- gdb/m32r-tdep.c | 2 +- gdb/memory-map.c | 8 +- gdb/mips-linux-tdep.c | 39 ++ gdb/opencl-lang.c | 12 +- gdb/osdata.c | 4 +- gdb/python/py-bpevent.c | 52 ++ gdb/python/py-breakpoint.c | 9 +- gdb/python/py-continueevent.c | 53 ++ gdb/python/py-event.c | 175 ++++++ gdb/python/py-event.h | 121 ++++ gdb/python/py-events.h | 59 ++ gdb/python/py-evtregistry.c | 170 ++++++ gdb/python/py-evts.c | 71 +++ gdb/python/py-exitedevent.c | 71 +++ gdb/python/py-inferior.c | 63 ++- gdb/python/py-signalevent.c | 53 ++ gdb/python/py-stopevent.c | 92 +++ gdb/python/py-stopevent.h | 37 ++ gdb/python/py-threadevent.c | 78 +++ gdb/python/python-config.py | 34 +- gdb/python/python-internal.h | 36 +- gdb/python/python.c | 11 + gdb/regcache.c | 28 +- gdb/remote.c | 9 +- gdb/solib-target.c | 8 +- gdb/std-operator.def | 327 +++++++++++ gdb/syscalls/mips-n32-linux.xml | 319 +++++++++++ gdb/syscalls/mips-n64-linux.xml | 312 +++++++++++ gdb/syscalls/mips-o32-linux.xml | 347 ++++++++++++ gdb/testsuite/ChangeLog | 52 ++ gdb/testsuite/gdb.base/catch-syscall.exp | 3 +- gdb/testsuite/gdb.base/disasm-end-cu-1.c | 28 + gdb/testsuite/gdb.base/disasm-end-cu-2.c | 28 + gdb/testsuite/gdb.base/disasm-end-cu.exp | 49 ++ gdb/testsuite/gdb.base/interact.exp | 21 +- gdb/testsuite/gdb.base/jit-main.c | 203 +++++++ gdb/testsuite/gdb.base/jit-solib.c | 22 + gdb/testsuite/gdb.base/jit.exp | 102 ++++ gdb/testsuite/gdb.cp/nsnested.cc | 36 ++ gdb/testsuite/gdb.cp/nsnested.exp | 42 ++ gdb/testsuite/gdb.cp/nsnoimports.cc | 37 ++ gdb/testsuite/gdb.cp/nsnoimports.exp | 61 ++ gdb/testsuite/gdb.cp/virtbase.cc | 31 + gdb/testsuite/gdb.cp/virtbase.exp | 15 + gdb/testsuite/gdb.opencl/convs_casts.exp | 4 +- gdb/testsuite/gdb.opencl/datatypes.exp | 4 +- gdb/testsuite/gdb.opencl/operators.exp | 4 +- gdb/testsuite/gdb.opencl/vec_comps.exp | 4 +- gdb/testsuite/gdb.python/py-events.c | 29 + gdb/testsuite/gdb.python/py-events.exp | 59 ++ gdb/testsuite/gdb.python/py-events.py | 64 +++ gdb/testsuite/gdb.python/py-evthreads.c | 55 ++ gdb/testsuite/gdb.python/py-evthreads.exp | 119 ++++ gdb/top.c | 20 +- gdb/tracepoint.c | 2 +- gdb/version.in | 2 +- gdb/xml-support.c | 18 +- gdb/xml-support.h | 6 + gdb/xml-tdesc.c | 41 +- include/opcode/ChangeLog | 5 + include/opcode/tic6x-opcode-table.h | 8 +- include/opcode/tic6x.h | 3 +- libiberty/ChangeLog | 19 + libiberty/bsearch.c | 4 +- libiberty/concat.c | 8 +- libiberty/crc32.c | 5 +- libiberty/fnmatch.txh | 3 +- libiberty/fopen_unlocked.c | 11 +- libiberty/functions.texi | 328 +++++++----- libiberty/gather-docs | 6 +- libiberty/hashtab.c | 6 +- libiberty/insque.c | 3 +- libiberty/make-relative-prefix.c | 3 +- libiberty/memchr.c | 3 +- libiberty/memcmp.c | 3 +- libiberty/memcpy.c | 3 +- libiberty/memmem.c | 5 +- libiberty/memmove.c | 3 +- libiberty/mempcpy.c | 5 +- libiberty/memset.c | 3 +- libiberty/pexecute.txh | 40 +- libiberty/random.c | 3 +- libiberty/setenv.c | 6 +- libiberty/setproctitle.c | 4 +- libiberty/simple-object.txh | 45 ++- libiberty/snprintf.c | 5 +- libiberty/splay-tree.c | 16 +- libiberty/stpncpy.c | 5 +- libiberty/strncmp.c | 3 +- libiberty/strtod.c | 5 +- libiberty/strtol.c | 6 +- libiberty/vasprintf.c | 5 +- libiberty/vprintf.c | 6 +- libiberty/vsnprintf.c | 5 +- libiberty/xmemdup.c | 3 +- opcodes/ChangeLog | 4 + opcodes/po/da.po | 41 +- 129 files changed, 6134 insertions(+), 1213 deletions(-) create mode 100644 gdb/ada-operator.def delete mode 100644 gdb/ada-operator.inc create mode 100644 gdb/python/py-bpevent.c create mode 100644 gdb/python/py-continueevent.c create mode 100644 gdb/python/py-event.c create mode 100644 gdb/python/py-event.h create mode 100644 gdb/python/py-events.h create mode 100644 gdb/python/py-evtregistry.c create mode 100644 gdb/python/py-evts.c create mode 100644 gdb/python/py-exitedevent.c create mode 100644 gdb/python/py-signalevent.c create mode 100644 gdb/python/py-stopevent.c create mode 100644 gdb/python/py-stopevent.h create mode 100644 gdb/python/py-threadevent.c create mode 100644 gdb/std-operator.def create mode 100644 gdb/syscalls/mips-n32-linux.xml create mode 100644 gdb/syscalls/mips-n64-linux.xml create mode 100644 gdb/syscalls/mips-o32-linux.xml create mode 100644 gdb/testsuite/gdb.base/disasm-end-cu-1.c create mode 100644 gdb/testsuite/gdb.base/disasm-end-cu-2.c create mode 100644 gdb/testsuite/gdb.base/disasm-end-cu.exp create mode 100644 gdb/testsuite/gdb.base/jit-main.c create mode 100644 gdb/testsuite/gdb.base/jit-solib.c create mode 100644 gdb/testsuite/gdb.base/jit.exp create mode 100644 gdb/testsuite/gdb.cp/nsnested.cc create mode 100644 gdb/testsuite/gdb.cp/nsnested.exp create mode 100644 gdb/testsuite/gdb.cp/nsnoimports.cc create mode 100644 gdb/testsuite/gdb.cp/nsnoimports.exp create mode 100644 gdb/testsuite/gdb.python/py-events.c create mode 100644 gdb/testsuite/gdb.python/py-events.exp create mode 100644 gdb/testsuite/gdb.python/py-events.py create mode 100644 gdb/testsuite/gdb.python/py-evthreads.c create mode 100644 gdb/testsuite/gdb.python/py-evthreads.exp First 500 lines of diff: diff --git a/ChangeLog b/ChangeLog index 30aa6ba..7711c87 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2011-01-31 Alexandre Oliva + + PR libgcj/44341 + * configure.ac: Discard --with-* flags for host when configuring + target libraries for cross build. + * configure: Rebuilt. + 2011-01-21 Andreas Schwab Sync from GCC: diff --git a/bfd/ChangeLog b/bfd/ChangeLog index c643fb7..35d534f 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,10 @@ +2011-02-01 Alan Modra + + * elf64-ppc.c (ppc64_elf_next_input_section): Use elf_gp value + for toc pointer on any section having makes_toc_func_call set. + (check_pasted_section): Ensure pasted .init/.fini fragments use + the same toc if any has makes_toc_func_call set. + 2011-01-28 Joseph Myers * elf32-ppc.c (ppc_elf_link_hash_newfunc): Initialize has_sda_refs diff --git a/bfd/elf64-ppc.c b/bfd/elf64-ppc.c index 5c35dc1..d020928 100644 --- a/bfd/elf64-ppc.c +++ b/bfd/elf64-ppc.c @@ -10580,14 +10580,28 @@ ppc64_elf_next_input_section (struct bfd_link_info *info, asection *isec) if (elf_gp (isec->owner) != 0) htab->toc_curr = elf_gp (isec->owner); } - else if (!isec->call_check_done - && toc_adjusting_stub_needed (info, isec) < 0) - return FALSE; + else + { + if (!isec->call_check_done + && toc_adjusting_stub_needed (info, isec) < 0) + return FALSE; + /* If we make a local call from this section, ie. a branch + without a following nop, then we have no place to put a + toc restoring insn. We must use the same toc group as + the callee. + Testing makes_toc_func_call actually tests for *any* + calls to functions that need a good toc pointer. A more + precise test would be better, as this one will set + incorrect values for pasted .init/.fini fragments. + (Fixed later in check_pasted_section.) */ + if (isec->makes_toc_func_call + && elf_gp (isec->owner) != 0) + htab->toc_curr = elf_gp (isec->owner); + } } /* Functions that don't use the TOC can belong in any TOC group. - Use the last TOC base. This happens to make _init and _fini - pasting work, because the fragments generally don't use the TOC. */ + Use the last TOC base. */ htab->stub_group[isec->id].toc_off = htab->toc_curr; return TRUE; } @@ -10614,6 +10628,15 @@ check_pasted_section (struct bfd_link_info *info, const char *name) else if (toc_off != htab->stub_group[i->id].toc_off) return FALSE; } + + if (toc_off == 0) + for (i = o->map_head.s; i != NULL; i = i->map_head.s) + if (i->makes_toc_func_call) + { + toc_off = htab->stub_group[i->id].toc_off; + break; + } + /* Make sure the whole pasted function uses the same toc offset. */ if (toc_off != 0) for (i = o->map_head.s; i != NULL; i = i->map_head.s) diff --git a/bfd/version.h b/bfd/version.h index cfc6b61..bbed991 100644 --- a/bfd/version.h +++ b/bfd/version.h @@ -1,4 +1,4 @@ -#define BFD_VERSION_DATE 20110129 +#define BFD_VERSION_DATE 20110206 #define BFD_VERSION @bfd_version@ #define BFD_VERSION_STRING @bfd_version_package@ @bfd_version_string@ #define REPORT_BUGS_TO @report_bugs_to@ diff --git a/configure b/configure index bc408db..518fe6a 100755 --- a/configure +++ b/configure @@ -7311,6 +7311,7 @@ serialization_dependencies=serdep.tmp # Also strip program-prefix, program-suffix, and program-transform-name, # so that we can pass down a consistent program-transform-name. baseargs= +tbaseargs= keep_next=no skip_next=no eval "set -- $ac_configure_args" @@ -7326,6 +7327,7 @@ do ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac baseargs="$baseargs '$ac_arg'" + tbaseargs="$tbaseargs '$ac_arg'" keep_next=no continue fi @@ -7347,11 +7349,45 @@ do ;; esac + skip_targ=no + case $ac_arg in + + --with-* | --without-*) + libopt=`echo "$ac_arg" | sed -e 's,^--[^-_]*[-_],,' -e 's,=.*$,,'` + + case $libopt in + *[-_]include) + lib=`echo "$libopt" | sed 's,[-_]include$,,'` + ;; + *[-_]lib) + lib=`echo "$libopt" | sed 's,[-_]lib$,,'` + ;; + *) + lib=$libopt + ;; + esac + + + case $lib in + mpc | mpfr | gmp | ppl | cloog) + # If we're processing --with-$lib, --with-$lib-include or + # --with-$lib-lib, for one of the libs above, and target is + # different from host, don't pass the current argument to any + # target library's configure. + if test x$is_cross_compiler = xyes; then + skip_targ=yes + fi + ;; + esac + ;; + esac + case "$ac_arg" in --cache-file=/dev/null | \ -cache-file=/dev/null ) # Handled here to avoid the test to skip args below. baseargs="$baseargs '$ac_arg'" + tbaseargs="$tbaseargs '$ac_arg'" # Assert: $separate_arg should always be no. keep_next=$separate_arg ;; @@ -7382,6 +7418,9 @@ do ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac baseargs="$baseargs '$ac_arg'" + if test X"$skip_targ" = Xno; then + tbaseargs="$tbaseargs '$ac_arg'" + fi keep_next=$separate_arg ;; *) @@ -7408,10 +7447,13 @@ EOF_SED gcc_transform_name=`cat conftestsed.out` rm -f conftestsed.out baseargs="$baseargs --program-transform-name='${gcc_transform_name}'" +tbaseargs="$tbaseargs --program-transform-name='${gcc_transform_name}'" if test "$silent" = yes; then baseargs="$baseargs --silent" + tbaseargs="$tbaseargs --silent" fi baseargs="$baseargs --disable-option-checking" +tbaseargs="$tbaseargs --disable-option-checking" # Record and document user additions to sub configure arguments. @@ -7437,7 +7479,7 @@ esac # This seems to be due to autoconf 2.5x stupidity. host_configargs="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}" -target_configargs="$target_configargs ${baseargs}" +target_configargs="$target_configargs ${tbaseargs}" # Passing a --with-cross-host argument lets the target libraries know # whether they are being built with a cross-compiler or being built diff --git a/configure.ac b/configure.ac index 1227054..d266389 100644 --- a/configure.ac +++ b/configure.ac @@ -2849,6 +2849,7 @@ AC_SUBST_FILE(serialization_dependencies) # Also strip program-prefix, program-suffix, and program-transform-name, # so that we can pass down a consistent program-transform-name. baseargs= +tbaseargs= keep_next=no skip_next=no eval "set -- $ac_configure_args" @@ -2864,6 +2865,7 @@ do ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac baseargs="$baseargs '$ac_arg'" + tbaseargs="$tbaseargs '$ac_arg'" keep_next=no continue fi @@ -2885,11 +2887,45 @@ do ;; esac + skip_targ=no + case $ac_arg in +changequote(,) + --with-* | --without-*) + libopt=`echo "$ac_arg" | sed -e 's,^--[^-_]*[-_],,' -e 's,=.*$,,'` + + case $libopt in + *[-_]include) + lib=`echo "$libopt" | sed 's,[-_]include$,,'` + ;; + *[-_]lib) + lib=`echo "$libopt" | sed 's,[-_]lib$,,'` + ;; + *) + lib=$libopt + ;; + esac +changequote([,]) + + case $lib in + mpc | mpfr | gmp | ppl | cloog) + # If we're processing --with-$lib, --with-$lib-include or + # --with-$lib-lib, for one of the libs above, and target is + # different from host, don't pass the current argument to any + # target library's configure. + if test x$is_cross_compiler = xyes; then + skip_targ=yes + fi + ;; + esac + ;; + esac + case "$ac_arg" in --cache-file=/dev/null | \ -cache-file=/dev/null ) # Handled here to avoid the test to skip args below. baseargs="$baseargs '$ac_arg'" + tbaseargs="$tbaseargs '$ac_arg'" # Assert: $separate_arg should always be no. keep_next=$separate_arg ;; @@ -2920,6 +2956,9 @@ do ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac baseargs="$baseargs '$ac_arg'" + if test X"$skip_targ" = Xno; then + tbaseargs="$tbaseargs '$ac_arg'" + fi keep_next=$separate_arg ;; *) @@ -2946,10 +2985,13 @@ EOF_SED gcc_transform_name=`cat conftestsed.out` rm -f conftestsed.out baseargs="$baseargs --program-transform-name='${gcc_transform_name}'" +tbaseargs="$tbaseargs --program-transform-name='${gcc_transform_name}'" if test "$silent" = yes; then baseargs="$baseargs --silent" + tbaseargs="$tbaseargs --silent" fi baseargs="$baseargs --disable-option-checking" +tbaseargs="$tbaseargs --disable-option-checking" # Record and document user additions to sub configure arguments. AC_ARG_VAR([build_configargs], @@ -2978,7 +3020,7 @@ esac # This seems to be due to autoconf 2.5x stupidity. host_configargs="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}" -target_configargs="$target_configargs ${baseargs}" +target_configargs="$target_configargs ${tbaseargs}" # Passing a --with-cross-host argument lets the target libraries know # whether they are being built with a cross-compiler or being built diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a164d82..b55e815 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,280 @@ +2011-02-04 Sami Wagiaalla + Oguz Kayral + + * python/py-inferior.c (python_on_normal_stop): New function. + (python_on_resume): New function. + (python_inferior_exit): New function. + (gdbpy_initialize_inferior): Add normal_stop, target_resumed, and + inferior_exit observers. + * python/py-evtregistry.c: New file. + * python/py-threadevent.c : New file. + * python/py-event.c: New file. + * python/py-evts.c: New file. + * python/py-continueevent.c: New file. + * python/py-bpevent.c: New file. + * python/py-signalevent.c: New file. + * python/py-exetiedevent.c: New file. + * python/py-breakpoint.c (gdbpy_breakpoint_from_bpstats): New function. + Move struct breakpoint_object from here... + * python/python-internal.h: ... to here. + * python/py-event.h: New file. + * python/py-events.h: New file. + * Makefile.in (SUBDIR_PYTHON_OBS): Add py-breakpointstopevent.o, + py-continueevent.o, py-event.o, py-eventregistry.o, py-events.o, + py-exitedevent.o, py-signalstopevent.o, and py-stopevent.o. + (SUBDIR_PYTHON_SRCS): Add py-breakpointstopevent.c, + py-continueevent.c, py-event.c, py-eventregistry.c, py-events.c, + py-exitedevent.c, py-signalstopevent.c, and py-stopevent.c. + Add build rules for all the above. + +2011-02-04 Tom Tromey + + * dwarf2read.c (dwarf2_section_empty_p): New function. + (dwarf2_read_section): Use dwarf2_section_empty_p. + (dwarf2_section_size): New function. + (dwarf2_get_section_info): Unconditionally read section. + (dwarf2_read_index): Use dwarf2_section_empty_p. + (partial_read_comp_unit_head): Use dwarf2_section_size. + (dwarf2_symbol_mark_computed): Likewise. + +2011-02-04 David Daney + + * NEWS: Add item for "catch syscall" on mips*-linux* targets. + +2011-02-04 David Daney + + * mips-linux-tdep.c: Include xml-syscall.h. + (mips_linux_get_syscall_number): New function. + (mips_linux_init_abi): Add calls to + mips_linux_get_syscall_number() and set_xml_syscall_file_name(). + * data-directory/Makefile.in (SYSCALLS_FILES): Add + mips-o32-linux.xml, mips-n32-linux.xml and mips-n64-linux.xml + * syscalls/mips-n32-linux.xml: New file. + * syscalls/mips-n64-linux.xml: New file. + * syscalls/mips-o32-linux.xml: New file. + +2011-02-04 Ulrich Weigand + + * dwarf2read.c (dwarf2_ranges_read): Skip empty range entries. + Complain about inverted range entries. + (dwarf2_record_block_ranges): Likewise. + +2011-02-04 Thiago Jung Bauermann + + Fix some typos. + * breakpoint.c (update_watchpoint): Fix name of the + update_global_location_list function. + (print_one_breakpoint): Fix typo. + (_initialize_breakpoint): Remove extra space in hbreak help + string. + * breakpoint.h (struct bp_location) : Fix field + description. + +2011-02-04 Pedro Alves + + * regcache.c (registers_changed_ptid): Don't explictly always + clear `current_regcache'. Only clear current_thread_ptid and + current_thread_arch when PTID matches. Only reinit the frame + cache if PTID matches the current inferior_ptid. Move alloca(0) + call to ... + (registers_changed): ... here. + +2011-02-03 Ulrich Weigand + + * arm-tdep.c (arm_skip_stack_protector): Accept any symbol that + starts with __stack_chk_guard as stack guard symbol. + +2011-02-03 Andrew Burgess + + * disasm.c (compare_lines): Handle the end of sequence markers + within the line table to better support disassembling over + compilation unit boundaries. + +2011-02-02 Ulrich Weigand + + * arm-tdep.c (skip_prologue_function): Add GDBARCH and IS_THUMB + arguments. Skip in-prologue calls to glibc __aeabi_read_tp + implementation even if no symbols are available. + (thumb_analyze_prologue): Update call to skip_prologue_function. + (arm_analyze_prologue): Likewise. + +2011-02-02 Ulrich Weigand + + * arm-tdep.c: Include "observer.h". + (arm_prologue_this_id): Use frame PC if get_frame_func returns 0. + (arm_exidx_data_key): New static variable. + (struct arm_exidx_entry, arm_exidx_entry_s): New data types. + (struct arm_exidx_data): Likewise. + (arm_exidx_data_free): New function. + (arm_compare_exidx_entries): Likewise. + (arm_obj_section_from_vma): Likewise. + (arm_exidx_new_objfile): Likewise. + (arm_find_exidx_entry): Likewise. + (arm_exidx_fill_cache): Likewise. + (arm_exidx_unwind_sniffer): Likewise. + (arm_exidx_unwind): New global variable. + (arm_gdbarch_init): Append unwinder arm_exidx_unwind. + (_initialize_arm_tdep): Attach arm_exidx_new_objfile to new_objfile + observer. Register arm_exidx_data_key as objfile data. + +2011-02-02 Ulrich Weigand + + * arm-tdep.c (arm_analyze_load_stack_chk_guard): Avoid build break + due to accessing uninitialized variable. Fix indentation. + +2011-02-02 Pedro Alves + + * c-valprint.c (c_value_print): When doing virtual base pointer + adjustment, create a new value with adjusted contents rather than + changing the contents of the value being printed (and getting it + wrong). + +2011-02-02 Pedro Alves + + * xml-support.c (xml_find_attribute): New. + (xinclude_start_include): Use it. + * xml-support.h (xml_find_attribute): Declare. + * memory-map.c (memory_map_start_memory) + (memory_map_start_property): Use xml_find_attribute. + * osdata.c (osdata_start_osdata, osdata_start_column): Use + xml_find_attribute. + * remote.c (start_thread): Use xml_find_attribute. + * solib-target.c (library_list_start_segment) + (library_list_start_section, library_list_start_library) + (library_list_start_list): Use xml_find_attribute. + * xml-tdesc.c (tdesc_start_target, tdesc_start_feature) + (tdesc_start_union, tdesc_start_struct, tdesc_start_flags) + (tdesc_start_field): Use xml_find_attribute. + +2011-02-02 Ulrich Weigand + + * opencl-lang.c (STRINGIFY): Rename to OCL_STRING. + (BUILD_OCL_VTYPES): Update. + +2011-02-02 Joel Brobecker + + * configure.ac: Work around non-GNU sed limitation when computing + python version number. + * configure: Regenerate. + +2011-02-01 Jan Kratochvil + + Fix debug printing of TYPE_INSTANCE. + * expprint.c (print_subexp_standard) : New. + (dump_subexp_body_standard) : New. + +2011-02-01 Jan Kratochvil + + Fix debug printing of BINOP_IN, OP_OBJC_MSGCALL, + OP_F77_UNDETERMINED_ARGLIST, OP_COMPLEX, OP_OBJC_SELECTOR, OP_NAME, + OP_OBJC_NSSTRING, OP_F90_RANGE and OP_DECFLOAT. + * ada-operator.inc: Rename the file to ... + * ada-operator.def: ... here, wrap all the entries by macro OP. + * expprint.c (op_name_standard): Remove all the entries. Include + "std-operator.def" instead. + * expression.h (enum exp_opcode): Include "std-operator.def" and + "ada-operator.def". Move all the entries ... + * std-operator.def: ... here, wrap all the entries by macro OP. + +2011-01-31 Paul Pluzhnikov + + * breakpoint.h (remove_jit_event_breakpoints): New prototype. + * breakpoint.c (remove_jit_event_breakpoints): New function. + * jit.c (jit_descriptor_addr): Delete. + (registering_code): Delete. + (clear_int): Delete. + (jit_inferior_data): New variable. + (struct jit_inferior_data): New type. + (get_jit_inferior_data): New function. + (jit_inferior_data_cleanup): New function. + (jit_read_descriptor): Adjust. + (jit_register_code): Adjust. + (jit_breakpoint_re_set_internal): New function; move code here ... + (jit_inferior_init): ... from here. + (jit_breakpoint_re_set): Adjust. + (jit_reset_inferior_data_and_breakpoints): New function. + (jit_inferior_created_observer): Adjust. + (jit_inferior_exit_hook): Adjust. + (jit_executable_changed_observer): New function. + (jit_event_handler): Adjust. + (_initialize_jit): Adjust. + +2011-01-31 Michael Snyder + hooks/post-receive -- Repository for Project Archer.