aboutsummaryrefslogtreecommitdiff
path: root/cpu
diff options
context:
space:
mode:
authorAndrew Burgess <aburgess@redhat.com>2024-01-10 15:43:06 +0000
committerAndrew Burgess <aburgess@redhat.com>2024-01-12 11:21:34 +0000
commit7ccdf9c0fb4b57739bf3028d5d4b40bf63fd9c65 (patch)
tree17054306ba7add024a941fc4bfce6bb79224b955 /cpu
parent53d0889088d00661c97dfd9496f0aea7c4499f32 (diff)
downloadgdb-7ccdf9c0fb4b57739bf3028d5d4b40bf63fd9c65.zip
gdb-7ccdf9c0fb4b57739bf3028d5d4b40bf63fd9c65.tar.gz
gdb-7ccdf9c0fb4b57739bf3028d5d4b40bf63fd9c65.tar.bz2
gdb/doc: update examples in gdb.Progspace and gdb.Objfile docs
This commit updates the Python example code in the gdb.Progspace and gdb.Objfile sections of the docs. Changes made: 1. Use @value{GDBP} for the GDB prompt rather than hard-coding (gdB), 2. Use @group...@end group to split the example code into unbreakable chunks, and 3. Add parenthesis to the Python print() calls in the examples. In Python 2 it was OK to drop the parenthesis, but now GDB is Python 3 only, example code should include the parenthesis. Approved-By: Eli Zaretskii <eliz@gnu.org> Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'cpu')
0 files changed, 0 insertions, 0 deletions