[cfe-dev] How to debug a code compiled by clang
David Blaikie
dblaikie at gmail.com
Thu Aug 2 22:55:50 PDT 2012
On Thu, Aug 2, 2012 at 10:50 PM, Devchandra L Meetei <dlmeetei at gmail.com> 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?
More information about the cfe-dev
mailing list