[PATCHv2 0/6] Fix for 'list task 123' (PR cli/28665)

Andrew Burgess aburgess@redhat.com
Thu Jan 27 17:47:38 GMT 2022


Since v1:

  - Replaces all references to PR gdb/28668 with PR gdb/28665 as
    that's the bug I was actually fixing,

  - Extended patch #4 to also fix PR gdb/28797,

  - Added patch #6 to test an additional situation that I don't think
    is currently covered by the gdb testsuite.

---

Andrew Burgess (6):
  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: test to check one aspect of the linespec parsing code

 gdb/cli/cli-cmds.c                            | 19 +++++++++++++++---
 gdb/linespec.c                                | 14 ++++++-------
 gdb/location.c                                |  5 +++++
 gdb/location.h                                |  9 ++++-----
 gdb/testsuite/gdb.base/break.exp              |  5 +++++
 .../linespecs.exp => gdb.linespec/errors.exp} | 20 ++++++++++++++++++-
 6 files changed, 56 insertions(+), 16 deletions(-)
 rename gdb/testsuite/{gdb.base/linespecs.exp => gdb.linespec/errors.exp} (66%)

-- 
2.25.4



More information about the Gdb-patches mailing list