• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Compiling GDB not loading symbols

Stellow

C++/C#/PHP/LUA
Joined
Oct 23, 2008
Messages
1,106
Reaction score
214
Location
Germany
GitHub
eubrunomiguel
Hello,

basically I am trying to debug a core dump, but somehow symbols are not visible.

I ensure the exe is compiled with -g:

Code:
add_compile_options(-Wall -pipe -fvisibility=hidden -g)

Code:
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from tfs...
[New LWP 13]
[New LWP 12]
[New LWP 15]
[New LWP 14]

warning: Can't read pathname for load map: No error information.
Core was generated by `./tfs'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x0000556d0cabe310 in ?? ()
[Current thread is 1 (LWP 13)]
(gdb)

File is not stripped:
Code:
/srv # file tfs
tfs: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-musl-x86_64.so.1, with debug_info, not stripped

Any hints?
 
Back
Top