PeachOS icon indicating copy to clipboard operation
PeachOS copied to clipboard

GDB Breakpoint not working

Open MyPersonalGitAccount opened this issue 1 year ago • 2 comments

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 avatar Nov 25 '23 10:11 MyPersonalGitAccount

I am using Pop_OS!

MyPersonalGitAccount avatar Nov 25 '23 10:11 MyPersonalGitAccount

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

nibblebits avatar Dec 20 '23 20:12 nibblebits