GDB No Symbols

I compiled everything with GDB global debugging like it is explained here. But there are no symbols?

root@nucright:~# gdb --args wpa_supplicant -iwlan0 -c wpa.conf 
Type "apropos word" to search for commands related to "word"...
Reading symbols from wpa_supplicant...
(No debugging symbols found in wpa_supplicant)
(gdb) r
Starting program: /usr/sbin/wpa_supplicant -iwlan0 -c wpa.conf
warning: Unable to find dynamic linker breakpoint function.
GDB will be unable to debug shared library initializers
and track explicitly loaded dynamic code.
Successfully initialized wpa_supplicant

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7f719c8 in ?? ()
(gdb) bt
#0  0x00007ffff7f719c8 in ?? ()
#1  0x00007fffffffe720 in ?? ()
#2  0x0000555555669118 in ?? ()
#3  0x0000000000000000 in ?? ()

Oh maybe I have to disable stripping.

After that you have to increase the target image size.


Disable stripping and increase target image size. (see above).

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.