GDB that can debug Mach-Os on Linux
Go to file
Andrew Stubbs c9ac0a72c9 2009-10-21 Andrew Stubbs <ams@codesourcery.com>
Joel Brobecker  <brobecker@adacore.com>

	* Makefile.in (HFILES_NO_SRCDIR): Remove shnbsd-tdep.h
	* configure.tgt (sh*-*-linux*): Add corelow.o to gdb_target_obs.
	* sh-linux-tdep.c: Include sh-tdep.h.
	(REGSx16): New macro.
	(gregs_table, fpregs_table): New variables.
	(sh_linux_init_abi): Set core_gregmap and fpregmap.
	* sh-tdep.c: Include regset.h.
	(sh_corefile_supply_regset): New function.
	(sh_corefile_collect_regset): New function.
	(sh_corefile_gregset, sh_corefile_fpregset): New variables.
	(sh_regset_from_core_section): New function.
	(sh_gdbarch_init): Set up tdep value.
	Call set_gdbarch_regset_from_core_section.
	* sh-tdep.h (PC_REGNUM): New enum value.
	(struct sh_corefile_regs): New type.
	(sh_corefile_gregset): Export variable.
	(sh_corefile_supply_regset): New prototype.
	(sh_corefile_collect_regset): New prototype.
	* shnbsd-tdep.c: Remove include of regcache.h, gdb_assert.h and
	shnbsd-tdep.h.
	(regmap): Use new definition using struct sh_corefile_regs.
	(shnbsd_supply_gregset, shnbsd_collect_gregset): Delete.
	(shnbsd_gregset): Delete.
	(shnbsd_regset_from_core_section): Delete.
	(shnbsd_supply_reg, shnbsd_fill_reg): Use new regset interface.
	(shnbsd_init_abi): Set core_gregmap.
	(shnbsd_supply_reg): Delete.
	(shnbsd_fill_reg): Delete.
	(SHNBSD_SIZEOF_GREGS): Move ...
	* shnbsd-nat.c (SHNBSD_SIZEOF_GREGS): ... to here.
	Remove include of shnbsd-tdep.h.
	(shnbsd_fetch_inferior_registers): Replace shnbsd_supply_reg call
	with sh_corefile_supply_regset.
	(shnbsd_store_inferior_registers): Replace shnbsd_fill_reg call with
	sh_corefile_collect_regset.
	* shnbsd-tdep.h: Delete file.
2009-10-21 14:14:57 +00:00
bfd daily update 2009-10-20 23:00:05 +00:00
binutils * MAINTAINERS (BUILD SYSTEM, TESTSUITES): Remove myself. 2009-10-21 03:10:53 +00:00
config config: 2009-09-09 19:46:42 +00:00
cpu * m32r.cpu (stb-plus): Typo fix. 2009-09-25 14:07:07 +00:00
elfcpp 2009-10-16 Doug Kwan <dougkwan@google.com> 2009-10-16 23:07:23 +00:00
etc Regenerate tree using Autoconf 2.64 and Automake 1.11. 2009-08-22 16:56:56 +00:00
gas gas/ 2009-10-20 22:18:19 +00:00
gdb 2009-10-21 Andrew Stubbs <ams@codesourcery.com> 2009-10-21 14:14:57 +00:00
gold 2009-10-21 Doug Kwan <dougkwan@google.com> 2009-10-21 08:08:41 +00:00
gprof PR 10656 2009-09-25 09:57:50 +00:00
include merge from gcc 2009-10-19 18:14:24 +00:00
intl 2009-10-15 Jim Blandy <jimb@red-bean.com> 2009-10-15 09:41:35 +00:00
ld * ld-cris/tls-e-20.d, ld-cris/tls-e-20a.d, ld-cris/tls-e-22.d, 2009-10-19 16:34:31 +00:00
libdecnumber merge from gcc 2009-09-09 20:25:35 +00:00
libiberty merge from gcc 2009-10-09 04:49:52 +00:00
opcodes gas/ 2009-10-20 22:18:19 +00:00
readline Regenerate tree using Autoconf 2.64 and Automake 1.11. 2009-08-22 16:56:56 +00:00
sim * MAINTAINERS: Add myself as m32r maintainer. 2009-10-16 18:57:30 +00:00
texinfo
.cvsignore
ChangeLog Fix toplevel 'config.status --recheck' for --enable-lto. 2009-10-13 03:32:18 +00:00
compile Update automake-provided files in the toplevel. 2009-08-22 11:48:33 +00:00
config-ml.in
config.guess * config.sub, config.guess: Update from upstream sources. 2009-09-23 09:51:31 +00:00
config.rpath
config.sub * config.sub, config.guess: Update from upstream sources. 2009-09-23 09:51:31 +00:00
configure Fix toplevel 'config.status --recheck' for --enable-lto. 2009-10-13 03:32:18 +00:00
configure.ac Fix toplevel 'config.status --recheck' for --enable-lto. 2009-10-13 03:32:18 +00:00
COPYING
COPYING3
COPYING3.LIB
COPYING.LIB
COPYING.LIBGLOSS
COPYING.NEWLIB
depcomp Update automake-provided files in the toplevel. 2009-08-22 11:48:33 +00:00
djunpack.bat
install-sh Update automake-provided files in the toplevel. 2009-08-22 11:48:33 +00:00
libtool.m4
lt~obsolete.m4
ltgcc.m4
ltmain.sh * ltmain.sh (func_normal_abspath): New function. 2009-08-31 16:59:32 +00:00
ltoptions.m4
ltsugar.m4
ltversion.m4
MAINTAINERS
Makefile.def Sync with gcc repository. 2009-10-07 05:57:49 +00:00
Makefile.in Sync with gcc repository. 2009-10-07 05:57:49 +00:00
Makefile.tpl Sync with gcc repository. 2009-10-07 05:57:49 +00:00
makefile.vms
missing Update automake-provided files in the toplevel. 2009-08-22 11:48:33 +00:00
mkdep
mkinstalldirs Update automake-provided files in the toplevel. 2009-08-22 11:48:33 +00:00
move-if-change
README
README-maintainer-mode Cleanups after the update to Autoconf 2.64, Automake 1.11. 2009-08-22 17:08:11 +00:00
setup.com 2009-09-01 Tristan Gingold <gingold@adacore.com> 2009-09-01 13:38:26 +00:00
src-release
symlink-tree
ylwrap Update automake-provided files in the toplevel. 2009-08-22 11:48:33 +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.