Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Building with debug symbols
2019-02-04, 17:21
Post: #2
RE: Building with debug symbols
(2019-02-04 17:12)ebruno Wrote:  I am trying to build with debugging symbols. I was able to build with gdbudp included. But I am missing something when attempting to build with debug symbols . I tried setting EXTRA_CFLAGS to -g and CFLAGS to -g but when open the the image with gdb I get the message

Reading symbols from bin-x86_64-efi/snp--intelx.efi.tmp...(no debugging symbols found)...done.

Any pointers on how to enable "-g" during compile.

It should be enabled by default anyway. Add "V=1" to the make command line to see the raw build commands.

Michael
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Building with debug symbols - ebruno - 2019-02-04, 17:12
RE: Building with debug symbols - mcb30 - 2019-02-04 17:21



User(s) browsing this thread: 1 Guest(s)