[PATCH 0/5] Fix for 'list task 123' (PR cli/28668)

Andrew Burgess aburgess@redhat.com
Tue Dec 7 23:13:40 GMT 2021


This is my proposed fix for issue PR cli/28668.

All feedback welcome.

Thanks,
Andrew


---

Andrew Burgess (5):
  gdb: update the comment on string_to_event_location
  gdb: add empty string check in parse_linespec
  gdb/testsuite: move linespec test into gdb.linespec/ directory
  gdb: handle calls to list command passing only a linespec condition
  gdb: handle calls to edit command passing only a linespec condition

 gdb/cli/cli-cmds.c                            | 16 +++++++++++++---
 gdb/linespec.c                                | 14 +++++++-------
 gdb/location.h                                |  9 ++++-----
 .../linespecs.exp => gdb.linespec/errors.exp} | 19 ++++++++++++++++++-
 4 files changed, 42 insertions(+), 16 deletions(-)
 rename gdb/testsuite/{gdb.base/linespecs.exp => gdb.linespec/errors.exp} (69%)

-- 
2.25.4



More information about the Gdb-patches mailing list