This page was produced by an automated import process, and may have formatting errors; feel free to fix.
Target Architecture Definition
GDB’s target architecture defines what sort of machine-language programs GDB can work with, and how it works with them.
The target architecture object is implemented as the C structure struct gdbarch *. The structure, and its methods, are generated using the Bourne shell script gdbarch.sh.
Adding a new field/method to struct gdbarch * is done by registering it in the function_list function in the shell script, with a line containing colon separated values. Refer to the script for a description of each value.