You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After making this change, when I added some breakpoints and typed c, something went wrong:
CPU does not support SSE4.2. LEMON OS requires x86_64-v2 support.
I then added -cpu host to the qemu-system-x86_64 command in run.sh as follows:
-qemu-system-x86_64 -cpu host
After this change, when I typed c in gdb, the OS ran fine, but I couldn’t set a breakpoint at entry. Although I could set breakpoints at other functions, when I typed c, I received the following warning:
Cannot access memory at address...
The text was updated successfully, but these errors were encountered:
Debugging with
debug_qemu()
inScripts/run.sh
In the
debug_qemu()
function inScripts/run.sh
, the following line is executed:This adds the following line to debug.gdb:
However, there is no file with the above path.
So, I modified run.sh as follows:
After making this change, when I added some breakpoints and typed c, something went wrong:
I then added -cpu host to the qemu-system-x86_64 command in run.sh as follows:
After this change, when I typed c in gdb, the OS ran fine, but I couldn’t set a breakpoint at entry. Although I could set breakpoints at other functions, when I typed c, I received the following warning:
The text was updated successfully, but these errors were encountered: