mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 17:05:46 +00:00
Add GDB property for debugging with gdb
svn path=/trunk/; revision=21674
This commit is contained in:
parent
e3dc3ea163
commit
a31a95e611
2 changed files with 15 additions and 5 deletions
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue