]> git.proxmox.com Git - qemu.git/commit - m68k-semi.c
m68k-semi.c: Use correct check for failure of do_brk()
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 18 Apr 2011 15:34:26 +0000 (16:34 +0100)
committerRiku Voipio <riku.voipio@iki.fi>
Tue, 21 Jun 2011 17:29:01 +0000 (20:29 +0300)
commit5382a012e8ce7cf5ea612d291286be827574c181
tree38e6f625a2313694b7c0fd3c1a8cbfc75ea7a4d0
parent206ae74aea5593f5f5bad769a6b4f101f17bc6fd
m68k-semi.c: Use correct check for failure of do_brk()

In the m68k semihosting implementation of HOSTED_INIT_SIM, use the correct
check for whether do_brk() has failed -- it does not return -1 but the
previous value of the break limit.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
m68k-semi.c