GDB that can debug Mach-Os on Linux
Go to file
H.J. Lu 40b36307e3 bfd/
2007-01-16  H.J. Lu  <hongjiu.lu@intel.com>

	PR ld/3831
	* elf-bfd.h (bfd_elf_link_mark_dynamic_symbol): Add an
	argument, Elf_Internal_Sym *.

	* elflink.c (bfd_elf_link_mark_dynamic_symbol): Mark a data
	symbol dynamic if info->dynamic_data is TRUE.
	(bfd_elf_record_link_assignment): Updated call to
	bfd_elf_record_link_assignment.
	(_bfd_elf_merge_symbol): Likewise.  Always call
	bfd_elf_link_mark_dynamic_symbol.

include/

2007-01-16  H.J. Lu  <hongjiu.lu@intel.com>

	PR ld/3831
	* bfdlink.h (bfd_link_info): Rename dynamic to dynamic_list.
	Add dynamic and dynamic_data.

ld/

2007-01-16  H.J. Lu  <hongjiu.lu@intel.com>

	PR ld/3831
	* NEWS: Mention -Bsymbolic-functions, --dynamic-list-data and
	--dynamic-list-cpp-new.

	* ld.texinfo: Document -Bsymbolic-functions, --dynamic-list-data
	and --dynamic-list-cpp-new.

	* ldlang.c (lang_append_dynamic_list_cpp_new): New.
	(lang_process): Change link_info.dynamic to
	link_info.dynamic_list.
	(lang_append_dynamic_list): Likewise.
	* ldmain.c (main): Likewise.  Initialize link_info.dynamic and
	link_info.dynamic_data to FALSE.

	* ldlang.h (lang_append_dynamic_list_cpp_new): New.

	* lexsup.c (option_values): Add OPTION_DYNAMIC_LIST_DATA and
	OPTION_DYNAMIC_LIST_CPP_NEW.
	(ld_options): Add entries for -Bsymbolic-functions,
	--dynamic-list-data and --dynamic-list-cpp-new.  Make
	-Bsymbolic-functions an alias of --dynamic-list-data.
	(parse_args): Change link_info.dynamic to link_info.dynamic_list.
	Set link_info.dynamic to TRUE for --dynamic-list and
	--dynamic-list-cpp-typeinfo.  Handle --dynamic-list-data and
	--dynamic-list-cpp-new.

ld/testsuite/

2007-01-16  H.J. Lu  <hongjiu.lu@intel.com>

	PR ld/3831
	* ld-elf/del.cc: New.
	* ld-elf/dl5.cc: Likewise.
	* ld-elf/dl5.out: Likewise.
	* ld-elf/new.cc: Likewise.

	* ld-elf/shared.exp: Add tests for --dynamic-list-data and
	 --dynamic-list-cpp-new.
2007-01-16 14:56:32 +00:00
bfd bfd/ 2007-01-16 14:56:32 +00:00
binutils * ar.c (open_inarch): Check fwrite return. Use size_t. 2007-01-12 03:12:56 +00:00
config 2007-01-14 H.J. Lu <hongjiu.lu@intel.com> 2007-01-14 15:39:41 +00:00
cpu
elfcpp Generate version information. 2006-12-06 00:02:36 +00:00
etc 2006-12-19 Paolo Bonzini <bonzini@gnu.org> 2006-12-19 14:01:25 +00:00
gas 2007-01-13 H.J. Lu <hongjiu.lu@intel.com> 2007-01-13 16:48:00 +00:00
gdb Fix 'selected frame' varobjs. 2007-01-16 02:12:49 +00:00
gold Don't emit symbols seen only in dynamic object, don't read duplicate 2006-12-06 06:28:56 +00:00
gprof * corefile.c (parse_error): New function. 2007-01-15 23:26:08 +00:00
include bfd/ 2007-01-16 14:56:32 +00:00
intl
ld bfd/ 2007-01-16 14:56:32 +00:00
libiberty * pex-unix.c (writeerr): Cast write result to void. 2007-01-12 02:21:52 +00:00
opcodes Move 2006 ChangeLog entries to ChangeLog-2006. 2007-01-09 14:29:31 +00:00
readline 2006-11-13 Denis Pilat <denis.pilat@st.com> 2006-11-13 09:33:30 +00:00
sim Add changelog entries for copyright updates. 2007-01-10 04:33:06 +00:00
texinfo
.cvsignore
ChangeLog 2007-01-11 Paolo Bonzini <bonzini@gnu.org> 2007-01-11 15:23:41 +00:00
compile
config-ml.in
config.guess * config.sub, config.guess: Update from upstream sources. 2006-12-11 04:12:46 +00:00
config.rpath
config.sub * config.sub, config.guess: Update from upstream sources. 2006-12-11 04:12:46 +00:00
configure 2007-01-11 Paolo Bonzini <bonzini@gnu.org> 2007-01-11 15:23:41 +00:00
configure.in 2007-01-11 Paolo Bonzini <bonzini@gnu.org> 2007-01-11 15:23:41 +00:00
COPYING
COPYING.LIB
COPYING.LIBGLOSS 2006-10-27 Jeff Johnston <jjohnstn@redhat.com> 2006-10-27 23:00:35 +00:00
COPYING.NEWLIB 2006-10-27 Jeff Johnston <jjohnstn@redhat.com> 2006-10-27 22:57:03 +00:00
depcomp
djunpack.bat
install-sh
libtool.m4
ltcf-c.sh
ltcf-cxx.sh
ltcf-gcj.sh
ltconfig
ltmain.sh
MAINTAINERS
Makefile.def 2007-01-11 Paolo Bonzini <bonzini@gnu.org> 2007-01-11 11:22:52 +00:00
Makefile.in 2007-01-11 Paolo Bonzini <bonzini@gnu.org> 2007-01-11 11:22:52 +00:00
Makefile.tpl 2007-01-11 Paolo Bonzini <bonzini@gnu.org> 2007-01-11 11:22:52 +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.