If your program is too large to fit completely in your target system's memory, you can sometimes use "overlays" to work around this problem. GDB provides some support for debugging programs that use overlays.
|How Overlays Work||A general explanation of overlays.|
|Overlay Commands||Managing overlays in GDB.|
|Automatic Overlay Debugging||GDB can find out which overlays are mapped by asking the inferior.|
|Overlay Sample Program||A sample program using overlays.|