GDB that can debug Mach-Os on Linux
Go to file
Mark Kettenis 20776c7d55 * hppa-tdep.h (enum hppa_regnum): Add HPPA_FP31R_REGNUM.
* hppabsd-nat.c (hppabsd_fpregset_supplies_p)
(hppabsd_supply_fpregset, hppabsd_collect_fpregset): New
functions.
(hppabsd_fetch_registers, hppabsd_store_registers): Handle
floating-point registers.
  print_scalar_formatted (valaddr, type, format, 0, stream);
val_print_type_code_flags (type, valaddr, stream);
  print_scalar_formatted (valaddr + embedded_offset, type, format, 0, stream);
val_print_type_code_flags (type, valaddr + embedded_offset, stream);
	for (reg = 16; reg < 31; reg++)
	/* We may have to apply a StackGhost cookie.  */
	fs->regs.reg[31].how = DWARF2_FRAME_REG_SAVED_WCOOKIE;
	fs->regs.reg[31].loc.offset = 15 * size;
  int regnum;
			 buf, 0, size);
{
  ULONGEST wcookie = extract_unsigned_integer (buf, len);
  gdb_assert (len == size);
  *lvalp = not_lval;
  *addrp = 0;
  if (valuep)
    {
      ULONGEST value = extract_unsigned_integer (valuep, size);
      store_unsigned_integer (valuep, size, value ^ wcookie);
    }
}
			   apply StackGhost cookie.  */
  print_scalar_formatted (valaddr, type, format, 0, stream);
val_print_type_code_flags (type, valaddr, stream);
 || (TYPE_CODE (t) == TYPE_CODE_FLAGS)
case TYPE_CODE_FLAGS:
case TYPE_CODE_FLAGS:
		  void *fpregs, int regnum)
{
  regcache_raw_collect (regcache, i, regs);
  regcache_raw_collect (regcache, i + 1, regs + 4);
}
	  (PTRACE_TYPE_ARG3) &fpregs, 0) == -1)
perror_with_name (_("Couldn't get floating point status"));
	  (PTRACE_TYPE_ARG3) &fpregs, 0) == -1)
perror_with_name (_("Couldn't get floating point status"));
	  (PTRACE_TYPE_ARG3) &fpregs, 0) == -1)
perror_with_name (_("Couldn't write floating point status"));
  print_scalar_formatted (valaddr + embedded_offset, type, format, 0, stream);
val_print_type_code_flags (type, valaddr + embedded_offset, stream);
  || regnum == PC_REGNUM);
  || regnum == tdep->ppc_fpscr_regnum);
		  regnum, &regs, sizeof regs);
		   regnum, &fpregs, sizeof fpregs);
		   regnum, &regs, sizeof regs);
		    regnum, &fpregs, sizeof fpregs);
			  const char *sect_name, size_t sect_size)
	      struct regcache *regcache, gdb_byte *readbuf,
	      const gdb_byte *writebuf)
  if (lr_reg == -1)
{
  /* bcl 20,xx,.+4 is used to get the current PC, with or without
     prediction bits.  If the LR has already been saved, we can
     skip it.  */
  continue;
}
extract_unsigned_integer ((gdb_byte *)&(MEMBER), sizeof (MEMBER))
			    builtin_type_void_data_ptr);
				  lmo->r_version_size);
			    builtin_type_void_data_ptr);
lm = ldsomap = solib_svr4_r_ldsomap ();
  || (X_I (insn) == 1 && X_RS1 (insn) == 0 && (insn & 0x7f) == 0))
{
  /* OpenBSD system call.  */
  ULONGEST number;
  regcache_cooked_read_unsigned (current_regcache,
				 SPARC_G1_REGNUM, &number);
  if (number & 0x400)
    return sparc_address_from_register (SPARC_G2_REGNUM);
  if (number & 0x800)
    return sparc_address_from_register (SPARC_G7_REGNUM);
}
  gdb_byte *buffer;
	  gdb_byte *check = xmalloc (len);
		  (unsigned int *)cache_ovly_table, cache_novlys * 4);
			cache_ovly_table[i], 4);
error (_(""%s" exists in this program but is not a function."),
       name);
return value_of_variable (sym, NULL);
		   struct ui_file *stream)
{
  if (TYPE_FIELD_NAME (type, bitpos))
    fprintf_filtered (stream, "%s ", TYPE_FIELD_NAME (type, bitpos));
  else
    fprintf_filtered (stream, "#%d ", bitpos);
}
			       const gdb_byte *valaddr,
			       struct ui_file *stream);
i386-sol2-tdep.o sol2-tdep.o corelow.o solib.o solib-svr4.o
sol2-tdep.o solib.o solib-svr4.o
2006-01-14 12:24:36 +00:00
bfd daily update 2006-01-13 23:00:06 +00:00
binutils * objcopy.c (copy_object): Fix thinko. 2006-01-10 22:34:03 +00:00
config 2006-02-01 Paolo Bonzini <bonzini@gnu.org> 2006-01-02 18:55:51 +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 * m32c.cpu (mov.w:q): Fix mode. 2006-01-06 23:25:53 +00:00
etc Fix typo 2005-10-21 23:31:33 +00:00
gas Fixes for building on 64-bit hosts: 2006-01-11 17:39:50 +00:00
gdb * hppa-tdep.h (enum hppa_regnum): Add HPPA_FP31R_REGNUM. 2006-01-14 12:24:36 +00:00
gprof * Makefile.am (Makefile): Remove dependency. 2005-12-27 01:21:27 +00:00
include * xtensa-config.h (XCHAL_HAVE_MUL32_HIGH): Define. 2006-01-09 23:47:37 +00:00
intl Update the address and telephone number of the FSF organization 2005-05-13 08:04:31 +00:00
ld * ld-mmix/sec-1.d: Adjust for section order changes. 2006-01-03 07:03:26 +00:00
libiberty merge from gcc 2005-12-17 20:51:56 +00:00
mmalloc gdb/ 2003-08-08 17:30:37 +00:00
opcodes * m32c-desc.c: Regenerate. 2006-01-06 23:25:36 +00:00
readline Clarify ANSI, not POSIX, terminal escapes in ChangeLog 2005-07-25 15:13:33 +00:00
sim Now saved ChangeLog for previous entry. 2006-01-10 07:17:17 +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 * Makefile.tpl (clean-stage[+id+]-[+prefix+][+module+]): Remove 2006-01-05 17:45:45 +00:00
compile 2005-07-14 Kelley Cook <kcook@gcc.gnu.org> 2005-07-14 01:24:56 +00:00
config-ml.in 2005-07-14 Kelley Cook <kcook@gcc.gnu.org> 2005-07-14 01:24:56 +00:00
config.guess toplevel: 2005-12-05 15:16:05 +00:00
config.sub Rename ms1 to mt, part 1 2005-12-12 11:25:08 +00:00
configure 2006-01-04 Paolo Bonzini <bonzini@gnu.org> 2006-01-04 13:11:22 +00:00
configure.in 2006-01-04 Paolo Bonzini <bonzini@gnu.org> 2006-01-04 13:11:22 +00:00
COPYING 2005-07-14 Kelley Cook <kcook@gcc.gnu.org> 2005-07-14 01:24:56 +00:00
COPYING.LIB 2005-07-16 Kelley Cook <kcook@gcc.gnu.org> 2005-07-16 02:41:34 +00:00
COPYING.LIBGLOSS 2005-07-16 Kelley Cook <kcook@gcc.gnu.org> 2005-07-16 02:41:34 +00:00
COPYING.NEWLIB 2005-12-16 Jeff Johnston <jjohnstn@redhat.com> 2005-12-16 20:58:39 +00:00
depcomp * depcomp: Update from automake CVS. Add 'ia64hp' stanza. 2005-06-13 18:01:01 +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 2005-01-31 Andrew Cagney <cagney@gnu.org> 2005-01-31 20:32:45 +00:00
install-sh 2005-07-14 Kelley Cook <kcook@gcc.gnu.org> 2005-07-14 01:24:56 +00:00
libtool.m4 PR binutils/1990 2005-12-27 16:37:57 +00:00
ltcf-c.sh 2005-07-16 Kelley Cook <kcook@gcc.gnu.org> 2005-07-16 02:41:34 +00:00
ltcf-cxx.sh 2005-07-16 Kelley Cook <kcook@gcc.gnu.org> 2005-07-16 02:41:34 +00:00
ltcf-gcj.sh 2005-07-16 Kelley Cook <kcook@gcc.gnu.org> 2005-07-16 02:41:34 +00:00
ltconfig 2005-07-16 Kelley Cook <kcook@gcc.gnu.org> 2005-07-16 02:41:34 +00:00
ltmain.sh 2005-07-16 Kelley Cook <kcook@gcc.gnu.org> 2005-07-16 02:41:34 +00:00
MAINTAINERS Remove dejagnu/ entry. 2005-06-29 02:05:07 +00:00
Makefile.def 2006-01-04 Paolo Bonzini <bonzini@gnu.org> 2006-01-04 13:11:22 +00:00
Makefile.in * Makefile.tpl (clean-stage[+id+]-[+prefix+][+module+]): Remove 2006-01-05 17:45:45 +00:00
Makefile.tpl * Makefile.tpl (clean-stage[+id+]-[+prefix+][+module+]): Remove 2006-01-05 17:45:45 +00:00
makefile.vms 19990502 sourceware import 1999-05-03 07:29:11 +00:00
missing 2005-07-14 Kelley Cook <kcook@gcc.gnu.org> 2005-07-14 01:24:56 +00:00
mkdep * mkdep: New file. 1999-08-08 17:46:02 +00:00
mkinstalldirs 2005-07-14 Kelley Cook <kcook@gcc.gnu.org> 2005-07-14 01:24:56 +00:00
move-if-change Import from Autoconf sources: 2005-09-07 00:42:19 +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 * setup.com (mpw): Remove unused directive. 2005-06-29 19:12:31 +00:00
src-release 2005-07-16 Kelley Cook <kcook@gcc.gnu.org> 2005-07-16 02:41:34 +00:00
symlink-tree 2005-07-14 Kelley Cook <kcook@gcc.gnu.org> 2005-07-14 01:24:56 +00:00
ylwrap 2005-07-14 Kelley Cook <kcook@gcc.gnu.org> 2005-07-14 01:24:56 +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.