On 10/02/2015 10:23 PM, Michael Shell wrote:
Ok, try this chant: gdb -c core /usr/libexec/gcc/x86_64-unknown-linux-gnu/4.9.2/cc1plus (gdb) disassemble 0x00007fe021043dde,+8
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) (gdb) disassemble 0x00007fe021043dde,+8 Dump of assembler code from 0x7fe021043dde to 0x7fe021043de6: 0x00007fe021043dde <__gmpn_mul_1+94>: mulx (%rsi),%rbx,%rax 0x00007fe021043de3 <__gmpn_mul_1+99>: lea -0x18(%rdi),%rdi 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