On 08/11/2011 10:01 PM, Gerhard Wiesinger wrote:
On Thu, 11 Aug 2011, Avi Kivity wrote:
Or maybe it's just -O2 screwing up debug information. Please change
./configure to set -O1 and redo.
Please print *r.memory as well.
./configure --target-list=x86_64-softmmu,i386-softmmu --enable-debug
Rest below.
Please run again using
gdb -x memory.gdb --args qemu-system-x86_64 ...
and the attached memory.gdb. Please post the entire log generated.
--
error compiling committee.c: too many arguments to function
handle SIGUSR2 pass noprint
handle SIG38 pass noprint
def dump_mr
set $mr = $arg0
printf "%p/%p addr %x parent %p name %s\n", $mr, $mr.ops, $mr.addr, $mr.parent, $mr.name
end
break memory_region_add_subregion
commands 1
dump_mr subregion
cont
end
break memory_region_del_subregion
commands 2
dump_mr subregion
printf "parent %p\n", mr
cont
end
break memory_region_destroy
commands 3
dump_mr mr
cont
end
break memory_region_init
commands 4
cont
end
break memory_region_init_io
commands 5
cont
end
break memory_region_init_ram_ptr
commands 6
cont
end
break memory_region_init_alias
commands 7
cont
end
run