public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
* [SCM] archer-jankratochvil-watchpoint3: Merge branch 'cleanup-fork-multi-kernel' into archer-jankratochvil-watchpoint3
@ 2010-12-11 5:16 jkratoch
0 siblings, 0 replies; 5+ messages in thread
From: jkratoch @ 2010-12-11 5:16 UTC (permalink / raw)
To: archer-commits
The branch, archer-jankratochvil-watchpoint3 has been updated
via 940fc080a370235a1b515265d066876193e7028e (commit)
via 5b687cf72f4e7fa8ff259041a7e0e98aaf189d39 (commit)
via a702071b07fa366acaa1de4da1cc08df56753c2b (commit)
via 373aebc8d95ae0bd1839444f28b7425572d263f3 (commit)
via dcad851e3161e2f23251c98d9a762e4af40bc3c8 (commit)
via af97d895e9c55e55bdd1e7f9a17a83e661a817ca (commit)
via c27b38bddf215d8cd81ac11c9968f71c5e106491 (commit)
via 435ad6756ab87966ba6894cd1758562dcd50b88b (commit)
via 51bb62e548a508defe39363cf6d3b2ac0c1decb8 (commit)
via 6dbd6b5af3619569afddec9161705b12658668a3 (commit)
from 4e7b069ea7a6e6a2e51da9155c7932b33e4334e8 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email.
- Log -----------------------------------------------------------------
commit 940fc080a370235a1b515265d066876193e7028e
Merge: 4e7b069 5b687cf
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sat Dec 11 06:16:26 2010 +0100
Merge branch 'cleanup-fork-multi-kernel' into archer-jankratochvil-watchpoint3
commit 5b687cf72f4e7fa8ff259041a7e0e98aaf189d39
Merge: 373aebc a702071
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sat Dec 11 06:13:33 2010 +0100
Merge branch 'cleanup-fork-multi' into cleanup-fork-multi-kernel
commit a702071b07fa366acaa1de4da1cc08df56753c2b
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sat Dec 11 06:13:25 2010 +0100
+comments
commit 373aebc8d95ae0bd1839444f28b7425572d263f3
Merge: c27b38b dcad851
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sat Dec 11 05:15:10 2010 +0100
Merge branch 'cleanup-fork-multi' into cleanup-fork-multi-kernel
commit dcad851e3161e2f23251c98d9a762e4af40bc3c8
Merge: 435ad67 af97d89
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sat Dec 11 05:15:09 2010 +0100
Merge branch 'cleanup-fork' into cleanup-fork-multi
commit af97d895e9c55e55bdd1e7f9a17a83e661a817ca
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sat Dec 11 05:15:06 2010 +0100
fix
commit c27b38bddf215d8cd81ac11c9968f71c5e106491
Merge: adfee99 435ad67
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sat Dec 11 05:14:40 2010 +0100
Merge branch 'cleanup-fork-multi' into cleanup-fork-multi-kernel
commit 435ad6756ab87966ba6894cd1758562dcd50b88b
Merge: e739058 51bb62e
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sat Dec 11 05:14:39 2010 +0100
Merge branch 'cleanup-fork' into cleanup-fork-multi
commit 51bb62e548a508defe39363cf6d3b2ac0c1decb8
Merge: 5a2e2c8 6dbd6b5
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sat Dec 11 05:14:37 2010 +0100
Merge branch 'cleanup' into cleanup-fork
commit 6dbd6b5af3619569afddec9161705b12658668a3
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sat Dec 11 05:14:25 2010 +0100
foo
-----------------------------------------------------------------------
Summary of changes:
gdb/breakpoint.c | 5 ++++-
gdb/linux-nat.c | 6 +++++-
2 files changed, 9 insertions(+), 2 deletions(-)
First 500 lines of diff:
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index 38b2b25..be0d262 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -1910,7 +1910,10 @@ insert_breakpoint_locations (void)
/* For targets that support global breakpoints, there's no need
to select an inferior to insert breakpoint to. In fact, even
if we aren't attached to any process yet, we should still
- insert breakpoints. */
+ insert breakpoints.
+
+ Also inserting breakpoints into inappropriate inferior must be
+ prevented. */
if (!gdbarch_has_global_breakpoints (target_gdbarch)
&& (ptid_equal (inferior_ptid, null_ptid)
|| b->pspace != saved_current_program_space))
diff --git a/gdb/linux-nat.c b/gdb/linux-nat.c
index bfff6c5..c4d1c28 100644
--- a/gdb/linux-nat.c
+++ b/gdb/linux-nat.c
@@ -1286,13 +1286,17 @@ linux_nat_iterate_watchpoint_lwps
if (inf->pid == inferior_pid)
{
- /* Standard mode. */
+ /* Standard mode. Iterate all the threads of the current inferior.
+ Without specifying INFERIOR_PID it would iterate all the threads of
+ all the inferiors, which is inappropriate for watchpoints. */
+
iterate_over_lwps (pid_to_ptid (inferior_pid),
iterate_watchpoint_lwps_callback, &data);
}
else
{
/* Detaching a new child PID temporarily present in INFERIOR_PID. */
+
callback (inferior_pid, callback_data);
}
}
hooks/post-receive
--
Repository for Project Archer.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [SCM] archer-jankratochvil-watchpoint3: Merge branch 'cleanup-fork-multi-kernel' into archer-jankratochvil-watchpoint3
@ 2011-02-06 19:35 jkratoch
0 siblings, 0 replies; 5+ messages in thread
From: jkratoch @ 2011-02-06 19:35 UTC (permalink / raw)
To: archer-commits
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 <jan.kratochvil@redhat.com>
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 <jan.kratochvil@redhat.com>
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 <jan.kratochvil@redhat.com>
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 <jan.kratochvil@redhat.com>
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 <jan.kratochvil@redhat.com>
Date: Sun Feb 6 20:31:25 2011 +0100
Merge branch 'cleanup' into cleanup-fork
commit 6cc9eccba82c77b31c156b0c0391090d26a4d38d
Merge: 8861b1a ab2ac0a
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
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 <aoliva@redhat.com>
+
+ PR libgcj/44341
+ * configure.ac: Discard --with-* flags for host when configuring
+ target libraries for cross build.
+ * configure: Rebuilt.
+
2011-01-21 Andreas Schwab <schwab@redhat.com>
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 <amodra@gmail.com>
+
+ * 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 <joseph@codesourcery.com>
* 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 <swagiaal@redhat.com>
+ Oguz Kayral <oguzkayral@gmail.com>
+
+ * 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 <tromey@redhat.com>
+
+ * 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 <ddaney@caviumnetworks.com>
+
+ * NEWS: Add item for "catch syscall" on mips*-linux* targets.
+
+2011-02-04 David Daney <ddaney@caviumnetworks.com>
+
+ * 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 <ulrich.weigand@linaro.org>
+
+ * 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 <bauerman@br.ibm.com>
+
+ 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) <length>: Fix field
+ description.
+
+2011-02-04 Pedro Alves <pedro@codesourcery.com>
+
+ * 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 <ulrich.weigand@linaro.org>
+
+ * 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 <aburgess@broadcom.com>
+
+ * 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 <ulrich.weigand@linaro.org>
+
+ * 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 <ulrich.weigand@linaro.org>
+
+ * 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 <ulrich.weigand@linaro.org>
+
+ * arm-tdep.c (arm_analyze_load_stack_chk_guard): Avoid build break
+ due to accessing uninitialized variable. Fix indentation.
+
+2011-02-02 Pedro Alves <pedro@codesourcery.com>
+
+ * 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 <pedro@codesourcery.com>
+
+ * 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 <uweigand@de.ibm.com>
+
+ * opencl-lang.c (STRINGIFY): Rename to OCL_STRING.
+ (BUILD_OCL_VTYPES): Update.
+
+2011-02-02 Joel Brobecker <brobecker@adacore.com>
+
+ * configure.ac: Work around non-GNU sed limitation when computing
+ python version number.
+ * configure: Regenerate.
+
+2011-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Fix debug printing of TYPE_INSTANCE.
+ * expprint.c (print_subexp_standard) <TYPE_INSTANCE>: New.
+ (dump_subexp_body_standard) <TYPE_INSTANCE>: New.
+
+2011-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ 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 <ppluzhnikov@google.com>
+
+ * 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 <msnyder@vmware.com>
+
hooks/post-receive
--
Repository for Project Archer.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [SCM] archer-jankratochvil-watchpoint3: Merge branch 'cleanup-fork-multi-kernel' into archer-jankratochvil-watchpoint3
@ 2011-01-29 18:15 jkratoch
0 siblings, 0 replies; 5+ messages in thread
From: jkratoch @ 2011-01-29 18:15 UTC (permalink / raw)
To: archer-commits
The branch, archer-jankratochvil-watchpoint3 has been updated
via 76e9512743cb5a41dc9b7f4bbd9819be407cccc5 (commit)
via bccb6775298120baf080e5172d0031dc9ad1126f (commit)
via 96815909b10470e83cea44006b5aa89840c48f72 (commit)
via 7b90fcdd07bb6135e9177902e2e0f3594ae2a7d8 (commit)
via fac105b7d1cdca7e71e7bf316e890759fae4bb04 (commit)
via 6e1844926f0b4a2cda66d2b297e18f3f53203e46 (commit)
via 03ed974c2cac4127a008c6bef2ac8727acc83acd (commit)
via 8861b1af9cea78ac5211cb659a5a2c89f0a4f36e (commit)
via 485935ac1bcb177d3dc557a7741da74b7e1ff477 (commit)
via f209032e0532e6463725d17e23759100d4f6cc27 (commit)
via 35d9cd541a260cb8c317c5e751eae16a6a36b906 (commit)
via 3b6528427db9ed9d80e0a21d0eb8195ef5a82e6e (commit)
via 2e38d969affe6307bd68692fbfd1a93d5983a7fe (commit)
via 02712e46207c4b17def08712403c5b723c2c2b67 (commit)
via 40d162b92337f1bb7b0b402271cb8c911feb4817 (commit)
via 7c1bf30ef7366b2e02d74e46359f449659a85040 (commit)
from 824d26550dac3798476d422c038b4599eb4595e3 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email.
- Log -----------------------------------------------------------------
commit 76e9512743cb5a41dc9b7f4bbd9819be407cccc5
Merge: 824d265 bccb677
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sat Jan 29 19:14:41 2011 +0100
Merge branch 'cleanup-fork-multi-kernel' into archer-jankratochvil-watchpoint3
commit bccb6775298120baf080e5172d0031dc9ad1126f
Merge: fac105b 9681590
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sat Jan 29 19:14:27 2011 +0100
Merge branch 'cleanup-fork-multi' into cleanup-fork-multi-kernel
commit 96815909b10470e83cea44006b5aa89840c48f72
Merge: 6e18449 7b90fcd
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sat Jan 29 19:14:27 2011 +0100
Merge branch 'cleanup-fork' into cleanup-fork-multi
commit 7b90fcdd07bb6135e9177902e2e0f3594ae2a7d8
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sat Jan 29 19:14:21 2011 +0100
sync
commit fac105b7d1cdca7e71e7bf316e890759fae4bb04
Merge: 485935a 6e18449
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sat Jan 29 19:12:09 2011 +0100
Merge branch 'cleanup-fork-multi' into cleanup-fork-multi-kernel
commit 6e1844926f0b4a2cda66d2b297e18f3f53203e46
Merge: f209032 03ed974
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sat Jan 29 19:12:09 2011 +0100
Merge branch 'cleanup-fork' into cleanup-fork-multi
commit 03ed974c2cac4127a008c6bef2ac8727acc83acd
Merge: 40d162b 8861b1a
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sat Jan 29 19:12:05 2011 +0100
Merge branch 'cleanup' into cleanup-fork
Conflicts:
gdb/ppc-linux-nat.c
commit 8861b1af9cea78ac5211cb659a5a2c89f0a4f36e
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sat Jan 29 19:11:28 2011 +0100
sync
commit 485935ac1bcb177d3dc557a7741da74b7e1ff477
Merge: 35d9cd5 f209032
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sat Jan 29 19:09:47 2011 +0100
Merge branch 'cleanup-fork-multi' into cleanup-fork-multi-kernel
commit f209032e0532e6463725d17e23759100d4f6cc27
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sat Jan 29 19:09:41 2011 +0100
multi
commit 35d9cd541a260cb8c317c5e751eae16a6a36b906
Merge: 2e38d96 3b65284
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sat Jan 29 19:09:06 2011 +0100
Merge branch 'cleanup-fork-multi' into cleanup-fork-multi-kernel
commit 3b6528427db9ed9d80e0a21d0eb8195ef5a82e6e
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sat Jan 29 19:09:01 2011 +0100
merge fix
commit 2e38d969affe6307bd68692fbfd1a93d5983a7fe
Merge: 7b1a369 02712e4
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sat Jan 29 19:04:17 2011 +0100
Merge branch 'cleanup-fork-multi' into cleanup-fork-multi-kernel
commit 02712e46207c4b17def08712403c5b723c2c2b67
Merge: 2128006 40d162b
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sat Jan 29 19:04:11 2011 +0100
Merge branch 'cleanup-fork' into cleanup-fork-multi
Conflicts:
gdb/breakpoint.c
commit 40d162b92337f1bb7b0b402271cb8c911feb4817
Merge: af97d89 7c1bf30
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sat Jan 29 19:03:32 2011 +0100
Merge branch 'cleanup' into cleanup-fork
Conflicts:
gdb/ppc-linux-nat.c
commit 7c1bf30ef7366b2e02d74e46359f449659a85040
Merge: 6dbd6b5 c69ed13
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sat Jan 29 19:02:35 2011 +0100
Merge remote branch 'origin/master' into cleanup
Conflicts:
gdb/i386-nat.c
-----------------------------------------------------------------------
Summary of changes:
First 500 lines of diff:
hooks/post-receive
--
Repository for Project Archer.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [SCM] archer-jankratochvil-watchpoint3: Merge branch 'cleanup-fork-multi-kernel' into archer-jankratochvil-watchpoint3
@ 2010-12-12 7:59 jkratoch
0 siblings, 0 replies; 5+ messages in thread
From: jkratoch @ 2010-12-12 7:59 UTC (permalink / raw)
To: archer-commits
The branch, archer-jankratochvil-watchpoint3 has been updated
via a3828361bbbc39c546b7ece28777842cefff5712 (commit)
via 7b1a369e35be961cc09450969dff4f9b8c175589 (commit)
via 2128006bbd02f230496c8f9be03843aa41cd4e1a (commit)
via f0e2c8e25d121c93ef1b00761b7bde4afba2df54 (commit)
via b3274e3d5c678dafe10385b4fed7d91308e45073 (commit)
via 2f1ba57a86354cfedb94116002e37031bf3078aa (commit)
via 147ae723841f440c6379d09cebdf44a36b899b90 (commit)
from 940fc080a370235a1b515265d066876193e7028e (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email.
- Log -----------------------------------------------------------------
commit a3828361bbbc39c546b7ece28777842cefff5712
Merge: 940fc08 7b1a369
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sun Dec 12 08:58:55 2010 +0100
Merge branch 'cleanup-fork-multi-kernel' into archer-jankratochvil-watchpoint3
commit 7b1a369e35be961cc09450969dff4f9b8c175589
Merge: f0e2c8e 2128006
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sun Dec 12 08:54:16 2010 +0100
Merge branch 'cleanup-fork-multi' into cleanup-fork-multi-kernel
commit 2128006bbd02f230496c8f9be03843aa41cd4e1a
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sun Dec 12 08:54:08 2010 +0100
fix
commit f0e2c8e25d121c93ef1b00761b7bde4afba2df54
Merge: 2f1ba57 b3274e3
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sun Dec 12 07:17:04 2010 +0100
Merge branch 'cleanup-fork-multi' into cleanup-fork-multi-kernel
commit b3274e3d5c678dafe10385b4fed7d91308e45073
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sun Dec 12 07:15:39 2010 +0100
testcase update
commit 2f1ba57a86354cfedb94116002e37031bf3078aa
Merge: 5b687cf 147ae72
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sun Dec 12 06:51:26 2010 +0100
Merge branch 'cleanup-fork-multi' into cleanup-fork-multi-kernel
commit 147ae723841f440c6379d09cebdf44a36b899b90
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sun Dec 12 06:49:42 2010 +0100
multifix
-----------------------------------------------------------------------
Summary of changes:
gdb/breakpoint.c | 18 +++++++---
gdb/testsuite/gdb.multi/watchpoint-multi.c | 25 +++++++++++---
gdb/testsuite/gdb.multi/watchpoint-multi.exp | 43 +++++++++++++++++++++----
3 files changed, 67 insertions(+), 19 deletions(-)
First 500 lines of diff:
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index be0d262..2949316 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -1941,13 +1941,19 @@ insert_breakpoint_locations (void)
if (bpt->disposition == disp_del_at_next_stop)
continue;
-
+
for (loc = bpt->loc; loc; loc = loc->next)
- if (!loc->inserted && should_be_inserted (loc))
- {
- some_failed = 1;
- break;
- }
+ {
+ /* Verify the first loop above really tried to insert this LOC. */
+ if (!loc->inserted && should_be_inserted (loc)
+ && (gdbarch_has_global_breakpoints (target_gdbarch)
+ || (!ptid_equal (inferior_ptid, null_ptid)
+ && loc->pspace == saved_current_program_space)))
+ {
+ some_failed = 1;
+ break;
+ }
+ }
if (some_failed)
{
for (loc = bpt->loc; loc; loc = loc->next)
diff --git a/gdb/testsuite/gdb.multi/watchpoint-multi.c b/gdb/testsuite/gdb.multi/watchpoint-multi.c
index f9f52e8..153c18b 100644
--- a/gdb/testsuite/gdb.multi/watchpoint-multi.c
+++ b/gdb/testsuite/gdb.multi/watchpoint-multi.c
@@ -15,6 +15,9 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
+#include <pthread.h>
+#include <assert.h>
+
static volatile int a, b, c;
static void
@@ -30,15 +33,25 @@ marker_exit2 (void)
a = 1;
}
-int
-main (void)
+static void *
+start (void *arg)
{
- a = 1;
- a = 1;
- b = 2;
b = 2;
c = 3;
- c = 3;
+
+ return NULL;
+}
+
+int
+main (void)
+{
+ pthread_t thread;
+ int i;
+
+ i = pthread_create (&thread, NULL, start, NULL);
+ assert (i == 0);
+ i = pthread_join (thread, NULL);
+ assert (i == 0);
marker_exit1 ();
marker_exit2 ();
diff --git a/gdb/testsuite/gdb.multi/watchpoint-multi.exp b/gdb/testsuite/gdb.multi/watchpoint-multi.exp
index 99809b4..3b5d040 100644
--- a/gdb/testsuite/gdb.multi/watchpoint-multi.exp
+++ b/gdb/testsuite/gdb.multi/watchpoint-multi.exp
@@ -23,10 +23,13 @@ set executable ${testfile}
set srcfile ${testfile}.c
set binfile ${objdir}/${subdir}/${executable}
-if { [prepare_for_testing ${testfile}.exp ${executable} ${srcfile}] } {
+if { [gdb_compile_pthreads "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
+ untested ${testfile}.exp
return -1
}
+clean_restart $executable
+
if ![runto_main] {
return
}
@@ -44,12 +47,17 @@ delete_breakpoints
# Simulate non-stop+target-async which also uses breakpoint always-inserted.
gdb_test_no_output "set breakpoint always-inserted on"
+# displaced-stepping is also needed as other GDB sometimes still removes the
+# breakpoints, even with always-inserted on.
+gdb_test_no_output "set displaced-stepping on"
# Debugging of this testcase:
#gdb_test_no_output "maintenance set show-debug-regs on"
#gdb_test_no_output "set debug infrun 1"
-gdb_test "watch c" "Hardware watchpoint \[0-9\]+: c"
+# Do not use simple hardware watchpoint ("watch") as its false hit may be
+# unnoticed by GDB if it reads it still has the same value.
+gdb_test "awatch c" "Hardware access \\(read/write\\) watchpoint \[0-9\]+: c"
# Never keep/use any non-hw breakpoints to workaround a multi-inferior bug.
# Use `*' to workaround a multi-inferior bug.
set test "hbreak *marker_exit2"
@@ -66,19 +74,40 @@ gdb_test_multiple $test $test {
gdb_test "inferior 1" "witching to inferior 1 .*"
-gdb_test "watch b" "Hardware watchpoint \[0-9\]+: b"
+gdb_test "awatch b" "Hardware access \\(read/write\\) watchpoint \[0-9\]+: b"
gdb_test "hbreak *marker_exit1" {Hardware assisted breakpoint [0-9]+ at .*}
gdb_test "inferior 2" "witching to inferior 2 .*"
# FAIL would be a hit on watchpoint for `b' - that one is for the other
# inferior.
-gdb_test "continue" "Hardware watchpoint \[0-9\]+: c\r\n\r\nOld value = 0\r\nNew value = 3\r\n.*" "catch c"
+gdb_test "continue" "Hardware access \\(read/write\\) watchpoint \[0-9\]+: c\r\n\r\nOld value = 0\r\nNew value = 3\r\n.*" "catch c"
-gdb_test "continue" {Breakpoint [0-9]+, marker_exit2 .*} "catch marker_exit2"
+set test "catch marker_exit2"
+gdb_test_multiple "continue" $test {
+ -re "Breakpoint \[0-9\]+, marker_exit2 .*\r\n$gdb_prompt $" {
+ setup_kfail breakpoints/12312 *-*-*
+ pass $test
+ }
+ -re "Hardware access \\(read/write\\) watchpoint \[0-9\]+: c\r\n\r\nValue = 3\r\n.* in __nptl_death_event .*\r\n$gdb_prompt $" {
+ setup_kfail breakpoints/12312 *-*-*
+ fail $test
+ }
+}
gdb_test "inferior 1" "witching to inferior 1 .*"
-gdb_test "continue" "Hardware watchpoint \[0-9\]+: b\r\n\r\nOld value = 0\r\nNew value = 2\r\n.*" "catch b"
+gdb_test "continue" "Hardware access \\(read/write\\) watchpoint \[0-9\]+: b\r\n\r\nOld value = 0\r\nNew value = 2\r\n.*" "catch b"
+
+set test "catch marker_exit1"
+gdb_test_multiple "continue" $test {
+ -re "Breakpoint \[0-9\]+, marker_exit1 .*\r\n$gdb_prompt $" {
+ setup_kfail breakpoints/12312 *-*-*
+ pass $test
+ }
+ -re "Hardware access \\(read/write\\) watchpoint \[0-9\]+: b\r\n\r\nValue = 2\r\n.* in __nptl_death_event .*\r\n$gdb_prompt $" {
+ setup_kfail breakpoints/12312 *-*-*
+ fail $test
+ }
+}
-gdb_test "continue" {Breakpoint [0-9]+, marker_exit1 .*} "catch marker_exit2"
hooks/post-receive
--
Repository for Project Archer.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [SCM] archer-jankratochvil-watchpoint3: Merge branch 'cleanup-fork-multi-kernel' into archer-jankratochvil-watchpoint3
@ 2010-12-11 1:46 jkratoch
0 siblings, 0 replies; 5+ messages in thread
From: jkratoch @ 2010-12-11 1:46 UTC (permalink / raw)
To: archer-commits
The branch, archer-jankratochvil-watchpoint3 has been updated
via 4e7b069ea7a6e6a2e51da9155c7932b33e4334e8 (commit)
via adfee99a45a7793fc7be51ddb2b7145aa1e1aa03 (commit)
via e2d0e19d75949181b1c7d74a76d3759b093abb3f (commit)
via e7390586ca350b3ade00a43f130ddbbe5d620992 (commit)
via b45266da4d1b762c111b90223c35e0a3ad77b119 (commit)
via 81607e25135d0a25884e5ca439a8dc5253e27a90 (commit)
via 4149badd08c2a42e206e385565f66b99d1df437b (commit)
via f8caa1083171fea2b26cf645dc217c2a8321484d (commit)
via 192c98f96edd0f16af5f9c6da72cb40c735e26cd (commit)
via 3a634e06fcbf85155a0dc97bbdb4b172fb970008 (commit)
via c0d06d5ffcfd4fbd87b88d153e0ec4cc4d66efcf (commit)
via 5a2e2c8b29283d772616707db05e6ee12ac35a35 (commit)
via 5cad717d2e7bd1601d74ee6995b63a9f9f2baa12 (commit)
via 672126a537d816532dfcefa4d01649ecfcd87c50 (commit)
via f8c7663c275062ace30ca0dda23c1c667f2370ba (commit)
via 6dc55577fc081848b1ff68c813bbcf828c11beaa (commit)
via ebd6275785d5bc241e6caeef36e35c4aa957826a (commit)
via a12f776821111b030c99ef69f6686a89b8708aca (commit)
via 2dc0c4b05d47d1fb2832490c26d78cd462583c15 (commit)
via 5afd6c73fac1d4e4b2bbd7122aca5e70119cc50d (commit)
via 2fbd55d58b3ac8af56c472646dffceadf2e0866d (commit)
via 74080fe32131a978ab13fd0bb312062b7ac754dd (commit)
via be6272737bc586b16a5b72a3cb4ecef995074c98 (commit)
via b24a99bd22399c9468146f603aa7eb7e57573f94 (commit)
via 098a363dd9804decccdabe3df0a422cfbd9c09c6 (commit)
via aba8cd875362142c4a9415b27d7ee6569ed6467a (commit)
via 7b2b0d224cdb69b849e35c8cf9178a68b5fbb5a5 (commit)
via 78dfc48ba55545702ef520758de3cb70f9dae689 (commit)
via e014e39f5adef100506cdae7b40c33ab413c4a4f (commit)
via b5f2c9de753b28ba696acd64e2ae5f461e8e5bb3 (commit)
via 2bf6f365906ab18210152f960bb1964fc8bd8ea7 (commit)
via f066d508597485ba85468202f253fb8fa905cd70 (commit)
via fc2a20735997e42ad2a708f2ecde99284e6e6227 (commit)
via ecfcf3d644585028a6b31bd6b8fef11a99819abe (commit)
via e363f217cac07310e00c4a048c22e2fdc8eae2e6 (commit)
via 89ce8d4bd4a1aa64169928b4478eb112db891c8a (commit)
via e8c3912c58bde7afceb133154d94430097195e6e (commit)
via f6fffb5c85b6ae486e8c7c4818143b678d01207a (commit)
via 95eff2fb6321f6da995145ac27760e33e6300397 (commit)
via 625c318cdc3f4cda81d28a76878827b3930de728 (commit)
via 6483066954a45f74ba5c8714e67c911026b47c78 (commit)
via cfd59d46a2bcfc9de4e72aeba847ac29e56a8b43 (commit)
via 9d11e2823c8c241c2cf465e5eb8c0765a329e148 (commit)
via c649ca66b44a7390e0c263ed927c8fd5d4b18bc1 (commit)
via 68a319b90dca7951d5df3640da7e943a28b02e37 (commit)
via b9dfe9746d527111b67c454b6d64b44a69db63d2 (commit)
via 6703fb1c02cb1cab84045480543723ddb120a172 (commit)
via b47f816c5c5b4076f1b9d7601bd617d77d98a5da (commit)
via 431f664cad8887aed70646d72334ce5e42997e49 (commit)
via f56bc74802e5301a778b69b270767ec0cd4c167a (commit)
via b1463fe8242bc8a3ff48142ccf92a8c6848f59f9 (commit)
via a2c1503ec49af285b5d301ff6d47e34a17a152f7 (commit)
via 8d84f1b4d57be1385c4c778e522edf6c4f2fa408 (commit)
via 7c87f1bb2041e03818d3705f8719dad2a8c30d9b (commit)
via 68db70f05288f15c45bd62a8de6e84677f0fb985 (commit)
via 063caa6468033583e6ba78c8f88273de2c0ebb92 (commit)
via 47ec54a885067d30025c3adeca6bb7859196d1c0 (commit)
via 208f1fe14d05fae1b312d5c4f93d2fbcba7ec099 (commit)
via affaea642de48625e4f2c2c5f94e45da9d49a9d5 (commit)
via 2575f0876960e6a2f687a3fa5ac9e78eb5c3bc41 (commit)
via 10324b77c51dfcb388dfe6c73e4ba899c4299be0 (commit)
via 3b8b668119f4e13c43e0b48a87d89bc2303433c6 (commit)
from ec35ce9d359781ae2a49b8965553b906f4fdfe0d (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email.
- Log -----------------------------------------------------------------
commit 4e7b069ea7a6e6a2e51da9155c7932b33e4334e8
Merge: ec35ce9 adfee99
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sat Dec 11 02:46:27 2010 +0100
Merge branch 'cleanup-fork-multi-kernel' into archer-jankratochvil-watchpoint3
commit adfee99a45a7793fc7be51ddb2b7145aa1e1aa03
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sat Dec 11 02:29:03 2010 +0100
fix
commit e2d0e19d75949181b1c7d74a76d3759b093abb3f
Merge: b45266d e739058
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sat Dec 11 02:27:47 2010 +0100
Merge branch 'cleanup-fork-multi' into cleanup-fork-multi-kernel
commit e7390586ca350b3ade00a43f130ddbbe5d620992
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sat Dec 11 02:27:42 2010 +0100
cleanup
commit b45266da4d1b762c111b90223c35e0a3ad77b119
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sat Dec 11 02:24:08 2010 +0100
+kernel
commit 81607e25135d0a25884e5ca439a8dc5253e27a90
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sat Dec 11 02:23:17 2010 +0100
-workaround
commit 4149badd08c2a42e206e385565f66b99d1df437b
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sat Dec 11 02:20:48 2010 +0100
reg fix
commit f8caa1083171fea2b26cf645dc217c2a8321484d
Merge: 3a634e0 192c98f
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sat Dec 11 00:31:43 2010 +0100
Merge branch 'cleanup-fork-kernel' into cleanup-fork-kernel-multi
commit 192c98f96edd0f16af5f9c6da72cb40c735e26cd
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sat Dec 11 00:31:24 2010 +0100
workaround
commit 3a634e06fcbf85155a0dc97bbdb4b172fb970008
Merge: 5cad717 c0d06d5
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Fri Dec 10 19:35:27 2010 +0100
Merge branch 'cleanup-fork-kernel' into cleanup-fork-kernel-multi
Conflicts:
gdb/i386-nat.c
commit c0d06d5ffcfd4fbd87b88d153e0ec4cc4d66efcf
Merge: 672126a 5a2e2c8
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Fri Dec 10 19:34:50 2010 +0100
Merge branch 'cleanup-fork' into cleanup-fork-kernel
commit 5a2e2c8b29283d772616707db05e6ee12ac35a35
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Fri Dec 10 19:34:44 2010 +0100
review
commit 5cad717d2e7bd1601d74ee6995b63a9f9f2baa12
Merge: ebd6275 672126a
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Fri Dec 10 19:31:07 2010 +0100
Merge branch 'cleanup-fork-kernel' into cleanup-fork-kernel-multi
commit 672126a537d816532dfcefa4d01649ecfcd87c50
Merge: a12f776 f8c7663
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Fri Dec 10 19:31:06 2010 +0100
Merge branch 'cleanup-fork' into cleanup-fork-kernel
commit f8c7663c275062ace30ca0dda23c1c667f2370ba
Merge: 2dc0c4b 6dc5557
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Fri Dec 10 19:31:05 2010 +0100
Merge branch 'cleanup' into cleanup-fork
commit 6dc55577fc081848b1ff68c813bbcf828c11beaa
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Fri Dec 10 19:30:35 2010 +0100
dr_mirror_get += i386_
commit ebd6275785d5bc241e6caeef36e35c4aa957826a
Merge: 74080fe a12f776
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Fri Dec 10 19:21:20 2010 +0100
Merge branch 'cleanup-fork-kernel' into cleanup-fork-kernel-multi
commit a12f776821111b030c99ef69f6686a89b8708aca
Merge: be62727 2dc0c4b
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Fri Dec 10 19:21:19 2010 +0100
Merge branch 'cleanup-fork' into cleanup-fork-kernel
commit 2dc0c4b05d47d1fb2832490c26d78cd462583c15
Merge: b24a99b 5afd6c7
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Fri Dec 10 19:21:14 2010 +0100
Merge branch 'cleanup' into cleanup-fork
Conflicts:
gdb/amd64-linux-nat.c
gdb/i386-linux-nat.c
gdb/i386-nat.c
commit 5afd6c73fac1d4e4b2bbd7122aca5e70119cc50d
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Fri Dec 10 19:18:47 2010 +0100
i386_ prefix.
commit 2fbd55d58b3ac8af56c472646dffceadf2e0866d
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Fri Dec 10 19:15:21 2010 +0100
void * -> &
commit 74080fe32131a978ab13fd0bb312062b7ac754dd
Merge: 7ef4b77 be62727
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Fri Dec 10 18:22:06 2010 +0100
Merge branch 'cleanup-fork-kernel' into cleanup-fork-kernel-multi
commit be6272737bc586b16a5b72a3cb4ecef995074c98
Merge: dac9d4a b24a99b
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Fri Dec 10 18:22:05 2010 +0100
Merge branch 'cleanup-fork' into cleanup-fork-kernel
commit b24a99bd22399c9468146f603aa7eb7e57573f94
Merge: 9af4474 098a363
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Fri Dec 10 18:22:04 2010 +0100
Merge branch 'cleanup' into cleanup-fork
commit 098a363dd9804decccdabe3df0a422cfbd9c09c6
Merge: 845218b aba8cd8
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Fri Dec 10 18:22:03 2010 +0100
Merge branch 'master' into cleanup
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 24 ++++-
bfd/.gitignore | 40 ++++++
bfd/ChangeLog | 14 ++
bfd/config.bfd | 12 +-
bfd/plugin.c | 1 +
bfd/version.h | 2 +-
configure | 41 ++++++-
configure.ac | 32 ++++-
gdb/ChangeLog | 101 +++++++++++++++
gdb/NEWS | 5 +
gdb/amd64-linux-nat.c | 60 +++++++--
gdb/breakpoint.c | 98 +++++++++++++--
gdb/breakpoint.h | 18 +++-
gdb/doc/ChangeLog | 5 +
gdb/doc/gdb.texinfo | 10 ++
gdb/dwarf2read.c | 189 +++++++++++++++++++++++-----
gdb/gdbthread.h | 10 ++
gdb/gdbtypes.c | 2 +-
gdb/gdbtypes.h | 13 +-
gdb/i386-linux-nat.c | 44 +++++--
gdb/i386-nat.c | 97 +++++----------
gdb/i386-nat.h | 22 ++++
gdb/infcmd.c | 34 +++++-
gdb/inferior.h | 2 +
gdb/infrun.c | 192 ++++++++++++++++++++++++++---
gdb/main.c | 5 +
gdb/mi/mi-main.c | 40 +++++--
gdb/mi/mi-parse.c | 53 ++++----
gdb/mi/mi-parse.h | 14 ++-
gdb/symfile.h | 11 +-
gdb/testsuite/ChangeLog | 19 +++
gdb/testsuite/gdb.base/catch-syscall.exp | 4 +-
gdb/testsuite/gdb.base/interp.exp | 11 ++
gdb/testsuite/gdb.cp/nextoverthrow.cc | 203 ++++++++++++++++++++++++++++++
gdb/testsuite/gdb.cp/nextoverthrow.exp | 153 ++++++++++++++++++++++
gdb/testsuite/gdb.java/jnpe.exp | 74 +++++++++++
gdb/testsuite/gdb.java/jnpe.java | 40 ++++++
gdb/testsuite/gdb.python/lib-types.exp | 3 -
gdb/testsuite/gdb.python/py-pp-maint.exp | 3 -
gdb/testsuite/lib/gdb-python.exp | 18 ---
gdb/testsuite/lib/gdb.exp | 2 +-
gdb/thread.c | 19 +++
gdb/version.in | 2 +-
libiberty/.gitignore | 2 +
libiberty/ChangeLog | 9 ++
libiberty/splay-tree.c | 52 ++++++--
opcodes/.gitignore | 2 +
opcodes/ChangeLog | 4 +
src-release | 2 +-
49 files changed, 1552 insertions(+), 261 deletions(-)
create mode 100644 bfd/.gitignore
create mode 100644 gdb/testsuite/gdb.cp/nextoverthrow.cc
create mode 100644 gdb/testsuite/gdb.cp/nextoverthrow.exp
create mode 100644 gdb/testsuite/gdb.java/jnpe.exp
create mode 100644 gdb/testsuite/gdb.java/jnpe.java
create mode 100644 libiberty/.gitignore
create mode 100644 opcodes/.gitignore
First 500 lines of diff:
diff --git a/ChangeLog b/ChangeLog
index 50e96fe..bc19a77 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,9 +1,31 @@
+2010-12-10 Ian Lance Taylor <iant@google.com>
+
+ PR bootstrap/46819
+ * configure.ac: For --disable-libgcj clear libgcj_saved.
+ * configure: Rebuild.
+
+2010-12-10 Tobias Burnus <burnus@net-b.de>
+
+ PR fortran/46540
+ * configure.ac: Add --disable-libquadmath and
+ --disable-libquadmath-support.
+ * configure: Regenerate.
+
+2010-12-10 Tristan Gingold <gingold@adacore.com>
+
+ * src-release (ETC_SUPPORT): add gnu-oids.texi
+
2010-12-03 Hans-Peter Nilsson <hp@axis.com>
PR libffi/46792
* configure.ac (cris-*-elf, crisv32-*-elf): Disable target-libffi.
* configure: Regenerate.
+2010-12-02 Ian Lance Taylor <iant@google.com>
+
+ * configure.ac: Always set default for poststage1_ldflags to
+ -static-libstdc++ -static-libgcc.
+
2010-12-02 Jeff Johnston <jjohnstn@redhat.com>
* COPYING.NEWLIB: Add National Semiconductor notice.
@@ -15,7 +37,7 @@
2010-11-26 Alexandre Oliva <aoliva@redhat.com>
- PR other/46020
+ PR other/46026
* configure.ac (CXX_FOR_TARGET): Add -funconfigured-libstdc++-v3.
* Makefile.def (CXX_FOR_TARGET): Removed from flags_to_pass.
* Makefile.tpl (CXX_FOR_TARGET_FLAG_TO_PASS): New.
diff --git a/bfd/.gitignore b/bfd/.gitignore
new file mode 100644
index 0000000..3316133
--- /dev/null
+++ b/bfd/.gitignore
@@ -0,0 +1,40 @@
+/bfd-in3.h
+/bfd.h
+/bfd_stdint.h
+/bfdver.h
+/elf32-ia64.c
+/elf32-target.h
+/elf64-ia64.c
+/elf64-target.h
+/libtool-soversion
+/ofiles
+/peigen.c
+/pepigen.c
+/pex64igen.c
+/stmp-bfd-h
+/targmatch.h
+
+/doc/aoutx.texi
+/doc/archive.texi
+/doc/archures.texi
+/doc/bfdio.texi
+/doc/bfdt.texi
+/doc/bfdver.texi
+/doc/bfdwin.texi
+/doc/cache.texi
+/doc/chew
+/doc/coffcode.texi
+/doc/core.texi
+/doc/elf.texi
+/doc/elfcode.texi
+/doc/format.texi
+/doc/hash.texi
+/doc/init.texi
+/doc/libbfd.texi
+/doc/linker.texi
+/doc/mmo.texi
+/doc/opncls.texi
+/doc/reloc.texi
+/doc/section.texi
+/doc/syms.texi
+/doc/targets.texi
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 16f5536..10d3b98 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,17 @@
+2010-12-10 Alan Modra <amodra@gmail.com>
+
+ * config.bfd: Configure rs6000-*-aix* as for powerpc-*-aix*.
+ Add aix5coff64_vec to powerpc ELF entries.
+
+2010-12-09 Mike Frysinger <vapier@gentoo.org>
+
+ * .gitignore: New file.
+
+2010-12-06 Dmitry Gorbachev <d.g.gorbachev@gmail.com>
+
+ PR ld/12288
+ * plugin.c (message): Add putchar for the trailing `\n'.
+
2010-12-04 Mike Frysinger <vapier@gentoo.org>
* Makefile.am (!INSTALL_LIBBFD/bfdinclude_HEADERS): Set to nothing.
diff --git a/bfd/config.bfd b/bfd/config.bfd
index 9b719d8..2de94a4 100644
--- a/bfd/config.bfd
+++ b/bfd/config.bfd
@@ -1076,26 +1076,26 @@ case "${targ}" in
targ_selvecs="bfd_elf32_pjl_vec bfd_elf32_pj_vec bfd_elf32_i386_vec"
;;
- powerpc-*-aix5.[01])
+ powerpc-*-aix5.[01] | rs6000-*-aix5.[01])
targ_defvec=rs6000coff_vec
targ_selvecs="aix5coff64_vec"
want64=true
;;
#ifdef BFD64
- powerpc64-*-aix5.[01])
+ powerpc64-*-aix5.[01] | rs6000-*-aix5.[01])
targ_defvec=aix5coff64_vec
targ_selvecs="rs6000coff_vec"
want64=true
;;
#endif
- powerpc-*-aix[5-9]*)
+ powerpc-*-aix[5-9]* | rs6000-*-aix[5-9]*)
targ_cflags=-DAIX_WEAK_SUPPORT
targ_defvec=rs6000coff_vec
targ_selvecs="aix5coff64_vec"
want64=true
;;
#ifdef BFD64
- powerpc64-*-aix[5-9]*)
+ powerpc64-*-aix[5-9]* | rs6000-*-aix[5-9]*)
targ_cflags=-DAIX_WEAK_SUPPORT
targ_defvec=aix5coff64_vec
targ_selvecs="rs6000coff_vec"
@@ -1122,12 +1122,12 @@ case "${targ}" in
powerpc64-*-elf* | powerpc-*-elf64* | powerpc64-*-linux* | \
powerpc64-*-*bsd*)
targ_defvec=bfd_elf64_powerpc_vec
- targ_selvecs="bfd_elf64_powerpcle_vec bfd_elf32_powerpc_vec bfd_elf32_powerpcle_vec rs6000coff_vec rs6000coff64_vec"
+ targ_selvecs="bfd_elf64_powerpcle_vec bfd_elf32_powerpc_vec bfd_elf32_powerpcle_vec rs6000coff_vec rs6000coff64_vec aix5coff64_vec"
want64=true
;;
powerpc64le-*-elf* | powerpcle-*-elf64*)
targ_defvec=bfd_elf64_powerpcle_vec
- targ_selvecs="bfd_elf64_powerpc_vec bfd_elf32_powerpcle_vec bfd_elf32_powerpc_vec rs6000coff_vec rs6000coff64_vec"
+ targ_selvecs="bfd_elf64_powerpc_vec bfd_elf32_powerpcle_vec bfd_elf32_powerpc_vec rs6000coff_vec rs6000coff64_vec aix5coff64_vec"
want64=true
;;
#endif
diff --git a/bfd/plugin.c b/bfd/plugin.c
index a46bf90..61cd687 100644
--- a/bfd/plugin.c
+++ b/bfd/plugin.c
@@ -78,6 +78,7 @@ message (int level ATTRIBUTE_UNUSED,
va_start (args, format);
printf ("bfd plugin: ");
vprintf (format, args);
+ putchar ('\n');
va_end (args);
return LDPS_OK;
}
diff --git a/bfd/version.h b/bfd/version.h
index bedfbca..e704060 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20101206
+#define BFD_VERSION_DATE 20101210
#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 6a3ff45..9f036cb 100755
--- a/configure
+++ b/configure
@@ -742,6 +742,8 @@ enable_option_checking
with_build_libsubdir
enable_gold
enable_ld
+enable_libquadmath
+enable_libquadmath_support
enable_libada
enable_libssp
enable_build_with_cxx
@@ -1453,6 +1455,9 @@ Optional Features:
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
--enable-gold[=ARG] build gold [ARG={default,yes,no}]
--enable-ld[=ARG] build ld [ARG={default,yes,no}]
+ --disable-libquadmath do not build libquadmath directory
+ --disable-libquadmath-support
+ disable libquadmath support for Fortran
--enable-libada build libada directory
--enable-libssp build libssp directory
--enable-build-with-cxx build with C++ compiler instead of C compiler
@@ -2992,6 +2997,31 @@ case "${host}" in
esac
+# Check whether --enable-libquadmath was given.
+if test "${enable_libquadmath+set}" = set; then :
+ enableval=$enable_libquadmath; ENABLE_LIBQUADMATH=$enableval
+else
+ ENABLE_LIBQUADMATH=yes
+fi
+
+if test "${ENABLE_LIBQUADMATH}" = "no" ; then
+ noconfigdirs="$noconfigdirs target-libquadmath"
+fi
+
+
+# Check whether --enable-libquadmath-support was given.
+if test "${enable_libquadmath_support+set}" = set; then :
+ enableval=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT=$enableval
+else
+ ENABLE_LIBQUADMATH_SUPPORT=yes
+fi
+
+enable_libquadmath_support=
+if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
+ enable_libquadmath_support=no
+fi
+
+
# Check whether --enable-libada was given.
if test "${enable_libada+set}" = set; then :
enableval=$enable_libada; ENABLE_LIBADA=$enableval
@@ -3025,6 +3055,9 @@ no)
# Make sure we get it printed in the list of not supported target libs.
# Don't disable libffi, though, other languages use it.
noconfigdirs="$noconfigdirs `echo ${libgcj} | sed -e 's/target-libffi//'`"
+ # Clear libgcj_saved so that even if java is enabled libffi won't be
+ # built.
+ libgcj_saved=
;;
esac
@@ -5606,10 +5639,10 @@ if test "${with_boot_ldflags+set}" = set; then :
fi
else
poststage1_ldflags=
- # With --enable-build-with-cxx, default to linking libstdc++ and
- # libgcc statically. But if the user explicitly specified the
- # libraries to use, trust that they are doing what they want.
- if test "$ENABLE_BUILD_WITH_CXX" = "yes" -a "$poststage1_libs" = ""; then
+ # In stages 2 and 3, default to linking libstdc++ and libgcc
+ # statically. But if the user explicitly specified the libraries to
+ # use, trust that they are doing what they want.
+ if test "$poststage1_libs" = ""; then
poststage1_ldflags="-static-libstdc++ -static-libgcc"
fi
fi
diff --git a/configure.ac b/configure.ac
index 440f066..fc268b2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -458,6 +458,27 @@ case "${host}" in
esac
+AC_ARG_ENABLE(libquadmath,
+AS_HELP_STRING([--disable-libquadmath],
+ [do not build libquadmath directory]),
+ENABLE_LIBQUADMATH=$enableval,
+ENABLE_LIBQUADMATH=yes)
+if test "${ENABLE_LIBQUADMATH}" = "no" ; then
+ noconfigdirs="$noconfigdirs target-libquadmath"
+fi
+
+
+AC_ARG_ENABLE(libquadmath-support,
+AS_HELP_STRING([--disable-libquadmath-support],
+ [disable libquadmath support for Fortran]),
+ENABLE_LIBQUADMATH_SUPPORT=$enableval,
+ENABLE_LIBQUADMATH_SUPPORT=yes)
+enable_libquadmath_support=
+if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
+ enable_libquadmath_support=no
+fi
+
+
AC_ARG_ENABLE(libada,
[ --enable-libada build libada directory],
ENABLE_LIBADA=$enableval,
@@ -485,6 +506,9 @@ no)
# Make sure we get it printed in the list of not supported target libs.
# Don't disable libffi, though, other languages use it.
noconfigdirs="$noconfigdirs `echo ${libgcj} | sed -e 's/target-libffi//'`"
+ # Clear libgcj_saved so that even if java is enabled libffi won't be
+ # built.
+ libgcj_saved=
;;
esac
@@ -1561,10 +1585,10 @@ AC_ARG_WITH(boot-ldflags,
poststage1_ldflags=$withval
fi],
[poststage1_ldflags=
- # With --enable-build-with-cxx, default to linking libstdc++ and
- # libgcc statically. But if the user explicitly specified the
- # libraries to use, trust that they are doing what they want.
- if test "$ENABLE_BUILD_WITH_CXX" = "yes" -a "$poststage1_libs" = ""; then
+ # In stages 2 and 3, default to linking libstdc++ and libgcc
+ # statically. But if the user explicitly specified the libraries to
+ # use, trust that they are doing what they want.
+ if test "$poststage1_libs" = ""; then
poststage1_ldflags="-static-libstdc++ -static-libgcc"
fi])
AC_SUBST(poststage1_ldflags)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index b2dd553..37c58a4 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,104 @@
+2010-12-09 Marc Khouzam <marc.khouzam@ericsson.com>
+
+ * mi/mi-parse.c (mi_parse): Wrong error message.
+
+2010-12-09 Doug Evans <dje@google.com>
+
+ * symfile.h (quick_symbol_functions): Clarify usage of
+ map_symbol_filenames.
+
+2010-12-09 Tom Tromey <tromey@redhat.com>
+
+ * mi/mi-parse.h (mi_parse): Update.
+ * mi/mi-parse.c (mi_parse_cleanup): New function.
+ (mi_parse): Add 'token' argument. Throw exception on error.
+ * mi/mi-main.c (mi_print_exception): New function.
+ (mi_execute_command): Use mi_print_exception. Catch exceptions
+ from mi_parse.
+
+2010-12-09 Tom Tromey <tromey@redhat.com>
+
+ PR c++/9593:
+ * thread.c (clear_thread_inferior_resources): Call
+ delete_longjmp_breakpoint.
+ * infrun.c (handle_inferior_event): Handle exception breakpoints.
+ (handle_inferior_event): Likewise.
+ (insert_exception_resume_breakpoint): New function.
+ (check_exception_resume): Likewise.
+ * inferior.h (delete_longjmp_breakpoint_cleanup): Declare.
+ * infcmd.c (delete_longjmp_breakpoint_cleanup): No longer static.
+ (step_1): Set thread's initiating frame.
+ (until_next_continuation): New function.
+ (until_next_command): Support exception breakpoints.
+ (finish_command_continuation): Delete longjmp breakpoint.
+ (finish_forward): Support exception breakpoints.
+ * gdbthread.h (struct thread_info) <initiating_frame>: New field.
+ * breakpoint.h (enum bptype) <bp_exception, bp_exception_resume,
+ bp_exception_master>: New constants.
+ (struct bpstat_what) <is_longjmp>: New field.
+ (set_longjmp_breakpoint): Update.
+ * breakpoint.c (create_exception_master_breakpoint): New function.
+ (update_breakpoints_after_exec): Handle bp_exception_master. Call
+ create_exception_master_breakpoint.
+ (print_it_typical): Handle bp_exception_master, bp_exception.
+ (bpstat_stop_status): Handle bp_exception_master.
+ (bpstat_what): Handle bp_exception_master, bp_exception,
+ bp_exception_resume.
+ (bptype_string): Likewise.
+ (print_one_breakpoint_location): Likewise.
+ (allocate_bp_location): Likewise.
+ (set_longjmp_breakpoint): Handle exception breakpoints. Change
+ interface.
+ (delete_longjmp_breakpoint): Handle exception breakpoints.
+ (mention): Likewise.
+ (struct until_break_command_continuation_args) <thread_num>: New
+ field.
+ (until_break_command_continuation): Call
+ delete_longjmp_breakpoint.
+ (until_break_command): Support exception breakpoints.
+ (delete_command): Likewise.
+ (breakpoint_re_set_one): Likewise.
+ (breakpoint_re_set): Likewise.
+
+2010-12-08 Doug Evans <dje@google.com>
+
+ * gdbtypes.h (TYPE_IS_OPAQUE): Reformat.
+
+ * gdbtypes.c (check_typedef): Tweak comment.
+
+ PR symtab/12302
+ * dwarf2read.c (struct psymtab_cu_index_map): New struct.
+ (hash_psymtab_cu_index, eq_psymtab_cu_index): New functions.
+ (struct addrmap_index_data): New struct.
+ (add_address_entry): Remove arg `pst', new args `start', `end'.
+ (add_address_entry_worker, write_address_map): New functions.
+ (write_psymtabs_to_index): Address table generation moved to
+ write_address_map. Build a table mapping psymtab to CU index
+ to pass to it.
+
+ * dwarf2read.c (write_psymtabs_to_index): When stat fails, pass file
+ name to perror.
+
+ * symfile.h (quick_symbol_functions): Clarify usage of
+ expand_symtabs_with_filename.
+ * dwarf2read.c (dw2_expand_symtabs_with_filename): Only iterate over
+ comp units, ignore type units.
+
+ * dwarf2read.c (dw2_expand_symtabs_with_filename): Use FILENAME_CMP.
+
+2010-12-07 Doug Evans <dje@google.com>
+
+ * dwarf2read.c (dw2_lookup_symtab): Remove duplicate call to
+ gdb_realpath.
+
+ PR python/12227
+ * NEWS: Mention -data-directory.
+ * main.c (captured_main): Recognize -data-directory.
+
+2010-12-06 Marc Khouzam <marc.khouzam@ericsson.com>
+
+ * mi/mi-parse.c (mi_parse): Missing else.
+
2010-12-04 Masaki Muranaka <monaka@monami-software.com>
* configure.tgt: Accept microblaze*-*-linux* for linux target
diff --git a/gdb/NEWS b/gdb/NEWS
index f1efcd2..9dfb249 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -3,6 +3,11 @@
*** Changes since GDB 7.2
+* New command line options
+
+-data-directory DIR Specify DIR as the "data-directory".
+ This is mostly for testing purposes.
+
* GDB has a new command: "set directories".
It is like the "dir" command except that it replaces the
source path list instead of augmenting it.
diff --git a/gdb/amd64-linux-nat.c b/gdb/amd64-linux-nat.c
index 546d57c..784a476 100644
--- a/gdb/amd64-linux-nat.c
+++ b/gdb/amd64-linux-nat.c
@@ -265,8 +265,6 @@ amd64_linux_store_inferior_registers (struct target_ops *ops,
\f
/* Support for debug registers. */
-static unsigned long amd64_linux_dr[DR_CONTROL + 1];
-
static unsigned long
amd64_linux_dr_get (int tid, int regnum)
{
@@ -307,20 +305,56 @@ amd64_linux_dr_set (int tid, int regnum, unsigned long value)
static void
amd64_linux_dr_set_control_callback (int tid, void *control_voidp)
{
- unsigned long control = (unsigned long) control_voidp;
+ unsigned long control = *(unsigned long *) control_voidp;
amd64_linux_dr_set (tid, DR_CONTROL, control);
}
+static void amd64_linux_dr_set_addr (int regnum, CORE_ADDR addr);
+
/* Set DR_CONTROL to ADDR in all LWPs of CURRENT_INFERIOR. */
static void
amd64_linux_dr_set_control (unsigned long control)
{
- amd64_linux_dr[DR_CONTROL] = control;
+ int inferior_pid = ptid_get_pid (inferior_ptid);
+ struct inferior *inf = current_inferior ();
+
+ /* Are we detaching breakpoints from a fork-ed child?
+ See linux_nat_iterate_watchpoint_lwps for the fork-ed child description.
+ The i386 counterpart is i386_linux_dr_set_control. */
+ if (inf->pid != inferior_pid)
+ {
+ struct i386_dr_mirror *dr_mirror = i386_dr_mirror_get ();
+ int i;
+
+ /* There were two changes in Linux kernel 2.6.33 by the commit:
+ 72f674d203cd230426437cdcf7dd6f681dad8b0d
+
+ (1) After fork/vfork/clone the new task no longer inherits the debug
+ registers. It has them zeroed instead. Either case is OK for GDB as
+ GDB already registers a fix up by linux_nat_set_new_thread.
+
+ (2) If you enable a breakpoint by the CONTROL bits you have already
+ written its ADDRESS. Otherwise Linux kernel will report EINVAL.
+ For this case the workaround here ensures that during resetting
+ (detaching) watchpoints for a fork-ed child we can set CONTROL
hooks/post-receive
--
Repository for Project Archer.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-02-06 19:35 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-11 5:16 [SCM] archer-jankratochvil-watchpoint3: Merge branch 'cleanup-fork-multi-kernel' into archer-jankratochvil-watchpoint3 jkratoch
-- strict thread matches above, loose matches on Subject: below --
2011-02-06 19:35 jkratoch
2011-01-29 18:15 jkratoch
2010-12-12 7:59 jkratoch
2010-12-11 1:46 jkratoch
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).