Go to file
Joel Brobecker 75be741bdf [Ada] fix warning when printing empty array
This patch should fix the following regression:

     (gdb) print my_table
    -$1 = ()
    -(gdb) PASS: gdb.ada/null_array.exp: print my_table
    +$1 = (warning: unable to get bounds of array, assuming null array
    +)
    +(gdb) FAIL: gdb.ada/null_array.exp: print my_table

The problem was introduced by a change in val_print_array_elements
which removed a check for the case where the array's high bound
is smaller than the array's low bound (empty array).

This change restores the check and forces the len to zero in that case.
Looking at the patch that caused the regression, I suspect that we may
have other parts that might have been broken (non-zero array low bound?).

gdb/ChangeLog:

        * valprint.c (val_print_array_elements): Put back handling of
        empty arrays.
2010-11-03 23:20:13 +00:00
bfd daily update 2010-11-03 23:00:06 +00:00
binutils Don't display bits only used for BFD in abfd->flags. 2010-11-03 02:31:02 +00:00
config really sync config/ChangeLog 2010-10-06 08:48:22 +00:00
cpu Fix build with -DDEBUG=7 2010-10-08 14:00:50 +00:00
elfcpp * elfcpp.h (enum SHT): Add SHT_GNU_INCREMENTAL_GOT_PLT. 2010-08-12 22:18:14 +00:00
etc * standards.texi: Import current version from gnustandards 2010-06-08 12:15:36 +00:00
gas Properly fold _GLOBAL_OFFSET_TABLE_ in Intel syntax. 2010-11-03 14:18:43 +00:00
gdb [Ada] fix warning when printing empty array 2010-11-03 23:20:13 +00:00
gold PR ld/12001 2010-11-03 17:18:23 +00:00
gprof * gprof.texi (Deprecated Options): Move introduction out of the table. 2010-10-29 01:53:19 +00:00
include merge from gcc 2010-11-02 15:20:47 +00:00
intl merge from gcc 2010-09-27 21:01:18 +00:00
ld PR ld/12001 2010-11-03 17:18:23 +00:00
libdecnumber merge from gcc 2010-10-23 04:01:25 +00:00
libiberty merge from gcc 2010-11-02 15:20:47 +00:00
opcodes * mips-opc.c (mips_builtin_opcodes): Fix formatting of "ld". 2010-10-28 13:49:51 +00:00
readline Regenerate tree using Autoconf 2.64 and Automake 1.11. 2009-08-22 16:56:56 +00:00
sim Regenerate for bool -> bool_ change 2010-10-09 07:56:18 +00:00
texinfo * texinfo/texinfo.tex: Update to version 2009-03-28.05. 2009-04-21 12:36:46 +00:00
.cvsignore add autom4te.cache to .cvsignore 2007-02-13 15:25:58 +00:00
ChangeLog Sync from gcc/ 2010-11-03 14:27:06 +00:00
compile Update automake-provided files in the toplevel. 2009-08-22 11:48:33 +00:00
config-ml.in Merge from GCC: 2008-11-27 17:14:58 +00:00
config.guess /: 2010-06-01 17:53:40 +00:00
config.rpath * config.rpath: Add AIX 6 support. 2008-03-13 19:27:44 +00:00
config.sub /: 2010-06-01 17:53:40 +00:00
configure Sync from gcc/ 2010-11-03 14:27:06 +00:00
configure.ac Sync from gcc/ 2010-11-03 14:27:06 +00:00
COPYING 2005-07-14 Kelley Cook <kcook@gcc.gnu.org> 2005-07-14 01:24:56 +00:00
COPYING3 * COPYING3: New file. Contains version 3 of the GNU General Public License. 2007-07-17 13:50:23 +00:00
COPYING3.LIB * COPYING3: New file. Contains version 3 of the GNU General Public License. 2007-07-17 13:50:23 +00:00
COPYING.LIB 2005-07-16 Kelley Cook <kcook@gcc.gnu.org> 2005-07-16 02:41:34 +00:00
COPYING.LIBGLOSS 2010-10-08 Bernd Schmidt <bernds@codesourcery.com> 2010-10-09 02:29:34 +00:00
COPYING.NEWLIB 2010-10-08 Bernd Schmidt <bernds@codesourcery.com> 2010-10-09 02:29:34 +00:00
depcomp Update automake-provided files in the toplevel. 2009-08-22 11:48:33 +00:00
djunpack.bat * djunpack.bat: Use ".." quoting in Sed command, for the sake of 2009-03-27 13:37:09 +00:00
install-sh Update automake-provided files in the toplevel. 2009-08-22 11:48:33 +00:00
libtool.m4 Sync Libtool from GCC. 2010-01-09 21:11:44 +00:00
lt~obsolete.m4 Sync Libtool from GCC. 2010-01-09 21:11:44 +00:00
ltgcc.m4 * libtool.m4: Update to libtool 2.2.6. 2008-09-29 15:28:14 +00:00
ltmain.sh Sync Libtool from GCC. 2010-01-09 21:11:44 +00:00
ltoptions.m4 Sync Libtool from GCC. 2010-01-09 21:11:44 +00:00
ltsugar.m4 * libtool.m4: Update to libtool 2.2.6. 2008-09-29 15:28:14 +00:00
ltversion.m4 Sync Libtool from GCC. 2010-01-09 21:11:44 +00:00
MAINTAINERS * MAINTAINERS: Perform some obvious fixups. 2009-08-19 02:53:50 +00:00
Makefile.def * Makefile.def (target_modules): Set lib_path to src/.libs for 2010-10-20 15:43:40 +00:00
Makefile.in * Makefile.def (target_modules): Set lib_path to src/.libs for 2010-10-20 15:43:40 +00:00
Makefile.tpl * Makefile.def (target_modules): Set lib_path to src/.libs for 2010-10-20 15:43:40 +00:00
makefile.vms
missing Update automake-provided files in the toplevel. 2009-08-22 11:48:33 +00:00
mkdep
mkinstalldirs Update automake-provided files in the toplevel. 2009-08-22 11:48:33 +00:00
move-if-change Import from Autoconf sources: 2005-09-07 00:42:19 +00:00
README
README-maintainer-mode Cleanups after the update to Autoconf 2.64, Automake 1.11. 2009-08-22 17:08:11 +00:00
setup.com 2009-09-01 Tristan Gingold <gingold@adacore.com> 2009-09-01 13:38:26 +00:00
src-release * src-release (BINUTILS_SUPPORT_DIRS): Remove mkdep and depcomp. 2008-06-18 23:20:43 +00:00
symlink-tree 2005-07-14 Kelley Cook <kcook@gcc.gnu.org> 2005-07-14 01:24:56 +00:00
ylwrap Update automake-provided files in the toplevel. 2009-08-22 11:48:33 +00:00

		   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.