<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div>O<span class="gmail_default" style="font-family:tahoma,sans-serif">K I switched to the folder that I want to run and debug and start Kdevelop from there. Now, when I click on Debug, I see that it tries to load the macros but fails with this message:</span></div><div><span class="gmail_default" style="font-family:tahoma,sans-serif"><br></span></div><div><span class="gmail_default" style="font-family:tahoma,sans-serif">You need gdb 7.0.0 or higher.<br>You are using: ** loading GPGPU-Sim debugging macros... ** <br></span></div><div><span class="gmail_default" style="font-family:tahoma,sans-serif"><br></span></div><div><span class="gmail_default" style="font-family:tahoma,sans-serif">That is weird, because the GDB version is 9.2 according to this output:</span></div><div><span class="gmail_default" style="font-family:tahoma,sans-serif"><br></span></div><div><span class="gmail_default" style="font-family:tahoma,sans-serif">$ gdb --version<br>GNU gdb (Ubuntu 9.2-0ubuntu1~20.04) 9.2<br>Copyright (C) 2020 Free Software Foundation, Inc.<br>License GPLv3+: GNU GPL version 3 or later <<a href="http://gnu.org/licenses/gpl.html">http://gnu.org/licenses/gpl.html</a>><br>This is free software: you are free to change and redistribute it.<br>There is NO WARRANTY, to the extent permitted by law.<br></span></div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">Also Kdevelop version is 5.5.</div><div class="gmail_default" style="font-family:tahoma,sans-serif">Any idea about that?</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><font face="tahoma,sans-serif">Regards,<br>Mahmood</font><br><br><br></div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Aug 8, 2021 at 12:39 PM RenĂ© J.V. Bertin <<a href="mailto:rjvbertin@gmail.com">rjvbertin@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Sunday August 08 2021 12:09:47 Mahmood Naderan wrote:<br>
<br>
>Sorry I didn't get the point. As you can see below .gdbinit file is set<br>
>correctly and I use the GDB configuration as in the attached pictures.<br>
<br>
If KDevelop starts gdb, it will do so from within a working directory that may not be the one you expect, especially if you launch KDevelop itself via the plasma shell instead of from a terminal. In that case, gdb will see the .gdbinit file that is in your $HOME directory but not a dedicated version in some other directory.<br>
<br>
R.<br>
</blockquote></div>