title: Can C macros be expanded in gdb when the program was compiled using clang?
body: <p>I have a macro that fetch's the J-th bit of an integer: </p>
  
  <pre><code>#define TWO_TO_THE(POWER) (1 &lt;&lt; POWER)
  
  #define JTH_BIT(BITS, J)  ((TWO_TO_THE((J-1)) &amp; BITS) != 0)
  </code></pre>
  
  <p>However, I can't use it from gdb by issuing the command <code>print JTH_BIT(i,j)</code>, can macros in C even be used while debugging?</p>