mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 03:29:47 +08:00
* gdb.texinfo (MIPS Stack): new node.
This commit is contained in:
@ -2942,6 +2942,9 @@ command does (@pxref{Frame Info, ,Information about a frame}).
|
|||||||
* Backtrace:: Backtraces
|
* Backtrace:: Backtraces
|
||||||
* Selection:: Selecting a frame
|
* Selection:: Selecting a frame
|
||||||
* Frame Info:: Information on a frame
|
* Frame Info:: Information on a frame
|
||||||
|
@ifset MIPS
|
||||||
|
* MIPS Stack:: MIPS machines and the function stack
|
||||||
|
@end ifset
|
||||||
@end menu
|
@end menu
|
||||||
|
|
||||||
@node Frames
|
@node Frames
|
||||||
@ -3193,6 +3196,40 @@ exception handlers, visit the associated frame (using the @code{up},
|
|||||||
@end ifclear
|
@end ifclear
|
||||||
@end table
|
@end table
|
||||||
|
|
||||||
|
@ifset MIPS
|
||||||
|
@node MIPS Stack
|
||||||
|
@section MIPS machines and the function stack
|
||||||
|
|
||||||
|
@cindex stack on MIPS
|
||||||
|
@cindex MIPS stack
|
||||||
|
MIPS based computers use an unusual stack frame, which sometimes
|
||||||
|
requires @value{GDBN} to search backward in the object code to find the
|
||||||
|
beginning of a function.
|
||||||
|
|
||||||
|
@cindex response time, MIPS debugging
|
||||||
|
To improve response time (especially for embedded applications, where
|
||||||
|
@value{GDBN} 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:
|
||||||
|
@c FIXME! So what happens when GDB does *not* find the beginning of a
|
||||||
|
@c function?
|
||||||
|
|
||||||
|
@cindex @code{heuristic-fence-post} (MIPS)
|
||||||
|
@table @code
|
||||||
|
@item set heuristic-fence-post @var{limit}
|
||||||
|
Restrict @var{GDBN} to examining at most @var{limit} bytes in its search
|
||||||
|
for the beginning of a function. A value of @code{0} (the default)
|
||||||
|
means there is no limit.
|
||||||
|
|
||||||
|
@item show heuristic-fence-post
|
||||||
|
Display the current limit.
|
||||||
|
@end table
|
||||||
|
|
||||||
|
@noindent
|
||||||
|
These commands are available @emph{only} when @value{GDBN} is configured
|
||||||
|
for debugging programs on MIPS processors.
|
||||||
|
@end ifset
|
||||||
|
|
||||||
@node Source
|
@node Source
|
||||||
@chapter Examining Source Files
|
@chapter Examining Source Files
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user