[vdr] Debugging facility in VDR Makefile(s)?

Eike EikeSauer at t-online.de
Wed Dec 26 23:38:14 CET 2012


When I had a deeper look into VDR, I wondered why there seems 
to be no debugging facility. I added the following to VDR's Makefile:

debug: CFLAGS += -DDEBUG -ggdb3 -O0
debug: CXXFLAGS += -DDEBUG -ggdb3 -O0
debug: all

... so "make debug" creates an executable where no variables 
are optimized out and and no statements are reordered.
I guess this could be useful for other people as well.
Or did I miss something and this is already included somewhere?


PS: Sorry, I misdirected this mail to vdr-owner at linuxtv.org first.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://www.linuxtv.org/pipermail/vdr/attachments/20121226/4253f84c/attachment.pgp>

More information about the vdr mailing list