Add GDB property for debugging with gdb

svn path=/trunk/; revision=21674
This commit is contained in:
Saveliy Tretiakov 2006-04-20 16:13:50 +00:00
parent e3dc3ea163
commit a31a95e611
2 changed files with 15 additions and 5 deletions

View file

@ -24,11 +24,14 @@
<define name="KDBG" value="1" />
<property name="DBG_OR_KDBG" value="true" />
</if>
<if property="GDB" value="0">
<compilerflag>-Os</compilerflag>
<compilerflag>-Wno-strict-aliasing</compilerflag>
<compilerflag>-ftracer</compilerflag>
<compilerflag>-momit-leaf-frame-pointer</compilerflag>
<compilerflag>-mpreferred-stack-boundary=2</compilerflag>
</if>
<compilerflag>-Wpointer-arith</compilerflag>
<include>.</include>

View file

@ -53,4 +53,11 @@
-->
<property name="DBG" value="1" />
<!--
Whether to compile for debugging with GDB. If you don't use GDB, don't
enable this.
-->
<property name="GDB" value="0" />
</rbuild>