Eliot, im adding the output. i hope this helps
thanks
(gdb) exec-file StackVM (gdb) run Starting program: /home/vonbecmann/bin/stack-vm/latest/results/StackVM [Thread debugging using libthread_db enabled]
Program received signal SIGILL, Illegal instruction. 0x08092ccb in ?? () (gdb) info registers eax 0xe7a4d948 -408626872 ecx 0xe7a4d948 -408626872 edx 0xc663c 812604 ebx 0xc663c 812604 esp 0xbfffebd0 0xbfffebd0 ebp 0xbfffebe8 0xbfffebe8 esi 0x0 0 edi 0x0 0 eip 0x8092ccb 0x8092ccb eflags 0x10206 [ PF IF RF ] cs 0x73 115 ss 0x7b 123 ds 0x7b 123 es 0x7b 123 fs 0x0 0 gs 0x33 51 (gdb)
On Sat, Aug 6, 2011 at 3:40 PM, Eliot Miranda eliot.miranda@gmail.comwrote:
Bernardo,
can you include the output from "info registers" when it crashes
please?
On Fri, Aug 5, 2011 at 9:32 PM, Bernardo Ezequiel Contreras < vonbecmann@gmail.com> wrote:
Hi all,
im trying to compile the stack vm on unix with debug options because i'm getting an illegal instruction, see below
Starting program: /home/vonbecmann/bin/stack-vm/latest/results/StackVM [Thread debugging using libthread_db enabled]
Program received signal SIGILL, Illegal instruction. 0x08092ccb in ?? () (gdb) bt #0 0x08092ccb in ?? () #1 0x080930ee in ?? () #2 0x0809314d in ?? () #3 0x08095b77 in ?? () #4 0x00189ce7 in __libc_start_main () from /lib/libc.so.6 #5 0x0805cd91 in ?? () (gdb) x/i $pc => 0x8092ccb: movq %xmm7,0x8187ef8 (gdb)
But i dont know what to do next. maybe im using the wrong libraries to compile it
what should i do?? any ideas?
Thanks in advance
-- best, Eliot