Commit 2ddbbd10de80b3d364d726fe6dda824a37cb42b0
1 parent
9fa3e853
(temporary) only physical dump is possible in gdb
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@519 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
2 additions
and
2 deletions
gdbstub.c
... | ... | @@ -248,8 +248,8 @@ static int put_packet(char *buf) |
248 | 248 | return 0; |
249 | 249 | } |
250 | 250 | |
251 | - /* better than nothing for SOFTMMU : we use physical addresses */ | |
252 | -#ifdef CONFIG_SOFTMMU | |
251 | +/* better than nothing for SOFTMMU : we use physical addresses */ | |
252 | +#if !defined(CONFIG_USER_ONLY) | |
253 | 253 | static int memory_rw(uint8_t *buf, uint32_t addr, int len, int is_write) |
254 | 254 | { |
255 | 255 | uint8_t *ptr; | ... | ... |