public inbox for frysk-cvs@sourceware.org
help / color / mirror / Atom feed
* [SCM]  master: TestBreakpoints.testHpdBreakpoint() call load and start. Fixes bug #5165.
@ 2008-04-18 20:39 mark
  0 siblings, 0 replies; only message in thread
From: mark @ 2008-04-18 20:39 UTC (permalink / raw)
  To: frysk-cvs

The branch, master has been updated
       via  d4a7d359240fcc179d83dc5cbb3b1e41ea877b06 (commit)
      from  47fe8d4b087a852370e31e21eb2c2e3c7a0e274b (commit)

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

- Log -----------------------------------------------------------------
commit d4a7d359240fcc179d83dc5cbb3b1e41ea877b06
Author: Mark Wielaard <mwielaard@redhat.com>
Date:   Fri Apr 18 22:38:45 2008 +0200

    TestBreakpoints.testHpdBreakpoint() call load and start. Fixes bug #5165.
    
    frysk-core/frysk/hpd/ChangeLog
    2008-04-18  Mark Wielaard  <mwielaard@redhat.com>
    
           * TestBreakpoints.java (testHpdBreakpoint): Resolve by using
           explicit load and start command.

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

Summary of changes:
 frysk-core/frysk/hpd/ChangeLog            |    5 +++++
 frysk-core/frysk/hpd/TestBreakpoints.java |    7 ++++---
 2 files changed, 9 insertions(+), 3 deletions(-)

First 500 lines of diff:
diff --git a/frysk-core/frysk/hpd/ChangeLog b/frysk-core/frysk/hpd/ChangeLog
index 20cd689..ff92cc5 100644
--- a/frysk-core/frysk/hpd/ChangeLog
+++ b/frysk-core/frysk/hpd/ChangeLog
@@ -1,3 +1,8 @@
+2008-04-18  Mark Wielaard  <mwielaard@redhat.com>
+
+	* TestBreakpoints.java (testHpdBreakpoint): Resolve by using
+	explicit load and start command.
+
 2008-04-18  Stan Cox  <scox@redhat.com>
 
 	* CoreCommand.java (interpret): Use exePath instead of exeFile.
diff --git a/frysk-core/frysk/hpd/TestBreakpoints.java b/frysk-core/frysk/hpd/TestBreakpoints.java
index 3cb0ecc..052aea3 100644
--- a/frysk-core/frysk/hpd/TestBreakpoints.java
+++ b/frysk-core/frysk/hpd/TestBreakpoints.java
@@ -45,9 +45,10 @@ public class TestBreakpoints
     extends TestLib
 {
     public void testHpdBreakpoint() {
-	if (unresolved(5165))
-	    return;
-	e = HpdTestbed.attachXXX("hpd-c");
+	e = new HpdTestbed();
+	e.sendCommandExpectPrompt("load " + Prefix.pkgLibFile("hpd-c").getPath(),
+		"Loaded executable file.*");
+	e.sendCommandExpectPrompt("start", "Attached to process.*");
 	// Break
 	e.send("break #hpd-c.c#196\n");	// This has to break on: while (int_21)
 	e.expect("breakpoint.*" + prompt);


hooks/post-receive
--
frysk system monitor/debugger


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

only message in thread, other threads:[~2008-04-18 20:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-18 20:39 [SCM] master: TestBreakpoints.testHpdBreakpoint() call load and start. Fixes bug #5165 mark

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