<html>
<head>
<meta content="text/html; charset=ISO-8859-2"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
On 08/13/2012 03:18 PM, Krzysztof Mięsowicz wrote:
<blockquote
cite="mid:CANNpagptc1iZVp1wcpMfChzRM-7XbvYR1OgMCUW+=fqb5zZT7Q@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-2">
I didn't have dos2unix installed, but i have installed it now.
I'll try to invoke do_coverage without running tests as there were
executed.
<div><br>
</div>
<div>I ran pc386 -c hello.exe after your earlier mail. It created
log file:</div>
<div><br>
</div>
<div>
<div><font face="courier new, monospace">Could not open option
rom 'sgabios.bin': No such file or directory</font></div>
<div><font face="courier new, monospace"><br>
</font></div>
</div>
</blockquote>
Did you do a make install on your qemu build? <br>
<br>
This is what I see on my machine:<br>
<br>
$ type qemu<br>
qemu is /home/joel/qemu/git/install/bin/qemu<br>
$ find /home/joel/qemu/git/install/ -name "*bios.bin"<br>
/home/joel/qemu/git/install/share/qemu/sgabios.bin<br>
/home/joel/qemu/git/install/share/qemu/bios.bin<br>
/home/joel/qemu/git/install/share/qemu/vgabios.bin<br>
<br>
<blockquote
cite="mid:CANNpagptc1iZVp1wcpMfChzRM-7XbvYR1OgMCUW+=fqb5zZT7Q@mail.gmail.com"
type="cite">
<div>
<div><font face="courier new, monospace"><br>
</font></div>
<div><font face="courier new, monospace">*** HELLO WORLD TEST
***</font></div>
<div><font face="courier new, monospace">Hello World</font></div>
<div><font face="courier new, monospace">*** END OF HELLO WORLD
TEST ***</font></div>
<div><br>
</div>
<div>It created also hello.exe.cov file.</div>
<div><br>
</div>
<div><br>
</div>
</div>
</blockquote>
How large is the hello.exe.cov file?<br>
<br>
Looks like progress. :)<br>
<br>
If you peek in the do_coverage script, you can see how it invokes
covoar.<br>
Covoar can be invoked the same way from the command line on just<br>
that hello.exe. This will at least confirm that covoar can read the
.cov file<br>
format used by this qemu. <br>
<br>
FWIW what we are calling a .cov (coverage) file, qemu refers to as a
"tra"<br>
or trace file. There is a .h file which defines the structure of
this file in covoar<br>
and a C++ class to read it. If they have changed the format, we
might have<br>
an issue. qemu-traces.h in covoar is the .h file in question. Any
changes to that<br>
in your qemu source could ripple into covoar.<br>
<br>
<pre class="moz-signature" cols="72">--
Joel Sherrill, Ph.D. Director of Research& Development
<a class="moz-txt-link-abbreviated" href="mailto:joel.sherrill@OARcorp.com">joel.sherrill@OARcorp.com</a> On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
</pre>
</body>
</html>