[hipl-dev] [Branch ~hipl-core/hipl/trunk] Rev 5140: Added instructions on how to configure a debug build.

------------------------------------------------------------
revno: 5140
committer: Miika Komu <miika@xxxxxx>
branch nick: trunk
timestamp: Tue 2010-11-09 11:07:47 +0200
message:
  Added instructions on how to configure a debug build.
  
  See the related discussion in:
  
  https://bugs.launchpad.net/hipl/+bug/626719
modified:
  doc/HACKING


--
lp:hipl
https://code.launchpad.net/~hipl-core/hipl/trunk

Your team HIPL core team is subscribed to branch lp:hipl.
To unsubscribe from this branch go to 
https://code.launchpad.net/~hipl-core/hipl/trunk/+edit-subscription
=== modified file 'doc/HACKING'
--- doc/HACKING 2010-11-09 08:58:14 +0000
+++ doc/HACKING 2010-11-09 09:07:47 +0000
@@ -803,8 +803,13 @@
 DEBUGGING
 =========
 
-HIPL provides a set of wrappers for adding debugging statements in a
-concise way:
+You can debug HIPL code using gdb. The recommended way to configure a
+debug build is as follows:
+
+./configure <options> CFLAGS='-g -O0'
+
+Alternatively, HIPL provides a set of wrappers for printing or logging
+debugging statements in a unified way:
 
 - HIP_DIE(arguments as for printk)
 - HIP_ERROR(arguments as for printk)

Other related posts:

  • » [hipl-dev] [Branch ~hipl-core/hipl/trunk] Rev 5140: Added instructions on how to configure a debug build. - noreply