GDB that can debug Mach-Os on Linux
Go to file
Tom Tromey 2c74e83381 gdb
2009-05-27  Tom Tromey  <tromey@redhat.com>
	    Thiago Jung Bauermann  <bauerman@br.ibm.com>
	    Phil Muldoon  <pmuldoon@redhat.com>
	    Paul Pluzhnikov  <ppluzhnikov@google.com>

	* python/python.c (_initialize_python): Call
	gdbpy_initialize_types.
	(GdbMethods): Add "lookup_type".
	* python/python-value.c (value_object) <type>: New field.
	(valpy_dealloc): Decref type.
	(valpy_new): Initialize type.
	(valpy_get_type): New function.
	(value_to_value_object): Initialize type.
	(valpy_cast): New function.
	(value_object_getset): Add "type".
	(value_object_methods): Add "cast".
	* python/python-internal.h (type_to_type_object): Declare.
	(type_object_to_type): Likewise.
	(gdbpy_initialize_types): Likewise.
	(gdbpy_lookup_type): Declare.
	* Makefile.in (SUBDIR_PYTHON_OBS): Add python-type.o.
	(SUBDIR_PYTHON_SRCS): Add python-type.c.
	(python-type.o): New target.
	* python/python-type.c: New file.

gdb/doc

2009-05-27  Thiago Jung Bauermann  <bauerman@br.ibm.com>
	    Tom Tromey  <tromey@redhat.com>

	* gdb.texinfo (Types In Python): New node.
	(Values From Inferior): "type" is now an attribute.
	(Python API): Update.


gdb/testsuite

2009-05-27  Thiago Jung Bauermann  <bauerman@br.ibm.com>
	    Tom Tromey  <tromey@redhat.com>
	    Pedro Alves  <pedro@codesourcery.com>
	    Paul Pluzhnikov  <ppluzhnikov@google.com>

	* gdb.python/python-template.exp: New file.
	* gdb.python/python-template.cc: New file.
	* gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
	tests.
	* gdb.python/python-value.exp (py_objfile_tests): New proc.
	Call it.
	(test_value_after_death): New proc.
	* gdb.python/python-value.c (PTR): New typedef.
	(main): New variable 'x'.
2009-05-28 00:47:20 +00:00
bfd daily update 2009-05-28 00:00:08 +00:00
binutils * plugins.m4: New. 2009-05-27 16:29:55 +00:00
config * plugins.m4: New. 2009-05-27 16:29:55 +00:00
cpu * frv.cpu (mabshs): Explicitly sign-extend arguments of abs to DI. 2009-01-07 01:09:24 +00:00
elfcpp 2009-05-27 Doug Kwan <dougkwan@google.com> 2009-05-27 18:27:42 +00:00
etc bfd: 2009-02-03 15:54:05 +00:00
gas 2009-05-26 Catherine Moore <clm@codesourcery.com> 2009-05-27 14:14:42 +00:00
gdb gdb 2009-05-28 00:47:20 +00:00
gold Add missing ChangeLog entry in previous check-in 2009-05-26 23:05:00 +00:00
gprof Update Indonesian translations. 2009-05-26 16:49:41 +00:00
include 2009-05-27 H.J. Lu <hongjiu.lu@intel.com> 2009-05-27 17:05:53 +00:00
intl merge from gcc 2008-06-18 03:36:03 +00:00
ld ld/ChangeLog 2009-05-27 18:40:56 +00:00
libdecnumber merge from gcc 2009-04-13 19:43:01 +00:00
libiberty 2009-05-25 Tristan Gingold <gingold@adacore.com> 2009-05-25 13:27:56 +00:00
opcodes [cgen/cpu] 2009-05-27 01:49:46 +00:00
readline gdb: 2009-04-17 17:44:05 +00:00
sim Add ChangeLog 2009-05-18 13:27:12 +00:00
texinfo * texinfo/texinfo.tex: Update to version 2009-03-28.05. 2009-04-21 12:36:46 +00:00
.cvsignore add autom4te.cache to .cvsignore 2007-02-13 15:25:58 +00:00
ChangeLog * Makefile.tpl (all): Avoid harmless warning in make all when 2009-05-27 07:30:42 +00:00
compile
config-ml.in Merge from GCC: 2008-11-27 17:14:58 +00:00
config.guess * config.guess (pc:*:*:*): Return i586-pc-msdosdjgpp, for 2009-04-24 14:27:20 +00:00
config.rpath * config.rpath: Add AIX 6 support. 2008-03-13 19:27:44 +00:00
config.sub * config.sub, config.guess: Update from upstream sources. 2009-04-17 11:40:14 +00:00
configure Add new binutils target: moxie 2009-04-16 15:39:48 +00:00
configure.ac Add new binutils target: moxie 2009-04-16 15:39:48 +00:00
COPYING
COPYING3 * COPYING3: New file. Contains version 3 of the GNU General Public License. 2007-07-17 13:50:23 +00:00
COPYING3.LIB * COPYING3: New file. Contains version 3 of the GNU General Public License. 2007-07-17 13:50:23 +00:00
COPYING.LIB
COPYING.LIBGLOSS 2008-12-17 Jeff Johnston <jjohnstn@redhat.com> 2008-12-17 23:16:07 +00:00
COPYING.NEWLIB 2009-01-21 Jeff Johnston <jjohnstn@redhat.com> 2009-01-22 00:08:29 +00:00
depcomp
djunpack.bat * djunpack.bat: Use ".." quoting in Sed command, for the sake of 2009-03-27 13:37:09 +00:00
install-sh
libtool.m4 Backport from git Libtool: 2009-03-01 18:57:19 +00:00
lt~obsolete.m4 * libtool.m4: Update to libtool 2.2.6. 2008-09-29 15:28:14 +00:00
ltgcc.m4 * libtool.m4: Update to libtool 2.2.6. 2008-09-29 15:28:14 +00:00
ltmain.sh * libtool.m4: Update to libtool 2.2.6. 2008-09-29 15:28:14 +00:00
ltoptions.m4 * libtool.m4: Update to libtool 2.2.6. 2008-09-29 15:28:14 +00:00
ltsugar.m4 * libtool.m4: Update to libtool 2.2.6. 2008-09-29 15:28:14 +00:00
ltversion.m4 * libtool.m4: Update to libtool 2.2.6. 2008-09-29 15:28:14 +00:00
MAINTAINERS * MAINTAINERS: Replace reference to configure.in with reference to configure.ac. 2008-04-18 08:55:06 +00:00
Makefile.def ChangeLog: 2009-05-12 18:16:01 +00:00
Makefile.in * Makefile.tpl (all): Avoid harmless warning in make all when 2009-05-27 07:30:42 +00:00
Makefile.tpl * Makefile.tpl (all): Avoid harmless warning in make all when 2009-05-27 07:30:42 +00:00
makefile.vms
missing
mkdep
mkinstalldirs
move-if-change Import from Autoconf sources: 2005-09-07 00:42:19 +00:00
README
README-maintainer-mode
setup.com 2009-05-25 Tristan Gingold <gingold@adacore.com> 2009-05-25 13:31:05 +00:00
src-release * src-release (BINUTILS_SUPPORT_DIRS): Remove mkdep and depcomp. 2008-06-18 23:20:43 +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.