GDB that can debug Mach-Os on Linux
Go to file
Joel Brobecker 8f17729f21 treat identical enum types as the same type
This is to avoid an unnecessary multiple-choice menu for an
expression involving an enumeral declared in two types, when
the second type is an identical copy of the first type. This
happens in the following situation:

       type Color is (Black, Red, Green, Blue, White);
       type RGB_Color is new Color range Red .. Blue;

In that case, an implict type is created, and is used as the base
type for type RGB_Color.  This base type is a copy of type Color.
We've added some extensive comments explaining the situation and
our approach further.

gdb/ChangeLog:

        * ada-lang.c (ada_identical_enum_types_p): New function.
        (symbols_are_identical_enums): New function.
        (remove_extra_symbols): Do nothing if NSYMS < 2.
        Use symbols_are_identical_enums.

gdb/testsuite/ChangeLog:

        * gdb.ada/same_enum: New testcase.
2011-07-01 18:26:50 +00:00
bfd * elf32-ppc.c (ppc_elf_copy_indirect_symbol): Don't look at 2011-07-01 07:49:08 +00:00
binutils PR binutils/12325 2011-07-01 15:02:21 +00:00
config * bootstrap-lto.mk: Remove obsolete requirement. 2011-04-20 09:27:06 +00:00
cpu
elfcpp
etc
gas Fix rorx in BMI2. 2011-06-30 15:44:55 +00:00
gdb treat identical enum types as the same type 2011-07-01 18:26:50 +00:00
gold PR gold/12629 2011-06-30 00:50:13 +00:00
gprof * corefile.c (core_sym_class): Allow for multiple iterations of 2011-06-07 13:33:20 +00:00
include [libiberty/filename_cmp] Darwin has case-insensitive filesystems 2011-07-01 18:24:39 +00:00
intl
ld * ld-elf/elf.exp: Exlcude all v850 targets from note-3 test. 2011-06-27 15:02:56 +00:00
libdecnumber merge from gcc 2011-04-20 19:06:46 +00:00
libiberty [libiberty/filename_cmp] Darwin has case-insensitive filesystems 2011-07-01 18:24:39 +00:00
opcodes PR binutils/12329 2011-07-01 16:11:27 +00:00
readline readline/ 2011-06-29 20:51:10 +00:00
sim PR sim/12737 2011-07-01 12:15:17 +00:00
texinfo
.cvsignore
.gitignore
ChangeLog * configure.ac (tilepro-*-*) New case. 2011-06-13 15:24:43 +00:00
compile
config-ml.in
config.guess Sync from upstream: 2011-06-06 10:36:06 +00:00
config.rpath
config.sub Sync from upstream: 2011-06-06 10:36:06 +00:00
configure * configure.ac (tilepro-*-*) New case. 2011-06-13 15:24:43 +00:00
configure.ac * configure.ac (tilepro-*-*) New case. 2011-06-13 15:24:43 +00: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
Makefile.in 2011-05-08 Doug Kwan <dougkwan@google.com> 2011-05-09 17:56:47 +00:00
Makefile.tpl 2011-05-08 Doug Kwan <dougkwan@google.com> 2011-05-09 17:56:47 +00:00
makefile.vms
missing
mkdep
mkinstalldirs
move-if-change
README
README-maintainer-mode
setup.com
src-release
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.