Hi,
I couldn't find the answer to this on Google... Sorry if the answer is really obvious. I am trying to compile utilities from the /bin/ directory of the Free BSD source code ( such as ls, cat etc) with DWARF debugging information included. Some digging turned up that I should write:
Butl that doesn't work. Further digging caused me to add -g option or -gdwarf to CFLAGS in the Makefile. Still no luck; objdump still reports no DWARF information.
Please help, thanks in advance!
PS sorry for lack of formatting ; I am typing this on a mobile phone!
I couldn't find the answer to this on Google... Sorry if the answer is really obvious. I am trying to compile utilities from the /bin/ directory of the Free BSD source code ( such as ls, cat etc) with DWARF debugging information included. Some digging turned up that I should write:
make WITH_DEBUG=yes
Butl that doesn't work. Further digging caused me to add -g option or -gdwarf to CFLAGS in the Makefile. Still no luck; objdump still reports no DWARF information.
Please help, thanks in advance!
PS sorry for lack of formatting ; I am typing this on a mobile phone!