target_type::get_gdb_arch field
Target architecture for GDB. The string returned by this function will not be automatically freed; if dynamic allocation is used for this value, it must be managed by the target, ideally by caching the result for subsequent calls.
Syntax
const char *(*get_gdb_arch)(const struct target *target);