[PATCH 0/7] Minor changes to 'list' command.

Andrew Burgess andrew.burgess@embecosm.com
Wed Nov 25 00:34:00 GMT 2015


The main motivation for this patch series was patch #6, this adds an
extra error when trying to use 'list -' to list off the beginning of a
file.

Patch #5 fixes a small inconsistency that I spotted while in the area,
and patches #1 to #4 are just clean up.

Patch #7 extends the command help for 'list'.

---

Andrew Burgess (7):
  gdb: Make lines_to_list variable static.
  gdb: Use NULL instead of 0 for pointer comparison.
  gdb: Small code restructure for list_command.
  gdb: Make test names unique in list.exp.
  gdb: 'list' command, tweak handling of +/- arguments.
  gdb: Add an error when 'list -' reaches the start of a file.
  gdb: Extend help text for 'list' command.

 gdb/ChangeLog                   | 29 ++++++++++++++++++++++++++
 gdb/cli/cli-cmds.c              | 45 ++++++++++++++++++++++++-----------------
 gdb/source.c                    |  2 +-
 gdb/testsuite/ChangeLog         | 16 +++++++++++++++
 gdb/testsuite/gdb.base/list.exp | 39 +++++++++++++++++++++++++++++++++--
 5 files changed, 109 insertions(+), 22 deletions(-)

-- 
2.5.1



More information about the Gdb-patches mailing list