Go to file
Andrew Burgess a0def019aa gdb: 'list' command, tweak handling of +/- arguments.
There is an inconsistency with the handling of the special +/- arguments
to the list command.

For the very first time that list is used (after the inferior has
changed locations) then only the first character of the argument string
is checked, so 'list +BLAH' will operate as 'list +' and 'list -----FOO'
will operate as 'list -'.  This compares to each subsequent use of list,
where the whole argument string is checked, so 'list +BLAH' will try to
list lines of code around the function '+BLAH'.

This commit unifies the behaviour so that the whole argument string is
checked, in order to list the next 10, or previous 10 lines from a file
only 'list +' and 'list -' are now valid.

gdb/ChangeLog:

	* cli/cli-cmds.c (list_command): Check that the argument string is
	a single character, either '+' or '-'.

gdb/testsuite/ChangeLog:

	* gdb.base/list.exp (test_list_invalid_args): New function,
	defined, and called.
2015-12-11 23:05:35 +00:00
bfd Automatic date update in version.in 2015-12-11 00:00:13 +00:00
binutils Fix static analysis warning about undefined bheaviour. 2015-12-08 09:49:49 +00:00
config libsanitizer merge from upstream r250806, compiler part. 2015-11-28 16:39:32 +00:00
cpu
elfcpp [GOLD] R_PPC64_ENTRY support 2015-12-07 13:17:00 +10:30
etc
gas [AArch64][Patch 5/5] Add instruction PSB CSYNC 2015-12-11 10:22:40 +00:00
gdb gdb: 'list' command, tweak handling of +/- arguments. 2015-12-11 23:05:35 +00:00
gold Pass relocations to Target::do_calls_non_split. 2015-12-11 14:23:59 -08:00
gprof Bump version to 2.26.51 2015-11-14 16:24:39 -08:00
include [AArch64][Patch 5/5] Add instruction PSB CSYNC 2015-12-11 10:22:40 +00:00
intl Regen intl/configure 2015-08-31 12:53:36 +09:30
ld ld -r doesn't need plugin for slim lto object 2015-12-10 12:35:50 -08:00
libdecnumber
libiberty PR other/61321 - demangler crash on casts in template parameters 2015-11-28 16:39:31 +00:00
opcodes [AArch64][Patch 5/5] Add instruction PSB CSYNC 2015-12-11 10:22:40 +00:00
readline
sim Add support for MSP430 F5 hardware multiply. 2015-12-07 10:19:19 +00:00
texinfo
zlib Import zlib 1.2.8 with local change merged in. 2015-11-25 15:14:47 -08:00
.cvsignore
.gitattributes
.gitignore
ChangeLog binutils: add support for arm-*-darwin and aarch64-*-darwin. 2015-11-20 14:53:06 +01:00
compile
config-ml.in
config.guess
config.rpath
config.sub
configure binutils: add support for arm-*-darwin and aarch64-*-darwin. 2015-11-20 14:53:06 +01:00
configure.ac binutils: add support for arm-*-darwin and aarch64-*-darwin. 2015-11-20 14:53:06 +01:00
COPYING
COPYING3
COPYING3.LIB
COPYING.LIB
COPYING.LIBGLOSS
COPYING.NEWLIB
depcomp
djunpack.bat
install-sh
libtool.m4
lt~obsolete.m4
ltgcc.m4
ltmain.sh
ltoptions.m4
ltsugar.m4
ltversion.m4
MAINTAINERS
Makefile.def Resync files in the binutils repository that are maintained in the gcc repository. 2015-09-30 17:55:16 +01:00
Makefile.in Resync files in the binutils repository that are maintained in the gcc repository. 2015-09-30 17:55:16 +01:00
Makefile.tpl
makefile.vms
missing
mkdep
mkinstalldirs
move-if-change
README
README-maintainer-mode
setup.com
src-release.sh
symlink-tree
ylwrap

		   README for GNU development tools

This directory contains various GNU compilers, assemblers, linkers, 
debuggers, etc., plus their support routines, definitions, and documentation.

If you are receiving this as part of a GDB release, see the file gdb/README.
If with a binutils release, see binutils/README;  if with a libg++ release,
see libg++/README, etc.  That'll give you info about this
package -- supported targets, how to use it, how to report bugs, etc.

It is now possible to automatically configure and build a variety of
tools with one command.  To build all of the tools contained herein,
run the ``configure'' script here, e.g.:

	./configure 
	make

To install them (by default in /usr/local/bin, /usr/local/lib, etc),
then do:
	make install

(If the configure script can't determine your type of computer, give it
the name as an argument, for instance ``./configure sun4''.  You can
use the script ``config.sub'' to test whether a name is recognized; if
it is, config.sub translates it to a triplet specifying CPU, vendor,
and OS.)

If you have more than one compiler on your system, it is often best to
explicitly set CC in the environment before running configure, and to
also set CC when running make.  For example (assuming sh/bash/ksh):

	CC=gcc ./configure
	make

A similar example using csh:

	setenv CC gcc
	./configure
	make

Much of the code and documentation enclosed is copyright by
the Free Software Foundation, Inc.  See the file COPYING or
COPYING.LIB in the various directories, for a description of the
GNU General Public License terms under which you can copy the files.

REPORTING BUGS: Again, see gdb/README, binutils/README, etc., for info
on where and how to report problems.