diff options
author | Andrew Burgess <aburgess@redhat.com> | 2024-01-10 15:43:06 +0000 |
---|---|---|
committer | Andrew Burgess <aburgess@redhat.com> | 2024-01-12 11:21:34 +0000 |
commit | 7ccdf9c0fb4b57739bf3028d5d4b40bf63fd9c65 (patch) | |
tree | 17054306ba7add024a941fc4bfce6bb79224b955 /gdb/guile/scm-progspace.c | |
parent | 53d0889088d00661c97dfd9496f0aea7c4499f32 (diff) | |
download | binutils-7ccdf9c0fb4b57739bf3028d5d4b40bf63fd9c65.zip binutils-7ccdf9c0fb4b57739bf3028d5d4b40bf63fd9c65.tar.gz binutils-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 'gdb/guile/scm-progspace.c')
0 files changed, 0 insertions, 0 deletions