About the kernel debugging method! (VMware + Linux + Bochs)

xiaoxiao2021-03-06  38

Find a working environment that is suitable for Pistachio developed these days.

My ideal environment is Windows Bochs Cygwin! However, when the BOCHS survey found Bochs's Windows version did not support GDB-stub serial debugging. Later, he added a GDB-stub code in the code of Bochs's Windows version. Support; Bochs got up, showing Waiting for GDB Command on Port 1234 ....; my heart is surprised, but who is still running L4, I will receive the wrong debugging information: (because it is not very clear about BOCHS principle , It is also forciting the reason, giving up the decision of Windows under debugging, turning to Linux. (Which people have a good suggestion, may wish to be generous, share it, will be grateful!)

Transfer Linux, I chose Debian. My platform has become Windows VMware Debian Insight Bochs! Think about this is also good, Linux's Anjuta is a very good integrated development tool, which is very good. Unfortunately, I don't know how to use it for remote debugging: (I can completely abandon Windows, I can use the UE to edit with the UE through the SMBA, then under Debian Perform GCC and GDB. Bitter ...

The work under Linux is not smooth, just have a lot of problems just installed. The first is the problem of resolution. On the virtual machine, I installed DEBIAN to find that it is 800 * 600; for me (my this is 1280 * 800, cool ...), such a resolution is simply unbearable! Say what to turn it over.

I have found it online, and I need to drive VMware, VMware Tools. Oh ... this should be available ... go back to install ... Failure ... This round of 800 * 600 is not coming, extremely depressed, due to Linux Not familiar, only to endure the configuration items in XF86Config. Later, it is not easy to reply to the original 800 * 600. How do I have a machine? The other people can ... this day, I want to have a lot of way to configure my debian, and the result is still failed. Key my Linux is too frustrated ... Finally, a high admiration, directly modify the highest resolution of XF86Config to 1024 * 800 ...

The strange thing happened, why not install VMware Tools, my Debian can actually run 1024 * 768 resolution, so there is a friend who came to me, but I will try to modify the XF86config file before installing VMware Tools.嘿嘿 :) It can always develop substantial L4 development ...

转载请注明原文地址:https://www.9cbs.com/read-78117.html

New Post(0)