aboutsummaryrefslogtreecommitdiff
path: root/gdbstub.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-01-04 18:07:27 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-01-04 18:07:27 +0000
commit2ddbbd10de80b3d364d726fe6dda824a37cb42b0 (patch)
treef644da26cbe5fb1f01d10614ff639d992fb2c5b2 /gdbstub.c
parent9fa3e8535317f24a921338a32f1eb18cd46fa22d (diff)
(temporary) only physical dump is possible in gdb
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@519 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'gdbstub.c')
-rw-r--r--gdbstub.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdbstub.c b/gdbstub.c
index 8b7dd9a530..140ab7f042 100644
--- a/gdbstub.c
+++ b/gdbstub.c
@@ -248,8 +248,8 @@ static int put_packet(char *buf)
return 0;
}
- /* better than nothing for SOFTMMU : we use physical addresses */
-#ifdef CONFIG_SOFTMMU
+/* better than nothing for SOFTMMU : we use physical addresses */
+#if !defined(CONFIG_USER_ONLY)
static int memory_rw(uint8_t *buf, uint32_t addr, int len, int is_write)
{
uint8_t *ptr;