$ gdb dlx_test_behaviour dlx_test_behaviour.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 `dlx_test_behaviour'. Program terminated with signal 11, Segmentation fault. Reading symbols from /lib/libm.so.5...done. Loaded symbols for /lib/libm.so.5 Reading symbols from /lib/libc.so.7...done. Loaded symbols for /lib/libc.so.7 Reading symbols from /lib/libz.so.6...done. Loaded symbols for /lib/libz.so.6 Reading symbols from /libexec/ld-elf.so.1...done. Loaded symbols for /libexec/ld-elf.so.1 #0 0x00000000004299ac in work__dlx__ARCH__behaviour__interpreter__PROC () (gdb) bt #0 0x00000000004299ac in work__dlx__ARCH__behaviour__interpreter__PROC () #1 0x0000000000441c94 in grt_stack_loop () at /home/hanzer/ghdl_build/source/gcc-4.8-20130808/gcc/vhdl/grt/config/amd64.S:40 #2 0x00000008014fac00 in ?? () #3 0x0000000000429998 in work__dlx__ARCH__behaviour__interpreter__bus_read () #4 0x0000000000000000 in ?? () (gdb) frame 0 #0 0x00000000004299ac in work__dlx__ARCH__behaviour__interpreter__PROC () (gdb) list warning: Source file is more recent than executable. 40 call *8(%rsp) 41 jmp NAME(grt_stack_loop) 42 END(grt_stack_loop) 43 44 /* function Stack_Create (Func : Address; Arg : Address) 45 return Stack_Type; 46 Args: FUNC (RDI), ARG (RSI) 47 */ 48 ENTRY(grt_stack_create) 49 /* Standard prologue. */ (gdb) frame 1 #1 0x0000000000441c94 in grt_stack_loop () at /home/hanzer/ghdl_build/source/gcc-4.8-20130808/gcc/vhdl/grt/config/amd64.S:40 40 call *8(%rsp) Current language: auto; currently asm (gdb) list 35 .text 36 37 /* Function called to loop on the process. */ 38 ENTRY(grt_stack_loop) 39 mov 0(%rsp),%rdi 40 call *8(%rsp) 41 jmp NAME(grt_stack_loop) 42 END(grt_stack_loop) 43 44 /* function Stack_Create (Func : Address; Arg : Address) (gdb) frame 2 #2 0x00000008014fac00 in ?? () (gdb) list 45 return Stack_Type; 46 Args: FUNC (RDI), ARG (RSI) 47 */ 48 ENTRY(grt_stack_create) 49 /* Standard prologue. */ 50 pushq %rbp 51 movq %rsp,%rbp 52 /* Save args. */ 53 sub $0x10,%rsp 54 mov %rdi,-8(%rbp) (gdb) frame 3 #3 0x0000000000429998 in work__dlx__ARCH__behaviour__interpreter__bus_read () (gdb) list 55 mov %rsi,-16(%rbp) 56 57 /* Allocate the stack, and exit in case of failure */ 58 callq NAME(grt_stack_allocate) 59 test %rax,%rax 60 je .Ldone 61 62 /* Note: %RAX contains the address of the stack_context. This is 63 also the top of the stack. */ 64 (gdb) quit I stupidly launched a build while playing with the debugger. The "warning: Source file is more recent than executable" can probably be ignored.
signature.asc
Description: PGP signature
_______________________________________________ Ghdl-discuss mailing list [email protected] https://mail.gna.org/listinfo/ghdl-discuss
