[PATCH 0/3] Small changes to "list" command
Bruno Larsen
blarsen@redhat.com
Tue Jun 20 12:29:08 GMT 2023
I decided to tackle PR cli/30497, and while doing so, Andrew mentioned
that it would also be nice if we could explicitly ask GDB to print the
current location, so I also decided to add that into a series. The first
patch is just some groundwork preparation to make the rest smooth.
Bruno Larsen (3):
gdb/cli: Factor out code to list lines for the first time
gdb/cli: Improve UX when using list with no args
gdb/cli: add '.' as an argument for 'list' command
gdb/NEWS | 8 +++
gdb/cli/cli-cmds.c | 94 +++++++++++++++++++++++++++------
gdb/source.c | 18 +++++++
gdb/source.h | 4 ++
gdb/testsuite/gdb.base/list.exp | 46 ++++++++++++++--
gdb/testsuite/gdb.base/list1.c | 2 +-
6 files changed, 151 insertions(+), 21 deletions(-)
--
2.40.1
More information about the Gdb-patches
mailing list