> gdb /usr/ports/emulators/qemu/work/qemu-snapshot-2006-12-25_05/i386-softmmu/qemu qemu.core
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd"...
Core was generated by `qemu'.
Program terminated with signal 10, Bus error.
Reading symbols from /lib/libm.so.4...done.
Loaded symbols for /lib/libm.so.4
Reading symbols from /lib/libz.so.3...done.
Loaded symbols for /lib/libz.so.3
Reading symbols from /lib/libutil.so.6...done.
Loaded symbols for /lib/libutil.so.6
Reading symbols from /lib/libc.so.7...done.
Loaded symbols for /lib/libc.so.7
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
#0 0x00000000004aac96 in tb_find_fast () at /usr/ports/emulators/qemu/work/qemu-snapshot-2006-12-25_05/cpu-exec.c:208
208 tb = env->tb_jmp_cache[tb_jmp_cache_hash_func(pc)];
(gdb) info thr
* 1 process 100080 0x00000000004aac96 in tb_find_fast () at /usr/ports/emulators/qemu/work/qemu-snapshot-2006-12-25_05/cpu-exec.c:208
(gdb) bt full
#0 0x00000000004aac96 in tb_find_fast () at /usr/ports/emulators/qemu/work/qemu-snapshot-2006-12-25_05/cpu-exec.c:208
tb = (TranslationBlock *) 0x800b0731b
cs_base = 103600
pc = 83488
flags = 1709095707
#1 0x00000000004aaaf7 in cpu_x86_exec (env1=0x0) at /usr/ports/emulators/qemu/work/qemu-snapshot-2006-12-25_05/cpu-exec.c:658
saved_T0 = 0
saved_T1 = -6360
saved_T2 = 0
saved_env = (CPUX86State *) 0x0
ret = 0
interrupt_request = 2
gen_func = (void (*)(void)) 0
tb = (TranslationBlock *) 0x0
tc_ptr = (__uint8_t *) 0x0
Previous frame inner to this frame (corrupt stack?)
(gdb)
> gdb /usr/ports/emulators/qemu/work/qemu-snapshot-2006-12-25_05/x86_64-softmmu/qemu-system-x86_64 qemu-system-x86_64.core
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd"...
warning: core file may not match specified executable file.
Core was generated by `qemu-system-x86_64'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libm.so.4...done.
Loaded symbols for /lib/libm.so.4
Reading symbols from /lib/libz.so.3...done.
Loaded symbols for /lib/libz.so.3
Reading symbols from /lib/libutil.so.6...done.
Loaded symbols for /lib/libutil.so.6
Reading symbols from /lib/libc.so.7...done.
Loaded symbols for /lib/libc.so.7
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
#0 0x00000000004a816e in tlb_set_page_exec (env=0x8010d0000, vaddr=0, paddr=0, prot=7, is_user=-6376, is_softmmu=1)
at /usr/ports/emulators/qemu/work/qemu-snapshot-2006-12-25_05/exec.c:1504
1504 te->addend = addend;
(gdb) info thr
* 1 process 100116 0x00000000004a816e in tlb_set_page_exec (env=0x8010d0000, vaddr=0, paddr=0, prot=7, is_user=-6376, is_softmmu=1)
at /usr/ports/emulators/qemu/work/qemu-snapshot-2006-12-25_05/exec.c:1504
(gdb) bt full
#0 0x00000000004a816e in tlb_set_page_exec (env=0x8010d0000, vaddr=0, paddr=0, prot=7, is_user=-6376, is_softmmu=1)
at /usr/ports/emulators/qemu/work/qemu-snapshot-2006-12-25_05/exec.c:1504
p = (PhysPageDesc *) 0x800683000
pd = 0
index = 0
address = 0
addend = 34378612736
ret = 0
te = (CPUTLBEntry *) 0x7fdf004d0
#1 0x00000000004f3378 in cpu_x86_handle_mmu_fault (env=0x8010d0000, addr=0, is_write1=0, is_user=-6376, is_softmmu=1)
at /usr/ports/emulators/qemu/work/qemu-snapshot-2006-12-25_05/target-i386/helper2.c:867
ptep = 34366495744
pte = 0
pdpe_addr = 8
pde_addr = 6757376
pte_addr = 8
error_code = 6756352
is_dirty = 8
prot = 7
page_size = 4096
ret = 6754304
is_write = 0
paddr = 0
page_offset = 0
vaddr = 0
virt_addr = 0
#2 0x00000000004f1359 in tlb_fill (addr=0, is_write=0, is_user=-6376, retaddr=0x0)
at /usr/ports/emulators/qemu/work/qemu-snapshot-2006-12-25_05/target-i386/helper.c:3829
tb = (TranslationBlock *) 0x0
ret = 0
pc = 0
saved_env = (CPUX86State *) 0x0
Previous frame inner to this frame (corrupt stack?)
(gdb)