<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/76098>76098</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            LLDB continues when it encounters a loop in QEMU
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          Luxvao
      </td>
    </tr>
</table>

<pre>
    I'm making my own bootloader and have to debug some code. The issue is that whenever I connect to the qemu gdb server and use step, it just continues execution when it hits a loop. Not sure if I'm not understanding this properly, but I don't think it should continue. I'm new to lldb.
Steps to reproduce:
1. Connect lldb to qemu
2. Set a breakpoint
3. Use step until a loop

Then in my case it just continues execution.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx8ks1u5CoQhZ8Gb0qxMHa30wsv8nNbipR7paskDwCm2ibBlAeKTvL2I_pnZlazwZJP1aG-OuiU3BQQB7G5F5vHSmeeKQ7P-euoqTJkv4cnofoFFv3hwgTLN9BnAEPEnrTFCDpYmPURgQksmjxBogVhJIs1vM4ILqVcTuBZM3zOGPCIEZ5gpBBw5NLIM8IPXDJM1kDCeLwY54SQGFehHsAxvOfEpY1dyJgAv3DM7CicXEvB7DiBBk-01vAfMaQcEdwBzhCBGHKwGBPrYAsPzy7BGmnF6L_LLSYzPIGlIFTPRQ4fxTjNlL39dXd9NcTPMr731tRCPgp598K4pvIv4hrJ5hFFe3eWmhoeLsiloRQV5rOoanhBBg0mov5YyQU-C20Nb5ctQA7s_IXvrJ7P1xN-KOmMOuHfVlVXdmjtrt3pCoeml20j1bbfVPNgmh5vpdxZI5u2sQfVNocdmq3quk51SlduUFK1jVJSSdm1m7rpuy2qXulmd6sOSotO4qKdr70_LjXFqTplP_RbubutvDbo0_WhxaEU3Zg8JdFJ7xKn323s2OPw_Px4_wfCNWMMI-XAGK9JF_L___n3rcrRDzPzmsrK1V6o_eR4zqYeaRFqX-wvn5s10juOLNT-NGISan-a8mcAAAD__zLQBOU">