nibblebits / PeachOS

Simple kernel designed for a online course
GNU General Public License v2.0
135 stars 56 forks source link

GDB Breakpoint not working #30

Open MyPersonalGitAccount opened 10 months ago

MyPersonalGitAccount commented 10 months ago

To whom it may concern.

I hope you are doing well and are in good health.

Thank you for the great course content, I have been thoroughly enjoying it.

I am currently busy with this video in section 4: "21. Loading our 32 bit kernel into memory and working with debugging symbols" .

Up until now I believe I have followed the course correctly, I have re-watched this video multiple times.

After setting the break point on "_start", and running the "target remote | qemu....." then pressing c, the code runs without breaking. Has anyone else had this problem?

I did load the symbols at address "0x0100000" using the "add-symbol-file" BreakPoint command.

MyPersonalGitAccount commented 10 months ago

I am using Pop_OS!

nibblebits commented 10 months ago

Hello, Did you solve the problem yet? Have you attached debugging symbols to the correct address?
Thanks Dan