Relative Content

Tag Archive for gdbgdbserver

What does GDB need to know from memory when connecting to a target?

I am trying to write a GDB stub for a custom chip. Since the target is custom, it needs a GDB stub/server to handle GDB’s requests. I seem to be able to handle all the requests GDB gives fine when connecting initially. However, one gives an issue where GDB tries to read at address near zero. Since address near zero are not possible on this chip, this creates an issue.