public inbox for frysk@sourceware.org
 help / color / mirror / Atom feed
* Some trouble writing a testcase
@ 2007-05-14 16:47 Adam Jocksch
  2007-05-14 18:04 ` Adam Jocksch
  0 siblings, 1 reply; 2+ messages in thread
From: Adam Jocksch @ 2007-05-14 16:47 UTC (permalink / raw)
  To: frysk

Ok, I'm trying to write a simple testcase for the newly created Display 
class and I'm uncovering some of the rust that's built up over that last 
few months :P. Essentially the test I want to create consists of having 
a program:

  int x;
  x = 1; *
  x = 2; **

Then creating breakpoints at the two lines marked by * and ** and then 
printing out the variable values (via Display) at those two points. 
Right now I'm using AttachedDaemonProcess to create a proc that's 
attached and blocked at the first address of the program. However I'm 
having some difficulties find the right sequence of calls to add the 
breakpoints. Currently I'm trying LineBreakoint.addLineBreakpoint() and 
then adding my own delegate observer to pick up on the calls. Is this 
correct, or is there something else I should be doing?

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-05-14 18:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-14 16:47 Some trouble writing a testcase Adam Jocksch
2007-05-14 18:04 ` Adam Jocksch

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