Next: HPPA, Previous: Alpha, Up: Architectures
Alpha- and MIPS-based computers use an unusual stack frame, which sometimes requires gdb to search backward in the object code to find the beginning of a function.
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:
set heuristic-fence-post limitheuristic-fence-post must search
and therefore the longer it takes to run. You should only need to use
this command when debugging a stripped executable.
show heuristic-fence-postThese 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 abi argshow mips abiset mips compression argPossible values of arg are ‘mips16’ and ‘micromips’. The default compressed ISA encoding is ‘mips16’, as executables containing MIPS16 code frequently are not identified as such.
This setting is “sticky”; that is, it retains its value across debugging sessions until reset either explicitly with this command or implicitly from an executable.
The compiler and/or assembler typically add symbol table annotations to
identify functions compiled for the MIPS16 or microMIPS ISAs. If these
function-scope annotations are present, gdb uses them in
preference to the global compressed ISA encoding setting.
show mips compressionset mipsfpushow mipsfpuset mips mask-address argshow mips mask-addressset remote-mips64-transfers-32bit-regsshow remote-mips64-transfers-32bit-regsset debug mipsshow debug mips