GDB that can debug Mach-Os on Linux
Go to file
Jim Blandy 6ced10dd55 Change the layout of the PowerPC E500 raw register cache to allow
the lower 32-bit halves of the GPRS to be their own raw registers,
not pseudoregisters.
* ppc-tdep.h (struct gdbarch_tdep): Remove ppc_gprs_pseudo_p flag;
add ppc_ev0_upper_regnum flag.
* rs6000-tdep.c: #include "reggroups.h".
(spe_register_p): Recognize the ev upper half registers as SPE
registers.
(init_sim_regno_table): Build gdb->sim mappings for the upper-half
registers.
(e500_move_ev_register): New function.
(e500_pseudo_register_read, e500_pseudo_register_write): The 'ev'
vector registers are the pseudo-registers now, formed by splicing
together the gprs and the upper-half registers.
(e500_register_reggroup_p): New function.
(P): Macro deleted.
(P8, A4): New macro.
(PPC_EV_REGS, PPC_GPRS_PSEUDO_REGS): Macros deleted.
(PPC_SPE_GP_REGS, PPC_SPE_UPPER_GP_REGS, PPC_EV_PSEUDO_REGS): New
macros.
(registers_e500): Rearrange register set so that the raw register
set contains 32-bit GPRs and upper-half registers, and the SPE
vector registers become pseudo-registers.
(rs6000_gdbarch_init): Don't initialize tdep->ppc_gprs_pseudo_p;
it has been deleted.  Initialize ppc_ev0_upper_regnum.  Many other
register numbers are now the same for the E500 as they are for
other PowerPC variants.  Register e500_register_reggroup_p as the
register group function for the E500.
* Makefile.in (rs6000-tdep.o): Update dependencies.

Adapt PPC E500 native support to the new raw regcache layout.
* ppc-linux-nat.c (struct gdb_evrregset_t): Doc fixes.
(read_spliced_spe_reg, write_spliced_spe_reg): Deleted.
(fetch_spe_register, store_spe_register): Handle fetching/storing
all the SPE registers at once, if regno == -1.  These now take
over the job of fetch_spe_registers and store_spe_registers.
(fetch_spe_registers, store_spe_registers): Deleted.
(fetch_ppc_registers, store_ppc_registers): Fetch/store gprs
unconditionally; they're always raw.  Fetch/store SPE upper half
registers, if present, instead of ev registers.
(fetch_register, store_register): Remove sanity checks: gprs are
never pseudo-registers now, so we never need to even mention any
registers that are ever pseudoregisters.
2004-08-04 17:17:55 +00:00
bfd daily update 2004-08-04 00:00:07 +00:00
binutils (deduce_name): Fix typos introduced when program_name was renamed to prog_name. 2004-08-02 08:14:17 +00:00
config ChangeLog: 2004-08-03 20:54:19 +00:00
contrib New directory. Created to contain a copy of the texi2pod.pl script so that 2002-07-03 11:20:13 +00:00
cpu Make 'insn' argument of iq2000_cgen_insn_supported be const. 2004-05-15 13:10:30 +00:00
etc Replace i[3456]86 with i[3-7]86 2003-05-16 16:30:27 +00:00
gas * gas/m68hc11/m68hc11.exp: Fix tests for 2.15 2004-08-01 19:59:51 +00:00
gdb Change the layout of the PowerPC E500 raw register cache to allow 2004-08-04 17:17:55 +00:00
gprof * gprof.c (main): For line-by-line profiling, there is no need to 2004-07-13 12:18:57 +00:00
include gdb/ChangeLog: 2004-08-04 17:04:36 +00:00
intl comment typo fixes 2002-01-21 14:03:27 +00:00
ld * ld.texinfo (Top): Document specific options of 68HC11 and 68HC12. 2004-08-02 20:03:41 +00:00
libiberty merge from gcc 2004-06-29 12:51:56 +00:00
mmalloc gdb/ 2003-08-08 17:30:37 +00:00
opcodes Added new instructions for next version of VIA PadLock core. 2004-07-30 12:36:38 +00:00
readline Index: ChangeLog 2004-02-19 14:55:26 +00:00
sim gdb/ChangeLog: 2004-08-04 17:04:36 +00:00
texinfo 2004-02-23 Andrew Cagney <cagney@redhat.com> 2004-02-23 19:37:48 +00:00
.cvsignore Add MMIX support 2001-10-30 15:20:14 +00:00
ChangeLog * configure.in (arm*-*-symbianelf*): Add ${libgcj} and 2004-08-04 16:12:06 +00:00
config-ml.in 2004-06-01 Paolo Bonzini <bonzini@gnu.org> 2004-06-01 07:46:01 +00:00
config.guess Index: ChangeLog 2004-02-19 14:55:26 +00:00
config.if * config.if: Remove unused libc_interface determination. 2003-07-16 06:35:35 +00:00
config.sub Undo accidental commit whilst adding crx-elf port 2004-07-07 17:37:19 +00:00
configure * configure.in (arm*-*-symbianelf*): Add ${libgcj} and 2004-08-04 16:12:06 +00:00
configure.in * configure.in (arm*-*-symbianelf*): Add ${libgcj} and 2004-08-04 16:12:06 +00:00
COPYING 19990502 sourceware import 1999-05-03 07:29:11 +00:00
COPYING.LIB 19990502 sourceware import 1999-05-03 07:29:11 +00:00
COPYING.LIBGLOSS 2002-12-20 Jeff Johnston <jjohnstn@redhat.com> 2002-12-20 21:36:01 +00:00
COPYING.NEWLIB 2004-02-02 Jeff Johnston <jjohnstn@redhat.com> 2004-02-03 00:05:49 +00:00
depcomp merge from gcc 2004-05-13 18:14:28 +00:00
djunpack.bat * djunpack.bat: Change the Sed script to replace @V@ in fnchange.lst 2000-05-08 15:13:30 +00:00
gettext.m4 * gettext.m4: Quote names of macros to be defined by AC_DEFUN 2004-01-14 13:41:37 +00:00
install-sh PR bootstrap/11932 2004-02-20 02:05:00 +00:00
libtool.m4 knetbsd/kfreebsd patches from Robert Millan. 2004-07-21 19:21:41 +00:00
ltcf-c.sh knetbsd/kfreebsd patches from Robert Millan. 2004-07-21 19:21:41 +00:00
ltcf-cxx.sh knetbsd/kfreebsd patches from Robert Millan. 2004-07-21 19:21:41 +00:00
ltcf-gcj.sh knetbsd/kfreebsd patches from Robert Millan. 2004-07-21 19:21:41 +00:00
ltconfig knetbsd/kfreebsd patches from Robert Millan. 2004-07-21 19:21:41 +00:00
ltmain.sh * ltmain.sh (relink_command): Fix typo in previous change. 2002-03-16 14:43:09 +00:00
MAINTAINERS Include Makefile.*, not just Makefile.in, in the top-level policy. 2004-06-09 22:48:28 +00:00
Makefile.def 2004-08-03 Paolo Bonzini <bonzini@gnu.org> 2004-08-03 09:36:03 +00:00
Makefile.in 2004-08-03 Paolo Bonzini <bonzini@gnu.org> 2004-08-03 09:36:03 +00:00
Makefile.tpl 2004-08-03 Paolo Bonzini <bonzini@gnu.org> 2004-08-03 09:36:03 +00:00
makefile.vms 19990502 sourceware import 1999-05-03 07:29:11 +00:00
missing * install-sh: Update to newer upstream versions (associated with 2003-08-29 00:13:09 +00:00
mkdep * mkdep: New file. 1999-08-08 17:46:02 +00:00
mkinstalldirs PR bootstrap/11932 2004-02-20 02:05:00 +00:00
move-if-change 19990502 sourceware import 1999-05-03 07:29:11 +00:00
README 19990502 sourceware import 1999-05-03 07:29:11 +00:00
README-maintainer-mode Update URL 2003-05-30 07:30:26 +00:00
setup.com 19990502 sourceware import 1999-05-03 07:29:11 +00:00
src-release Remove MPW support, no longer used. 2004-03-25 17:51:10 +00:00
symlink-tree * config-ml.in, symlink-tree: Add license. 2003-08-14 20:44:13 +00:00
ylwrap 19990502 sourceware import 1999-05-03 07:29:11 +00:00

		   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.