diff --git a/lldb/www/lldb-gdb.html b/lldb/www/lldb-gdb.html
index 2ddcba09acad..dd4dfd524e41 100755
--- a/lldb/www/lldb-gdb.html
+++ b/lldb/www/lldb-gdb.html
@@ -255,6 +255,17 @@
+
+
+
+ (lldb) breakpoint set --name "-[NSString stringWithFormat:]"
+ (lldb) b -[NSString stringWithFormat:]
+ |
+
+ (gdb) break -[NSString stringWithFormat:]
+ |
+
+
@@ -502,6 +513,9 @@
|
(lldb) register read --format i
(lldb) re r -f i
+
+ LLDB now supports the GDB shorthand format syntax but there can't be space after the command:
+ (lldb) register read/d
|
|
@@ -533,6 +547,10 @@
(lldb) register read --format binary rax
(lldb) re r -f b rax
+
+ LLDB now supports the GDB shorthand format syntax but there can't be space after the command:
+ (lldb) register read/t rax
+ (lldb) p/t $rax
|
(gdb) p/t $rax
@@ -545,17 +563,35 @@
(lldb) memory read --size 4 --format x --count 4 0xbffff3c0
(lldb) me r -s4 -fx -c4 0xbffff3c0
(lldb) x -s4 -fx -c4 0xbffff3c0
+
+ LLDB now supports the GDB shorthand format syntax but there can't be space after the command:
+ (lldb) memory read/4xw 0xbffff3c0
+ (lldb) x/4xw 0xbffff3c0
+ (lldb) memory read --gdb-format 4xw 0xbffff3c0
|
(gdb) x/4xw 0xbffff3c0
|
+
+
+
+ (lldb) memory read `argv[0]`
+ NOTE: any command can inline a scalar expression result (as long as the target is stopped) using backticks around any expression:
+ (lldb) memory read --size `sizeof(int)` `argv[0]`
+ |
+
+ (gdb) x argv[0]
+ |
+
+
(lldb) memory read --outfile /tmp/mem.txt --count 512 0xbffff3c0
(lldb) me r -o/tmp/mem.txt -c512 0xbffff3c0
+ (lldb) x/512bx -o/tmp/mem.txt 0xbffff3c0
|
(gdb) set logging on
|