aboutsummaryrefslogtreecommitdiff
path: root/gold/script-c.h
diff options
context:
space:
mode:
authorBruno Larsen <blarsen@redhat.com>2023-06-15 11:02:11 +0200
committerBruno Larsen <blarsen@redhat.com>2023-07-14 10:57:34 +0200
commit0f819434f242abef3cdbdd3b6f1d94317bc1e81a (patch)
tree95c5aa42d43ce2346454a7ec11267edefb6c8ed1 /gold/script-c.h
parent9d9f26d8b1a15561af02370f15be0af0d56ac5fa (diff)
downloadgdb-0f819434f242abef3cdbdd3b6f1d94317bc1e81a.zip
gdb-0f819434f242abef3cdbdd3b6f1d94317bc1e81a.tar.gz
gdb-0f819434f242abef3cdbdd3b6f1d94317bc1e81a.tar.bz2
gdb/cli: Factor out code to list lines around a given line
A future patch will add more situations that calculates "lines around a certain point" to be printed using print_source_lines, and the logic could be re-used. As a preparation for those commits, this one factors out that part of the logic of the list command into its own function. No functional changes are expected Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'gold/script-c.h')
0 files changed, 0 insertions, 0 deletions