fwts source level debugging setup ?

Deborah McLemore debmc at us.ibm.com
Mon Feb 8 15:55:05 UTC 2016


Thanks, that worked for the compile.

I then tried to # gdb -tui ./fwts, but it didn't find any source available,
any pointers ?



================================
Deb McLemore
IBM OpenPower - IBM Systems
(512) 286 9980
debmc at us.ibm.com
ipowermc at icloud.com
================================



From:	Colin Ian King <colin.king at canonical.com>
To:	Deborah McLemore/Austin/IBM at IBMUS, fwts-devel at lists.ubuntu.com
Date:	02/08/2016 09:36 AM
Subject:	Re: fwts source level debugging setup ?



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
> ================================
>
>



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/fwts-devel/attachments/20160208/396a99e9/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 49174640.gif
Type: image/gif
Size: 26536 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/fwts-devel/attachments/20160208/396a99e9/attachment-0002.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/fwts-devel/attachments/20160208/396a99e9/attachment-0003.gif>


More information about the fwts-devel mailing list