package gdb:/usr/src/gdb> gdb -c core 
/usr/libexec/gcc/x86_64-unknown-linux-gnu/4.9.2/cc1plus
GNU gdb (GDB) 7.9
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from 
/usr/libexec/gcc/x86_64-unknown-linux-gnu/4.9.2/cc1plus...done.
[New LWP 3483]

warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
Core was generated by `/usr/libexec/gcc/x86_64-unknown-linux-gnu/4.9.2/cc1plus 
-quiet -D_GNU_SOURCE fo'.
Program terminated with signal SIGABRT, Aborted.
#0  0x00007fe02006a497 in __GI_raise (sig=sig@entry=6) at 
../sysdeps/unix/sysv/linux/raise.c:55
55      return INLINE_SYSCALL (tgkill, 3, pid, selftid, sig);
(gdb) bt
#0  0x00007fe02006a497 in __GI_raise (sig=sig@entry=6) at 
../sysdeps/unix/sysv/linux/raise.c:55
#1  0x00007fe02006b86a in __GI_abort () at abort.c:89
#2  0x0000000000df9f8b in real_abort () at ../../gcc-4.9.2/gcc/diagnostic.c:1200
#3 diagnostic_action_after_output (context=context@entry=0x1641980 <global_diagnostic_context>, diagnostic=0x7fffe679a470) at ../../gcc-4.9.2/gcc/diagnostic.c:447 #4 0x0000000000dfa205 in diagnostic_report_diagnostic (context=0x1641980 <global_diagnostic_context>, diagnostic=diagnostic@entry=0x7fffe679a470)
    at ../../gcc-4.9.2/gcc/diagnostic.c:804
#5  0x0000000000dfaf90 in internal_error (gmsgid=gmsgid@entry=0xebcf78 "%s") at 
../../gcc-4.9.2/gcc/diagnostic.c:1136
#6  0x0000000000950180 in crash_signal (signo=4) at 
../../gcc-4.9.2/gcc/toplev.c:337
#7 <signal handler called>
#8  0x00007fe021043dde in __gmpn_mul_1 () from /usr/lib/libgmp.so.10
#9  0x000000000000000a in ?? ()
#10 0x00000000035c5d03 in ?? ()
#11 0x0000000000000061 in ?? ()
#12 0x00007fe02104e7bd in __gmpn_bc_set_str () from /usr/lib/libgmp.so.10
#13 0x00007fe02104ec0d in __gmpn_set_str () from /usr/lib/libgmp.so.10
#14 0x00007fe0212ce3e9 in parsed_string_to_mpfr () from /usr/lib/libmpfr.so.4
#15 0x00007fe0212cf73b in mpfr_strtofr () from /usr/lib/libmpfr.so.4
#16 0x00000000008d3fae in real_from_string (r=r@entry=0x7fffe679b750, str=<optimized out>) at ../../gcc-4.9.2/gcc/real.c:2045 #17 0x00000000008d491d in real_from_string3 (r=0x7fffe679b750, s=<optimized out>, mode=SFmode) at ../../gcc-4.9.2/gcc/real.c:2110 #18 0x000000000066b6bf in interpret_float (token=token@entry=0x7fe01ffaf150, flags=<optimized out>, flags@entry=274, suffix=<optimized out>,
    overflow=overflow@entry=0x7fffe679b824) at 
../../gcc-4.9.2/gcc/c-family/c-lex.c:793
#19 0x000000000066c274 in c_lex_with_flags (value=value@entry=0x7fffe679b8b0, loc=loc@entry=0x7fffe679b8a8, cpp_flags=cpp_flags@entry=0x7fffe679b8a2 "\001",
    lex_flags=lex_flags@entry=2) at ../../gcc-4.9.2/gcc/c-family/c-lex.c:336
#20 0x000000000059bd70 in cp_lexer_get_preprocessor_token (lexer=lexer@entry=0x7fe01fe497b0, token=token@entry=0x7fffe679b8a0) at ../../gcc-4.9.2/gcc/cp/parser.c:761
#21 0x00000000005ca829 in cp_lexer_new_main () at 
../../gcc-4.9.2/gcc/cp/parser.c:641
#22 cp_parser_new () at ../../gcc-4.9.2/gcc/cp/parser.c:3407
#23 c_parse_file () at ../../gcc-4.9.2/gcc/cp/parser.c:31698
#24 0x0000000000671014 in c_common_parse_file () at 
../../gcc-4.9.2/gcc/c-family/c-opts.c:1067
#25 0x00000000009501a2 in compile_file () at ../../gcc-4.9.2/gcc/toplev.c:548
#26 0x0000000000951dd0 in do_compile () at ../../gcc-4.9.2/gcc/toplev.c:1926
#27 toplev_main (argc=14, argv=0x7fffe679ba28) at 
../../gcc-4.9.2/gcc/toplev.c:2002
#28 0x00007fe0200577e0 in __libc_start_main (main=0x52a890 <main(int, char**)>, argc=14, argv=0x7fffe679ba28, init=<optimized out>, fini=<optimized out>,
    rtld_fini=<optimized out>, stack_end=0x7fffe679ba18) at libc-start.c:289
#29 0x000000000052a8c9 in _start () at ../sysdeps/x86_64/start.S:118
(gdb)
#0  0x00007fe02006a497 in __GI_raise (sig=sig@entry=6) at 
../sysdeps/unix/sysv/linux/raise.c:55
#1  0x00007fe02006b86a in __GI_abort () at abort.c:89
#2  0x0000000000df9f8b in real_abort () at ../../gcc-4.9.2/gcc/diagnostic.c:1200
#3 diagnostic_action_after_output (context=context@entry=0x1641980 <global_diagnostic_context>, diagnostic=0x7fffe679a470) at ../../gcc-4.9.2/gcc/diagnostic.c:447 #4 0x0000000000dfa205 in diagnostic_report_diagnostic (context=0x1641980 <global_diagnostic_context>, diagnostic=diagnostic@entry=0x7fffe679a470)
    at ../../gcc-4.9.2/gcc/diagnostic.c:804
#5  0x0000000000dfaf90 in internal_error (gmsgid=gmsgid@entry=0xebcf78 "%s") at 
../../gcc-4.9.2/gcc/diagnostic.c:1136
#6  0x0000000000950180 in crash_signal (signo=4) at 
../../gcc-4.9.2/gcc/toplev.c:337
#7 <signal handler called>
#8  0x00007fe021043dde in __gmpn_mul_1 () from /usr/lib/libgmp.so.10
#9  0x000000000000000a in ?? ()
#10 0x00000000035c5d03 in ?? ()
#11 0x0000000000000061 in ?? ()
#12 0x00007fe02104e7bd in __gmpn_bc_set_str () from /usr/lib/libgmp.so.10
#13 0x00007fe02104ec0d in __gmpn_set_str () from /usr/lib/libgmp.so.10
#14 0x00007fe0212ce3e9 in parsed_string_to_mpfr () from /usr/lib/libmpfr.so.4
#15 0x00007fe0212cf73b in mpfr_strtofr () from /usr/lib/libmpfr.so.4
#16 0x00000000008d3fae in real_from_string (r=r@entry=0x7fffe679b750, str=<optimized out>) at ../../gcc-4.9.2/gcc/real.c:2045 #17 0x00000000008d491d in real_from_string3 (r=0x7fffe679b750, s=<optimized out>, mode=SFmode) at ../../gcc-4.9.2/gcc/real.c:2110 #18 0x000000000066b6bf in interpret_float (token=token@entry=0x7fe01ffaf150, flags=<optimized out>, flags@entry=274, suffix=<optimized out>,
    overflow=overflow@entry=0x7fffe679b824) at 
../../gcc-4.9.2/gcc/c-family/c-lex.c:793
#19 0x000000000066c274 in c_lex_with_flags (value=value@entry=0x7fffe679b8b0, loc=loc@entry=0x7fffe679b8a8, cpp_flags=cpp_flags@entry=0x7fffe679b8a2 "\001",
    lex_flags=lex_flags@entry=2) at ../../gcc-4.9.2/gcc/c-family/c-lex.c:336
#20 0x000000000059bd70 in cp_lexer_get_preprocessor_token (lexer=lexer@entry=0x7fe01fe497b0, token=token@entry=0x7fffe679b8a0) at ../../gcc-4.9.2/gcc/cp/parser.c:761
#21 0x00000000005ca829 in cp_lexer_new_main () at 
../../gcc-4.9.2/gcc/cp/parser.c:641
#22 cp_parser_new () at ../../gcc-4.9.2/gcc/cp/parser.c:3407
#23 c_parse_file () at ../../gcc-4.9.2/gcc/cp/parser.c:31698
#24 0x0000000000671014 in c_common_parse_file () at 
../../gcc-4.9.2/gcc/c-family/c-opts.c:1067
#25 0x00000000009501a2 in compile_file () at ../../gcc-4.9.2/gcc/toplev.c:548
#26 0x0000000000951dd0 in do_compile () at ../../gcc-4.9.2/gcc/toplev.c:1926
#27 toplev_main (argc=14, argv=0x7fffe679ba28) at 
../../gcc-4.9.2/gcc/toplev.c:2002
#28 0x00007fe0200577e0 in __libc_start_main (main=0x52a890 <main(int, char**)>, argc=14, argv=0x7fffe679ba28, init=<optimized out>, fini=<optimized out>,
    rtld_fini=<optimized out>, stack_end=0x7fffe679ba18) at libc-start.c:289
#29 0x000000000052a8c9 in _start () at ../sysdeps/x86_64/start.S:118
(gdb) disassemble 0x00007fe02006a51f,+32
Dump of assembler code from 0x7fe02006a51f to 0x7fe02006a53f:
   0x00007fe02006a51f:    add    %cl,-0x39(%rax)
   0x00007fe02006a522 <__restore_rt+2>:    rorb   $0x0,(%rdi)
   0x00007fe02006a525 <__restore_rt+5>:    add    %al,(%rax)
   0x00007fe02006a527 <__restore_rt+7>:    syscall
   0x00007fe02006a529 <__restore_rt+9>:    nopl   0x0(%rax)
   0x00007fe02006a530 <__GI___libc_sigaction+0>:    sub    $0xd0,%rsp
   0x00007fe02006a537 <__GI___libc_sigaction+7>:    test   %rsi,%rsi
   0x00007fe02006a53a <__GI___libc_sigaction+10>:    mov    %rdx,%r8
   0x00007fe02006a53d <__GI___libc_sigaction+13>:    je     0x7fe02006a718 
<__GI___libc_sigaction+488>
End of assembler dump.
(gdb)
Dump of assembler code from 0x7fe02006a51f to 0x7fe02006a53f:
   0x00007fe02006a51f:    add    %cl,-0x39(%rax)
   0x00007fe02006a522 <__restore_rt+2>:    rorb   $0x0,(%rdi)
   0x00007fe02006a525 <__restore_rt+5>:    add    %al,(%rax)
   0x00007fe02006a527 <__restore_rt+7>:    syscall
   0x00007fe02006a529 <__restore_rt+9>:    nopl   0x0(%rax)
   0x00007fe02006a530 <__GI___libc_sigaction+0>:    sub    $0xd0,%rsp
   0x00007fe02006a537 <__GI___libc_sigaction+7>:    test   %rsi,%rsi
   0x00007fe02006a53a <__GI___libc_sigaction+10>:    mov    %rdx,%r8
   0x00007fe02006a53d <__GI___libc_sigaction+13>:    je     0x7fe02006a718 
<__GI___libc_sigaction+488>
End of assembler dump.
(gdb) disassemble 0x00007fe02006a497,+256
Dump of assembler code from 0x7fe02006a497 to 0x7fe02006a597:
=> 0x00007fe02006a497 <__GI_raise+55>:    cmp    $0xfffffffffffff000,%rax
   0x00007fe02006a49d <__GI_raise+61>:    ja     0x7fe02006a4c0 <__GI_raise+96>
   0x00007fe02006a49f <__GI_raise+63>:    repz retq
   0x00007fe02006a4a1 <__GI_raise+65>:    nopl   0x0(%rax)
   0x00007fe02006a4a8 <__GI_raise+72>:    test   %ecx,%ecx
   0x00007fe02006a4aa <__GI_raise+74>:    jg     0x7fe02006a487 <__GI_raise+39>
   0x00007fe02006a4ac <__GI_raise+76>:    mov    %ecx,%edx
   0x00007fe02006a4ae <__GI_raise+78>:    neg    %edx
   0x00007fe02006a4b0 <__GI_raise+80>:    and    $0x7fffffff,%ecx
   0x00007fe02006a4b6 <__GI_raise+86>:    cmove  %esi,%edx
   0x00007fe02006a4b9 <__GI_raise+89>:    mov    %edx,%ecx
   0x00007fe02006a4bb <__GI_raise+91>:    jmp    0x7fe02006a487 <__GI_raise+39>
   0x00007fe02006a4bd <__GI_raise+93>:    nopl   (%rax)
   0x00007fe02006a4c0 <__GI_raise+96>:    mov    0x3699a1(%rip),%rdx        # 
0x7fe0203d3e68
   0x00007fe02006a4c7 <__GI_raise+103>:    neg    %eax
   0x00007fe02006a4c9 <__GI_raise+105>:    mov    %eax,%fs:(%rdx)
   0x00007fe02006a4cc <__GI_raise+108>:    mov    $0xffffffff,%eax
   0x00007fe02006a4d1 <__GI_raise+113>:    retq
   0x00007fe02006a4d2:    nopw   %cs:0x0(%rax,%rax,1)
   0x00007fe02006a4dc:    nopl   0x0(%rax)
   0x00007fe02006a4e0 <killpg+0>:    test   %edi,%edi
   0x00007fe02006a4e2 <killpg+2>:    js     0x7fe02006a4f0 <killpg+16>
   0x00007fe02006a4e4 <killpg+4>:    neg    %edi
   0x00007fe02006a4e6 <killpg+6>:    jmpq   0x7fe02006a7c0 <kill>
   0x00007fe02006a4eb <killpg+11>:    nopl   0x0(%rax,%rax,1)
   0x00007fe02006a4f0 <killpg+16>:    mov    0x369971(%rip),%rax        # 
0x7fe0203d3e68
   0x00007fe02006a4f7 <killpg+23>:    movl   $0x16,%fs:(%rax)
   0x00007fe02006a4fe <killpg+30>:    mov    $0xffffffff,%eax
   0x00007fe02006a503 <killpg+35>:    retq
   0x00007fe02006a504:    nopw   %cs:0x0(%rax,%rax,1)
   0x00007fe02006a50e:    xchg   %ax,%ax
   0x00007fe02006a510:    nop
   0x00007fe02006a511:    data16 data16 data16 data16 data16 nopw 
%cs:0x0(%rax,%rax,1)
   0x00007fe02006a520 <__restore_rt+0>:    mov    $0xf,%rax
   0x00007fe02006a527 <__restore_rt+7>:    syscall
   0x00007fe02006a529 <__restore_rt+9>:    nopl   0x0(%rax)
   0x00007fe02006a530 <__GI___libc_sigaction+0>:    sub    $0xd0,%rsp
   0x00007fe02006a537 <__GI___libc_sigaction+7>:    test   %rsi,%rsi
   0x00007fe02006a53a <__GI___libc_sigaction+10>:    mov    %rdx,%r8
---Type <return> to continue, or q <return> to quit---
   0x00007fe02006a53d <__GI___libc_sigaction+13>:    je     0x7fe02006a718 
<__GI___libc_sigaction+488>
   0x00007fe02006a543 <__GI___libc_sigaction+19>:    mov    0x8(%rsi),%rdx
   0x00007fe02006a547 <__GI___libc_sigaction+23>:    lea    -0x78(%rsp),%r9
   0x00007fe02006a54c <__GI___libc_sigaction+28>:    mov    (%rsi),%rax
   0x00007fe02006a54f <__GI___libc_sigaction+31>:    mov    %rdx,-0x60(%rsp)
   0x00007fe02006a554 <__GI___libc_sigaction+36>:    mov    0x10(%rsi),%rdx
   0x00007fe02006a558 <__GI___libc_sigaction+40>:    mov    %rax,-0x78(%rsp)
   0x00007fe02006a55d <__GI___libc_sigaction+45>:    mov    %rdx,0x20(%r9)
   0x00007fe02006a561 <__GI___libc_sigaction+49>:    mov    0x18(%rsi),%rdx
   0x00007fe02006a565 <__GI___libc_sigaction+53>:    mov    %rdx,0x28(%r9)
   0x00007fe02006a569 <__GI___libc_sigaction+57>:    mov    0x20(%rsi),%rdx
   0x00007fe02006a56d <__GI___libc_sigaction+61>:    mov    %rdx,0x30(%r9)
   0x00007fe02006a571 <__GI___libc_sigaction+65>:    mov    0x28(%rsi),%rdx
   0x00007fe02006a575 <__GI___libc_sigaction+69>:    mov    %rdx,0x38(%r9)
   0x00007fe02006a579 <__GI___libc_sigaction+73>:    mov    0x30(%rsi),%rdx
   0x00007fe02006a57d <__GI___libc_sigaction+77>:    mov    %rdx,0x40(%r9)
   0x00007fe02006a581 <__GI___libc_sigaction+81>:    mov    0x38(%rsi),%rdx
   0x00007fe02006a585 <__GI___libc_sigaction+85>:    mov    %rdx,0x48(%r9)
   0x00007fe02006a589 <__GI___libc_sigaction+89>:    mov    0x40(%rsi),%rdx
   0x00007fe02006a58d <__GI___libc_sigaction+93>:    mov    %rdx,0x50(%r9)
   0x00007fe02006a591 <__GI___libc_sigaction+97>:    mov    0x48(%rsi),%rdx
   0x00007fe02006a595 <__GI___libc_sigaction+101>:    mov    %rdx,0x58(%r9)
End of assembler dump.
(gdb) quit
package gdb:/usr/src/gdb>


Wayne Sallee
wa...@waynesallee.com
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to