<div dir="ltr">I was also facing the same problem with i386 qemu. But now I am using rtems-testing to see the output, its working fine!!.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jan 28, 2014 at 11:03 PM, Sebastian Huber <span dir="ltr"><<a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embedded-brains.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 2014-01-28 19:46, Andre Marques wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 01/28/14 14:34, Sebastian Huber wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 2014-01-28 15:30, Andre Marques wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Well, for me Qemu seems to be having some problems with the output, because I<br>
can set breakpoints, and run the code on the remote target, but Qemu doesn't<br>
show any output (with -nographic, and different consoles), or shows the output<br>
for the program passed with the -kernel parameter, regardless of what gdb says<br>
that is printing.<br>
<br>
For now I guess I'm leaving this as it is, as I've tried for several hours<br>
already to make the output work.<br>
<br>
On pc386 the -S option leads to a fatal error, because when loading the program<br>
it seems to load it on the Bios memory space. If I dont use that option all<br>
seems to work. As for arm, I could't get any output.<br>
</blockquote>
<br>
Which Qemu version do you use?  I normally use the latest Git version.<br>
<br>
If you omit the -nographic option, then you need "-serial stdio".<br>
<br>
The output appears on the terminal running Qemu (not the GDB terminal).<br>
<br>
</blockquote>
I'm using Qemu 1.5.3 from the Gentoo repositories.  It runs the program (passed<br>
with -kernel), then stays with "Any key to reboot...". Meanwhile I can connect<br>
to Qemu with gdb, load some other program and then Qemu shows nothing, just<br>
waits again.<br>
<br>
I'm using:<br>
<br>
qemu-system-i386 -m 256M -kernel hello.exe -s -serial stdio<br>
</blockquote>
<br></div>
I doubt this will work on i386 Qemu.  Here you need a boot loader, e.g. GRUB. That is one of reasons I don't use the i386 Qemu.  I would use the arm/realview_pbx_a9_qemu BSP with the latest Git version of Qemu.<div class="im HOEnZb">
<br>
<br>
<br>
-- <br>
Sebastian Huber, embedded brains GmbH<br>
<br>
Address : Dornierstr. 4, D-82178 Puchheim, Germany<br>
Phone   : <a href="tel:%2B49%2089%20189%2047%2041-16" value="+4989189474116" target="_blank">+49 89 189 47 41-16</a><br>
Fax     : <a href="tel:%2B49%2089%20189%2047%2041-09" value="+4989189474109" target="_blank">+49 89 189 47 41-09</a><br>
E-Mail  : <a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embedded-<u></u>brains.de</a><br>
PGP     : Public key available on request.<br>
<br>
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.<br></div><div class="HOEnZb"><div class="h5">
______________________________<u></u>_________________<br>
rtems-users mailing list<br>
<a href="mailto:rtems-users@rtems.org" target="_blank">rtems-users@rtems.org</a><br>
<a href="http://www.rtems.org/mailman/listinfo/rtems-users" target="_blank">http://www.rtems.org/mailman/<u></u>listinfo/rtems-users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr"><span style="border-collapse:collapse"></span> <br>Garvit Sharma<span style="border-collapse:collapse"></span><span style="border-collapse:collapse"><div>
<span style="color:rgb(136,136,136);border-collapse:collapse;font-family:arial,sans-serif;font-size:13px"><div>B.Tech | Computer Science and Engineering</div><div>UG Final year</div><div>LNM IIT, Jaipur</div><div><br></div>
</span><font size="3" color="#808080" face="times"><span style="line-height:20px"><i>No Body is a Scholar by birth, its only hard work and strong determination that makes him master.</i></span></font></div><div style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px">
<span style="color:rgb(128,128,128);font-family:times;font-size:16px;line-height:20px"><i><br></i></span></div></span></div>
</div>