+2021-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * gdb.texinfo (GDB/MI Miscellaneous Commands): Add missing
+ parentheses to GDB prompt in example, and replace '(gdb)' with
+ '(@value{GDBP})' in one example where the latter was already in
+ use.
+
2021-03-29 Luis Machado <luis.machado@linaro.org>
* gdb.textinfo (Memory Tagging): Make it a @section.
@subheading Example
@smallexample
-@value{GDBP}
+(@value{GDBP})
-list-thread-groups
^done,groups=[@{id="17",type="process",pid="yyy",num_children="2"@}]
-list-thread-groups 17
like this:
@smallexample
-@value{GDBP}
+(@value{GDBP})
-info-os
^done,OSDataTable=@{nr_rows="10",nr_cols="3",
hdr=[@{width="10",alignment="-1",col_name="col0",colhdr="Type"@},
col2="Sockets"@},
item=@{col0="threads",col1="Listing of all threads",
col2="Threads"@}]
-@value{GDBP}
+(@value{GDBP})
-info-os processes
^done,OSDataTable=@{nr_rows="190",nr_cols="4",
hdr=[@{width="10",alignment="-1",col_name="col0",colhdr="pid"@},
...
item=@{col0="26446",col1="stan",col2="bash",col3="0"@},
item=@{col0="28152",col1="stan",col2="bash",col3="1"@}]@}
-(gdb)
+(@value{GDBP})
@end smallexample
(Note that the MI output here includes a @code{"Title"} column that
@subheading Example
@smallexample
-@value{GDBP}
+(@value{GDBP})
-add-inferior
^done,inferior="i3"
@end smallexample