搜索
您的当前位置:首页正文

lldb不常用命令

来源:二三娱乐

(lldb) ****help register
The following subcommands are supported:

  read  -- Dump the contents of one or more register values from the
           current frame.  If no register is specified, dumps them all.
  write -- Modify a single register value.

(lldb) help register read
Dump the contents of one or more register values from the current frame.
If no register is specified, dumps them all.

Syntax: register read <cmd-options> [<register-name> [<register-name> [...]]]

Command Options Usage:
register read [-A] [-f <format>] [-G <gdb-format>] [-s <index>] [<register-name> [<register-name> [...]]]
register read [-Aa] [-f <format>] [-G <gdb-format>] [<register-name> [<register-name> [...]]]

   -A ( --alternate )
        Display register names using the alternate register name if there
        is one.

   -G <gdb-format> ( --gdb-format <gdb-format> )
        Specify a format using a GDB format specifier string.

   -a ( --all )
        Show all register sets.

   -f <format> ( --format <format> )
        Specify a format to be used for display.

   -s <index> ( --set <index> )
        Specify which register sets to dump by index.
 
 This command takes options and free-form arguments.  If your arguments
 resemble option specifiers (i.e., they start with a - or --), you must use
 ' -- ' between the end of the command options and the beginning of the
 arguments.

(lldb)

Top