diff options
author | Bruno Larsen <blarsen@redhat.com> | 2023-06-15 11:02:11 +0200 |
---|---|---|
committer | Bruno Larsen <blarsen@redhat.com> | 2023-07-14 10:57:34 +0200 |
commit | 0f819434f242abef3cdbdd3b6f1d94317bc1e81a (patch) | |
tree | 95c5aa42d43ce2346454a7ec11267edefb6c8ed1 /ltsugar.m4 | |
parent | 9d9f26d8b1a15561af02370f15be0af0d56ac5fa (diff) | |
download | gdb-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 'ltsugar.m4')
0 files changed, 0 insertions, 0 deletions