Re: std::cin in Fiasco/L4Re (with 'make qemu')

Björn Döbel <[email protected]>
Newsgroups gmane.comp.micro-kernel.l4.devel
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 03.04.2014 01:02, Emanuel Berg wrote:
> Adam Lackorzynski <[email protected]> writes:
> 
>> I'm not sure where you enter this.  For me, the following works
>> quite fine:
> 
> I tried it in xterm and it was the same thing. But after the
> assertion failed (the C++ assert, due to the inconsistent read),
> execution seemingly "falls back" to the qemu prompt (actually it is
> never anywhere else) - which looks like this: (qemu) - so I thought
> I'd hit the digit again (the presumed input). And indeed, it 
> produced the same error message ('unknown command') - so the
> problem is: the software (running on Fiasco/L4Re, running on qemu)
> isn't getting the stdin, as that is intercepted by *qemu* (and
> interpreted as a command, as it says). So it doesn't matter how we
> twist it: getchar, scanf (hex or decimal), std::cin, or whatever
> else we can think of to try.

Could you tell us how exactly you are starting qemu?

Bjoern
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iEYEARECAAYFAlM9A4EACgkQP5ijxgQLUNlVzwCeMknE1l5j+TSxLtvbrG+pp1Gt
qUgAniapjgZgUIVtl/j1aTx3JuJgrRde
=Up0w
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.