Bug 4103

Summary: Remove dwfl stuff from StackFrame-related testcases
Product: frysk Reporter: Mike Cvet <mcvet>
Component: generalAssignee: Mike Cvet <mcvet>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on: 4107    
Bug Blocks: 2234, 3346    

Description Mike Cvet 2007-02-27 14:16:08 UTC
And instead use line info from the frames themselves, generating traces 
beforehand.
Comment 1 Mike Cvet 2007-02-27 16:46:44 UTC
2007-02-27  Mike Cvet  <mcvet@redhat.com>

	* TestRunState.java: Removed references to Dwfl objects. Fixes #4103.
	* TestStepping.java: Ditto.
	* TestStackBacktrace.java: Ditto.
Comment 2 Mike Cvet 2007-02-27 16:47:02 UTC
2007-02-27  Mike Cvet  <mcvet@redhat.com>

	* TestRunState.java: Removed references to Dwfl objects. Fixes #4103.
	* TestStepping.java: Ditto.
	* TestStackBacktrace.java: Ditto.
Comment 3 Andrew Cagney 2007-02-27 17:43:20 UTC
1)
testRecursiveLineStepping(frysk.rt.TestStepping)junit.framework.AssertionFailedError:
event loop run explictly stopped (Attempting to add observer)
   at frysk.proc.TestLib.assertRunUntilStop(TestRunner)
   at frysk.proc.TestLib.assertRunUntilStop(TestRunner)
   at frysk.rt.TestStepping.testRecursiveLineStepping(TestRunner)
   at frysk.junit.Runner.runCases(TestRunner)
   at frysk.junit.Runner.runArchCases(TestRunner)
   at frysk.junit.Runner.runTestCases(TestRunner)
   at TestRunner.main(TestRunner)
Comment 4 Mike Cvet 2007-03-05 16:04:31 UTC
I can't reproduce the above, but that's because I'm running into 4107 before it 
happens.
Comment 5 Mike Cvet 2007-03-15 18:49:39 UTC
2007-03-15  Mike Cvet  <mcvet@redhat.com>

	* TestStepping.java: Deleted old constants, added new ones.
	(test): Determines which test is running.
	(CFile): Source file path for test program.
	(testRecursiveLineStepping): Removed.
	(testASMStepping): Removed.
	(testLineStepFunctionCall): Added.
	(testLineStepIfStatementPass): Added.
	(testLineStepIfStatementFail): Added.
	(testLineStepFunctionReturn): Added.
	(testASMSingleStep): Added.
	(testASMMultiStep): Added.
	(testASMJump): Added.
	(setUpTest): Re-written.
	(assertions): Added. Cleaner method for making assertions on
	stepping results.
	(AttachedObserver.updateAttached): Delete AttachedObserver from task.
	(AttachedObserver.deletedFrom): Add RunState from here.
	(LockObserver.update): Cleaned up.