GDB that can debug Mach-Os on Linux
Go to file
Tom Tromey bd69fc683f * c-typeprint.c (find_typedef_for_canonicalize,
print_name_maybe_canonical): New functions.
	(c_print_type): Look up type name.
	(cp_type_print_derivation_info): Add flags argument.  Use
	print_name_maybe_canonical.
	(cp_type_print_method_args): Add wrapping.
	(c_type_print_varspec_prefix): Use print_name_maybe_canonical.
	(c_type_print_template_args): New function.
	(c_type_print_base): Change wrapping.  Use
	print_name_maybe_canonical.
	<TYPE_CODE_STRUCT>: Possibly create a typedef hash, and do
	type name lookups.
	* gdbtypes.c (types_equal): No longer static.
	* gdbtypes.h (types_equal): Declare.
	* typeprint.c (type_print_raw_options, default_ptype_flags):
	Update.
	(struct typedef_hash_table): New.
	(hash_typedef_field, eq_typedef_field,
	recursively_update_typedef_hash, add_template_parameters,
	create_typedef_hash, free_typedef_hash, do_free_typedef_hash,
	make_cleanup_free_typedef_hash, copy_typedef_hash_element,
	copy_typedef_hash, find_typedef_in_hash): New functions.
	* typeprint.h (struct type_print_options) <local_typedefs>:
	New field.
	(recursively_update_typedef_hash, add_template_parameters,
	create_typedef_hash, free_typedef_hash,
	make_cleanup_free_typedef_hash, copy_typedef_hash,
	find_typedef_in_hash): Declare.
testsuite
	* gdb.base/call-sc.exp: Use "ptype/r".
	* gdb.base/volatile.exp: Don't expect "int".
	* gdb.cp/ptype-flags.cc: New file.
	* gdb.cp/ptype-flags.exp: New file.
	* gdb.cp/templates.exp: Use ptype/r.
	(test_ptype_of_templates, test_template_typedef): Likewise.
	* lib/cp-support.exp (cp_test_ptype_class): Add in_ptype_arg
	argument.  Handle template names and template parameters.
	* gdb.mi/mi-var-cmd.exp: Accept "long".
	* gdb.mi/mi-var-child.exp: Accept "long".
	* gdb.mi/mi-var-display.exp: Accept "long".
	* gdb.mi/mi2-var-child.exp: Accept "long".
2012-11-12 17:37:38 +00:00
bfd daily update 2012-11-11 23:00:04 +00:00
binutils 2012-11-09 Nick Clifton <nickc@redhat.com> 2012-11-09 17:36:19 +00:00
config Merge from GCC. 2012-11-11 10:59:50 +00:00
cpu cpu/ 2012-02-27 06:57:57 +00:00
elfcpp bfd: 2012-10-30 12:44:58 +00:00
etc
gas Correct gas microblaze ChangeLog entry 2012-11-12 16:39:48 +00:00
gdb * c-typeprint.c (find_typedef_for_canonicalize, 2012-11-12 17:37:38 +00:00
gold Regenerate. 2012-11-08 03:03:26 +00:00
gprof * corefile.c (core_sym_class): Allow for ".constprop.N" cloned 2012-09-20 13:15:48 +00:00
include merge from gcc 2012-11-11 22:37:30 +00:00
intl
ld Files missing from previous commit. 2012-11-09 22:43:28 +00:00
libdecnumber Merge from GCC. 2012-11-11 10:59:50 +00:00
libiberty merge from gcc 2012-11-11 22:37:30 +00:00
opcodes 2012-11-09 Nick Clifton <nickc@redhat.com> 2012-11-09 17:36:19 +00:00
readline Remove some extraneous changes in readline/terminal.c 2012-10-18 18:55:41 +00:00
sim * MAINTAINERS: Update my email address. 2012-11-05 22:08:10 +00:00
texinfo
.cvsignore
.gitignore
ChangeLog Add --disable-libstdcxx configure option 2012-11-04 00:09:53 +00:00
compile
config-ml.in
config.guess config.{guess,sub}: update from upstream config-patches repo 2012-10-11 16:04:17 +00:00
config.rpath
config.sub config.{guess,sub}: update from upstream config-patches repo 2012-10-11 16:04:17 +00:00
configure Add --disable-libstdcxx configure option 2012-11-04 00:09:53 +00:00
configure.ac Add --disable-libstdcxx configure option 2012-11-04 00:09:53 +00:00
COPYING
COPYING3
COPYING3.LIB
COPYING.LIB
COPYING.LIBGLOSS 2012-03-09 Jeff Johnston <jjohnstn@redhat.com> 2012-03-09 20:31:34 +00:00
COPYING.NEWLIB 2012-03-09 Jeff Johnston <jjohnstn@redhat.com> 2012-03-09 20:31:34 +00:00
depcomp
djunpack.bat
install-sh
libtool.m4 PR target/38607 2012-09-14 23:55:22 +00:00
lt~obsolete.m4
ltgcc.m4
ltmain.sh
ltoptions.m4
ltsugar.m4
ltversion.m4
MAINTAINERS MAINTAINERS: clarify policy with config/ (and other top level files) 2012-05-12 03:10:17 +00:00
Makefile.def Sync toplevel files with GCC tree 2012-09-29 15:35:53 +00:00
Makefile.in PR bootstrap/54820 2012-10-22 07:32:04 +00:00
Makefile.tpl PR bootstrap/54820 2012-10-22 07:32:04 +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.