-
-
Save Gottox/1ac057bd095d35953868 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[tox@/home/tox/dev/src/void-packages/masterdir /]$ cd | |
[tox@/home/tox/dev/src/void-packages/masterdir ~]$ ls | |
[tox@/home/tox/dev/src/void-packages/masterdir ~]$ touch Makefile | |
[tox@/home/tox/dev/src/void-packages/masterdir ~]$ make | |
Segmentation fault | |
[tox@/home/tox/dev/src/void-packages/masterdir ~]$ gdb make | |
bash: gdb: command not found | |
[tox@/home/tox/dev/src/void-packages/masterdir ~]$ xbps-install gdb | |
NameAction Version New version Download size | |
gdb install - 7.8.1_2 - | |
Size required on disk: 6336KB | |
Free space on disk: 313GB | |
Do you want to continue? [YES/no] | |
[*] Downloading binary packages | |
[*] Verifying package integrity | |
gdb-7.8.1_2: verifying RSA signature... | |
[*] Running transaction tasks | |
gdb-7.8.1_2: unpacking ... | |
[*] Configuring unpacked packages | |
gdb-7.8.1_2: configuring ... | |
Registering info file: /usr/share/info/gdb.info.gz... done. | |
Registering info file: /usr/share/info/stabs.info.gz... done. | |
Registering info file: /usr/share/info/annotate.info.gz... done. | |
gdb-7.8.1_2: installed successfully. | |
0 downloaded, 0 installed, 0 updated, 0 configured, 0 removed. | |
[tox@/home/tox/dev/src/void-packages/masterdir ~]$ gdb make | |
GNU gdb (GDB) 7.8.1 | |
Copyright (C) 2014 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 make...(no debugging symbols found)...done. | |
(gdb) run | |
Starting program: /usr/bin/make | |
warning: Could not load shared library symbols for linux-vdso.so.1. | |
Do you need "set solib-search-path" or "set sysroot"? | |
Program received signal SIGSEGV, Segmentation fault. | |
0x00007ffff78b5c9a in strlen () from /usr/lib/libc.so.6 | |
(gdb) bt | |
#0 0x00007ffff78b5c9a in strlen () from /usr/lib/libc.so.6 | |
#1 0x00007ffff78b59be in strdup () from /usr/lib/libc.so.6 | |
#2 0x0000000000417f29 in xstrdup () | |
#3 0x0000000000422c03 in define_variable_in_set () | |
#4 0x000000000040698b in main () | |
(gdb) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment