3 Aug 2012 07:55
Re: How to debug a code compiled by clang
On Thu, Aug 2, 2012 at 10:50 PM, Devchandra L Meetei <dlmeetei@...> wrote: > I am unable to use gdb on code compiled by clang/clang++ with -g options > enabled. > when I do break main/start, gdb says file not found. > Is it by design? If so, How to debug binaries compiled by clang. Same way you would with files compiled by gcc. Are you sure you have the right file name for the binary?
RSS Feed