This is the mail archive of the
frysk@sourceware.org
mailing list for the frysk project.
Re: Creating a display via fphd
- From: Adam Jocksch <ajocksch at redhat dot com>
- To: frysk <frysk at sources dot redhat dot com>
- Date: Wed, 20 Jun 2007 11:01:52 -0600
- Subject: Re: Creating a display via fphd
- References: <46795CC2.1@redhat.com>
The formatting got a little screwed up on my previous attempt to post
this, let's hope this fares better:
the link (in case it doesnt): http://www.pastebin.ca/raw/579352
[ajocksch@localhost frysk-core]$ frysk/bindir/fhpd /home/ajocksch/build/frysk/frysk-core/frysk/pkglibdir/funit-rt-varchange
Attached to process 7922
(fhpd) break @funit-rt-varchange.c@49
breakpoint 0
(fhpd) break @funit-rt-varchange.c@51
breakpoint 1
(fhpd) go
(fhpd) Breakpoint 0 @funit-rt-varchange.c@49
list
39
40 int x;
41 int y;
42
43 void bar(int);
44
45 int main()
46 {
47 x = 0;
48 bar(x);
49 x = 1;
50 bar(x);
51 y = 2;
52 bar(y);
53 x = 2;
54 bar(x);
55
56 return 0;
57 }
58
(fhpd) display x
x = 0
(fhpd) go
(fhpd) Breakpoint 1 @funit-rt-varchange.c@51
x = 1