GDB that can debug Mach-Os on Linux
Go to file
Mark Kettenis bda9cb723c Fix debugging programs statically linked against the thread library.
* thread-db.c: Various comment fixes and additions.
Include "bfd.h", "symfile.h" and "objfiles.h".
(keep_thread_db): New variable.
(find_new_threads_callback): Remove prototype.
(thread_db_find_new_threads): New prototype.
(thread_db_push_target, thread_db_unpush_target): Remove
functions.
(deactivate_target): New function.
(thread_db_new_objfile): If OBJFILE == NULL, force deactivation of
target vector.  Activate target vector directly instead of calling
thread_db_push_target.  Set keep_thread_db if thread library is
detected in the main symbol file.  Only enable thread event
reporting if there actually is a child process.  Likewise for
detecting new threads, done by calling thread_db_find_new_threads
instead of iterating over the threads ourselves.
(thread_db_detach): Call deactivate_target instead of
thread_db_unpush_target.
(thread_db_wait): Bail out early if we're not debugging the
multi-threaded child process yet.
(thread_db_post_startup_inferior): New function.
(thread_db_mourn_inferior): Call deactivate_target instead of
thread_db_unpush_target.
(init_thread_db_ops): Add thread_db_post_startup_inferior to
thread_db_ops.
2000-12-27 21:37:57 +00:00
bfd 2000-12-26 Kazu Hirata <kazu@hxi.com> 2000-12-26 19:50:50 +00:00
binutils Add missing support for arm-epoc-pe. 2000-12-19 22:22:02 +00:00
config
etc
gas * config/tc-d10v.c (md_assemble): set prev_seg and prev_subseg 2000-12-22 22:06:32 +00:00
gdb Fix debugging programs statically linked against the thread library. 2000-12-27 21:37:57 +00:00
gprof Add GNU Free Documentation License 2000-11-06 20:27:26 +00:00
include * tc-i386.h (i386_target_format): Define even for ELFs. 2000-12-20 13:24:13 +00:00
intl
ld Add --no-default-excludes option for PE targets 2000-12-26 20:55:30 +00:00
libiberty * bsearch.c: New file. 2000-12-26 22:19:44 +00:00
mmalloc
opcodes Fix for compiling under Solaris 2.8 2000-12-21 18:43:33 +00:00
readline
sim * Make-common.in (sim-io.o): Depend on targ-vals.h. 2000-12-27 17:47:20 +00:00
texinfo
.cvsignore
ChangeLog * configure.in: Disable language-specific target libraries for 2000-12-12 20:33:05 +00:00
config-ml.in * config-ml.in (CC, CXX): Avoid trailing whitespace. 2000-08-22 05:01:20 +00:00
config.guess 2000-09-12 Philip Blundell <philb@gnu.org> 2000-09-12 18:09:36 +00:00
config.if
config.sub Add MIPS32 as a seperate MIPS architecture 2000-12-01 21:35:38 +00:00
configure
configure.in * configure.in: Disable language-specific target libraries for 2000-12-12 20:33:05 +00:00
COPYING
COPYING.LIB
djunpack.bat
gettext.m4 * ltconfig, ltmain.sh: Updated from libtool multi-language branch. 2000-08-31 09:25:11 +00:00
install-sh
libtool.m4 * ltconfig, ltmain.sh, libtool.m4: Updated from libtool 2000-09-30 06:07:00 +00:00
ltcf-c.sh * ltconfig, ltmain.sh, libtool.m4, ltcf-c.sh: Updated from libtool 2000-09-06 13:27:41 +00:00
ltcf-cxx.sh * ltcf-cxx.sh: Added file, required by 2000-11-18 merge. 2000-11-20 17:27:59 +00:00
ltcf-gcj.sh ChangeLog 2000-11-23 04:04:00 +00:00
ltconfig * ltconfig, ltmain.sh, libtool.m4: Updated from libtool 2000-09-30 06:07:00 +00:00
ltmain.sh * ltconfig, ltmain.sh, libtool.m4: Updated from libtool 2000-09-30 06:07:00 +00:00
MAINTAINERS * add sid/ delegation 2000-12-07 21:29:37 +00:00
Makefile.in * Makefile.in: Merge with GCC and libgcj. 2000-11-18 22:01:34 +00:00
makefile.vms
missing
mkdep
mkinstalldirs
move-if-change
mpw-build.in
mpw-config.in
mpw-configure
mpw-install
mpw-README
README
README-maintainer-mode
setup.com
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.