public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
* [SCM]  archer-jankratochvil-ifunc: Fix crash regression.
@ 2010-03-21 21:57 jkratoch
  0 siblings, 0 replies; only message in thread
From: jkratoch @ 2010-03-21 21:57 UTC (permalink / raw)
  To: archer-commits

The branch, archer-jankratochvil-ifunc has been updated
       via  d63a1d4d58f8d2a8eba1f82c313a6566519e0f91 (commit)
       via  936261a359a3e4a92afbd5fe7827f80a1d914b63 (commit)
      from  2255cf5050e51b9b2b1c09aa9ae0c1dd12e6fdd2 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit d63a1d4d58f8d2a8eba1f82c313a6566519e0f91
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sun Mar 21 22:57:19 2010 +0100

    Fix crash regression.

commit 936261a359a3e4a92afbd5fe7827f80a1d914b63
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sun Mar 21 22:52:42 2010 +0100

    More testcases cleanup.

-----------------------------------------------------------------------

Summary of changes:
 gdb/breakpoint.c                     |    6 +++++-
 gdb/testsuite/gdb.base/gnu-ifunc.exp |    3 ---
 2 files changed, 5 insertions(+), 4 deletions(-)

First 500 lines of diff:
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index f6c0770..c5bf9f5 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -9609,8 +9609,12 @@ map_breakpoint_numbers (char *args, void (*function) (struct breakpoint *))
 		related_breakpoint = b;
 		do
 		  {
+		    struct breakpoint *next_related_b;
+
+		    /* FUNCTION can be also delete_breakpoint.  */
+		    next_related_b = related_breakpoint->related_breakpoint;
 		    function (related_breakpoint);
-		    related_breakpoint = related_breakpoint->related_breakpoint;
+		    related_breakpoint = next_related_b;
 		  }
 		while (related_breakpoint != b);
 		break;
diff --git a/gdb/testsuite/gdb.base/gnu-ifunc.exp b/gdb/testsuite/gdb.base/gnu-ifunc.exp
index edb0cbd..20af858 100644
--- a/gdb/testsuite/gdb.base/gnu-ifunc.exp
+++ b/gdb/testsuite/gdb.base/gnu-ifunc.exp
@@ -109,6 +109,3 @@ gdb_test_multiple $test $test {
     }
 }
 gdb_test "info sym $expect_out(1,string)" "gnu_ifunc in section .*" "info sym <gnu_ifunc-address>"
-
-gdb_test "p gnu_ifunc" " = {<text gnu-indirect-function variable, no debug info>} 0x\[0-9a-f\]+ <\.?gnu_ifunc>" "p gnu_ifunc not executing without debug"
-gdb_test "info sym gnu_ifunc" "gnu_ifunc in section .*" "info sym gnu_ifunc not executing without debug"


hooks/post-receive
--
Repository for Project Archer.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-03-21 21:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-21 21:57 [SCM] archer-jankratochvil-ifunc: Fix crash regression 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).