]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/cli/cli-cmds.c
gdb: Small code restructure for list_command.
authorAndrew Burgess <andrew.burgess@embecosm.com>
Mon, 16 Nov 2015 09:30:35 +0000 (09:30 +0000)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Fri, 11 Dec 2015 23:04:25 +0000 (23:04 +0000)
commit1a48ce76774633e9e27dd245ba275a714b2b339f
tree8087c5e80bec67d6a29649e8c2e7c19b3934301c
parent8c05462adbc01f0aba946c42422146ccca2ae4db
gdb: Small code restructure for list_command.

Move handling of special +/- arguments to the list_command function
inside a single if block, this helps group all related functionality
together.  There should be no user visible changes after this commit.

gdb/ChangeLog:

* cli/cli-cmds.c (list_command): Move all handling of +/-
arguments into a single if block.
gdb/ChangeLog
gdb/cli/cli-cmds.c