backtrace: Add a command
Add a new 'backtrace' command which prints the current call stack, which is useful for debugging. The command is enabled by CONFIG_CMD_BACKTRACE Add docs and a test. Co-developed-by: Claude <noreply@anthropic.com> Signed-off-by: Simon Glass <simon.glass@canonical.com>
This commit is contained in:
@@ -136,6 +136,14 @@ config CMD_ADDR_FIND
|
||||
sufficiently large to hold a file. If successful, it sets the
|
||||
loadaddr variable to this address.
|
||||
|
||||
config CMD_BACKTRACE
|
||||
bool "backtrace"
|
||||
depends on BACKTRACE
|
||||
default y if BACKTRACE
|
||||
help
|
||||
This command prints a backtrace showing the current call stack.
|
||||
This can be useful for debugging.
|
||||
|
||||
config CMD_ADDRMAP
|
||||
bool "addrmap"
|
||||
depends on ADDR_MAP
|
||||
|
||||
Reference in New Issue
Block a user