Lazarus cannot install GDB because the version is distro dependend. Therefore it is also not a dependency. A distro however may suggest a specific Lazarus version along with a specific GDB from its repository. Installing the latest Lazarus requires one to find out and do these things manually. That's Linux.