]> Git Repo - qemu.git/commit - target/s390x/helper.c
s390x: s390_cpu_get_phys_page_debug has to return -1
authorDavid Hildenbrand <[email protected]>
Wed, 9 Dec 2015 15:36:42 +0000 (16:36 +0100)
committerCornelia Huck <[email protected]>
Wed, 27 Jan 2016 14:34:48 +0000 (15:34 +0100)
commit234779a2b9141d9386289ba5ed86c9d617567646
treec6d0b32f928900641ac67e9faa5d81c849ad6e72
parentb3820e6ca0c364cfa73c9bc1614d2f303fc74703
s390x: s390_cpu_get_phys_page_debug has to return -1

If translation fails, we have to return -1. For now, we
would simply return the value last stored to raddr (if any).

This way, reading invalid memory via gdb will return values, although it
shouldn't.

Reviewed-by: Christian Borntraeger <[email protected]>
Signed-off-by: David Hildenbrand <[email protected]>
Signed-off-by: Cornelia Huck <[email protected]>
target-s390x/helper.c
This page took 0.026319 seconds and 4 git commands to generate.