title: How to change the eflags register value in GDB?
body: <p><code>set $eflags</code> does not change <code>eflags</code> value.</p>
  
  <p>The old <code>eflags</code> value remains after eg. <code>=&gt;$set $eflag=0x243</code> [this is just an example input].</p>
  
  <p>Alternatively, is there any way to set individual flags of <code>eflags</code>?</p>
  
  <p>I'm looking for something like: <code>set ZF[zero flag]</code>. Is there a gdb command to do that?</p>