GDB that can debug Mach-Os on Linux
Go to file
Mark Kettenis 05816f706e * osabi.c: Include "gdb_assert.h" and "gdb_string.h".
(struct gdb_osabi_handler): Remove member `arch'.  Add member
`arch_info'.
(gdbarch_register_osabi): Add new argument `machine'.  Use ot to
construct a `struct bfd_arch_info' and store it in the `struct
gdb_osabi_handler' that is created.
(gdbarch_init_osabi): Check for compatibility based on machine
type and architecture.
* osabi.h (gdbarch_register_osabi): Adjust prototype and update
comment.
* alpha-linux-tdep.c (_initialize_alpha_linux_tdep): Add 0 as
second argument in call to gdbarch_register_osabi.
* alpha-osf1-tdep.c (_initialize_alpha_osf1_tdep): Likewise.
* alphafbsd-tdep.c (_initialize_alphafbsd_tdep): Likewise.
* alphanbsd-tdep.c (_initialize_alphanbsd_tdep): Likewise.
* arm-linux-tdep.c (_initialize_arm_linux_tdep): Likewise.
* arm-tdep.c (_initialize_arm_tdep): Likewise.
* armnbsd-tdep.c (_initialize_armnbsd_tdep): Likewise.
* hppa-hpux-tdep.c (_initialize_hppa_hpux_tdep): Likewise.
* i386-interix-tdep.c (_initialize_i386_interix_tdep): Likewise.
* i386-linux-tdep.c (_initialize_i386_linux_tdep): Likewise.
* i386-sol2-tdep.c (_initialize_i386_sol2_tdep): Likewise.
* i386-tdep.c (_initialize_i386_tdep): Likewise.
* i386bsd-tdep.c (_initialize_i386bsd_tdep): Likewise.
* i386gnu-tdep.c (_initialize_i386gnu_tdep): Likewise.
* i386ly-tdep.c (_initialize_i386lynx_tdep): Renamed from
_initialize_i386bsd_tdep and updated likewise.
* i386nbsd-tdep.c (_initialize_i386nbsd_tdep): Likewise.
* i386obsd-tdep.c (_initialize_i386obsd_tdep): Likewise.
* mips-irix-tdep.c (_initialize_mips_irix_tdep): Likewise.
* mips-linux-tdep.c (_initialize_mips_linux_tdep): Likewise.
* mipsnbsd-tdep.c (_initialize_mipsnbsd__tdep): Likewise.
* ns32knbsd-tdep.c (_initialize_ns32kmnsd_tdep): Likewise.
* ppc-linux-tdep.c (_initialize_ppc_linux_tdep): Likewise.
* ppcnbsd-tdep.c (_initialize_ppcnbsd_tdep): Likewise.
* shnbsd-tdep.c (_initialize_shnbsd_tdep): Likewise.
* sparcnbsd-tdep.c (_initialize_sparcnbsd_tdep): Likewise.
2002-12-21 19:58:07 +00:00
bfd Disable WINCE workaround that subtracted 8 from pc relative relocations. 2002-12-21 02:21:00 +00:00
binutils * README <building ar>: Don't use libibery's needed_list or 2002-12-19 22:42:38 +00:00
config * mh-cygwin: Don't build libtermcap if it doesn't exist. 2002-12-17 01:55:28 +00:00
contrib
etc
gas 2002-12-20 Chris Demetriou <cgd@broadcom.com> 2002-12-21 02:50:46 +00:00
gdb * osabi.c: Include "gdb_assert.h" and "gdb_string.h". 2002-12-21 19:58:07 +00:00
gprof oops - omitted from previous delta 2002-12-02 14:03:15 +00:00
include * xstormy16.h: Add XSTORMY16_12. 2002-12-20 21:13:42 +00:00
intl
ld * ldmain.c (main): Re-order link_info initialization. Init all 2002-12-19 23:11:19 +00:00
libiberty merge from gcc 2002-12-04 02:05:31 +00:00
mmalloc 2002-11-28 Elena Zannoni <ezannoni@redhat.com> 2002-11-28 16:46:31 +00:00
opcodes * cgen-asm.c (cgen_parse_keyword): Added underscore to symbol character 2002-12-20 04:54:30 +00:00
readline Revert debugging change 2002-12-17 02:52:57 +00:00
sim * arch.c,arch.h,cpuall.h: Regenerate. 2002-12-20 02:26:35 +00:00
texinfo 2002-08-23 Andrew Cagney <ac131313@redhat.com> 2002-08-23 22:24:57 +00:00
.cvsignore
ChangeLog 2002-12-20 Jeff Johnston <jjohnstn@redhat.com> 2002-12-20 21:36:01 +00:00
config-ml.in
config.guess Import chnages from master config repository. 2002-09-12 15:59:37 +00:00
config.if
config.sub Import chnages from master config repository. 2002-09-12 15:59:37 +00:00
configure * configure: Fix bug put in by gremlins. 2002-12-11 04:14:47 +00:00
configure.in * Makefile.tpl: Revert HJL's change. 2002-12-19 20:27:11 +00:00
COPYING
COPYING.LIB
COPYING.LIBGLOSS 2002-12-20 Jeff Johnston <jjohnstn@redhat.com> 2002-12-20 21:36:01 +00:00
COPYING.NEWLIB 2002-12-20 Jeff Johnston <jjohnstn@redhat.com> 2002-12-20 21:36:01 +00:00
djunpack.bat
gettext.m4
install-sh
libtool.m4
ltcf-c.sh 2002-12-01 Nathanael Nerode <neroden@gcc.gnu.org> 2002-12-01 12:01:26 +00:00
ltcf-cxx.sh * ltcf-cxx.sh (hpux*): Modify to support ia64-*-hpux*. 2002-07-04 22:51:16 +00:00
ltcf-gcj.sh 2002-12-01 Nathanael Nerode <neroden@gcc.gnu.org> 2002-12-01 12:01:26 +00:00
ltconfig
ltmain.sh
MAINTAINERS 2002-07-19 Chris Demetriou <cgd@broadcom.com> 2002-07-19 18:16:30 +00:00
Makefile.def 2002-12-13 Nathanael Nerode <neroden@gcc.gnu.org> 2002-12-13 22:59:14 +00:00
Makefile.in * Makefile.tpl: Revert HJL's change. 2002-12-19 20:27:11 +00:00
Makefile.tpl * Makefile.tpl: Revert HJL's change. 2002-12-19 20:27:11 +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
src-release * src-release: Configure host subdirs. 2002-12-05 22:43:12 +00:00
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.