fwts source level debugging setup ?

Colin Ian King colin.king at canonical.com
Mon Feb 8 15:36:32 UTC 2016


On 08/02/16 15:26, Deborah McLemore wrote:
> Hi All,
> 
> Here's my query, I want to compile for example
> fwts/src/acpi/powerbutton/powerbutton.c with the -g compiler option to
> do some source level debug.
> 
> In the make environment where do I specify this flag for the single
> source file powerbutton.c (or what CLI to use to build/link only the
> single powerbutton.o object/link) or do I have to make all again ?

The following method works for me:

touch src/acpi/powerbutton/powerbutton.c
make CXXFLAGS='-g'

Colin

> 
> src/lib/src/Makefile.a
> 
> ================================
> Deb McLemore
> IBM OpenPower - IBM Systems
> (512) 286 9980
> debmc at us.ibm.com
> ipowermc at icloud.com
> ================================
> 
> 




More information about the fwts-devel mailing list