To improve response time (especially for embedded applications, where gdb may be restricted to a slow serial line for this search) you may want to limit the size of this search, using one of these commands:
- Restrict gdb to examining at most limit bytes in its
search for the beginning of a function. A value of 0 (the
default) means there is no limit. However, except for 0, the
larger the limit the more bytes
heuristic-fence-postmust search and therefore the longer it takes to run. You should only need to use this command when debugging a stripped executable.
- Display the current limit.
These commands are available only when gdb is configured for debugging programs on Alpha or MIPS processors.
Several MIPS-specific commands are available when debugging MIPS programs:
set mips abiarg
- Tell gdb which MIPS ABI is used by the inferior. Possible
values of arg are:
- The default ABI associated with the current binary (this is the
show mips abi
- Show the MIPS ABI used by gdb to debug the inferior.
- See set mipsfpu.
set mips mask-addressarg
- This command determines whether the most-significant 32 bits of 64-bit
MIPS addresses are masked off. The argument arg can be
on, off, or auto. The latter is the default
setting, which lets gdb determine the correct value.
show mips mask-address
- Show whether the upper 32 bits of MIPS addresses are masked off or
- This command controls compatibility with 64-bit MIPS targets that
transfer data in 32-bit quantities. If you have an old MIPS 64 target
that transfers 32 bits for some registers, like sr and fsr,
and 64 bits for other registers, set this option to on.
- Show the current setting of compatibility with older MIPS 64 targets.
set debug mips
- This command turns on and off debugging messages for the MIPS-specific
target code in gdb.
show debug mips
- Show the current setting of MIPS debugging messages.