No description
Find a file
Joel Brobecker 40bc484cc3 [Ada/funcalls] do not coerce fat pointers on the stack
When one of the parameter values in a subprogram calls is an array
whose value does not come from inferior memory, the debugger first
copies the array value in inferior memory.  Up to now, the memory
used to hold that copy was taken from the stack (just below the SP),
but this is causing problems on SPARC v9.

So the immediate fix is to follow what C does with arrays and strings,
which is allocate memory on the heap.

gdb/ChangeLog:

        * ada-lang.c: #include "value.h".
        (ensure_lval): Delete advance declaration.  Remove gdbarch and sp
        arguments.  Implement using value_allocate_space_in_inferior
        instead of allocating memory from the stack.
        (make_array_descriptor): Remove gdbarch and sp parameters.  Update
        calls to ensure_lval.
        (ada_convert_actual): Remove gdbarch and sp parameters.  Update
        calls to make_array_descriptor and ensure_lval.
        * ada-lang.h (ada_convert_actual): Update declaration.
        * infcall.c (value_arg_coerce): Update call to ada_convert_actual.
2010-10-04 22:32:31 +00:00
bfd bfd/ 2010-10-04 14:13:10 +00:00
binutils Set BFD target to "plugin" for "nm --plugin". 2010-10-03 10:49:19 +00:00
config Sync toplevel and config from GCC. 2010-10-02 14:42:48 +00:00
cpu * m32c.cpu (f-dsp-8-s24): Mask high byte after shifting it. 2010-07-03 04:09:56 +00:00
elfcpp * elfcpp.h (enum SHT): Add SHT_GNU_INCREMENTAL_GOT_PLT. 2010-08-12 22:18:14 +00:00
etc * standards.texi: Import current version from gnustandards 2010-06-08 12:15:36 +00:00
gas 2010-10-04 David Daney <ddaney@caviumnetworks.com> 2010-10-04 15:24:49 +00:00
gdb [Ada/funcalls] do not coerce fat pointers on the stack 2010-10-04 22:32:31 +00:00
gold 2010-10-02 Doug Kwan <dougkwan@google.com> 2010-10-02 09:35:20 +00:00
gprof Fix unportable shell quoting. 2010-09-27 20:23:01 +00:00
include include/ 2010-09-29 10:14:02 +00:00
intl merge from gcc 2010-09-27 21:01:18 +00:00
ld bfd/ 2010-10-04 14:13:10 +00:00
libdecnumber merge from gcc 2010-09-10 23:17:28 +00:00
libiberty merge from gcc 2010-09-27 21:01:18 +00:00
opcodes Remove duplicated RMAL. 2010-10-02 07:04:07 +00:00
readline
sim * mem.c (rx_mem_ptr): When invalidating the decode cache, account 2010-09-30 00:03:23 +00:00
texinfo
.cvsignore
ChangeLog Allow to pass separate configure arguments for build, host and target. 2010-10-02 14:54:06 +00:00
compile
config-ml.in
config.guess /: 2010-06-01 17:53:40 +00:00
config.rpath
config.sub /: 2010-06-01 17:53:40 +00:00
configure Allow to pass separate configure arguments for build, host and target. 2010-10-02 14:54:06 +00:00
configure.ac Allow to pass separate configure arguments for build, host and target. 2010-10-02 14:54:06 +00:00
COPYING
COPYING.LIB
COPYING.LIBGLOSS
COPYING.NEWLIB
COPYING3
COPYING3.LIB
depcomp
djunpack.bat
install-sh
libtool.m4
ltgcc.m4
ltmain.sh
ltoptions.m4
ltsugar.m4
ltversion.m4
lt~obsolete.m4
MAINTAINERS
Makefile.def build: info-gcc, dvi-gcc etc work from unbuilt configured tree. 2010-09-30 21:55:13 +00:00
Makefile.in build: info-gcc, dvi-gcc etc work from unbuilt configured tree. 2010-09-30 21:55:13 +00:00
Makefile.tpl 2010-07-17 Jack Howarth <howarth@bromo.med.uc.edu> 2010-07-18 08:12:40 +00:00
makefile.vms
missing
mkdep
mkinstalldirs
move-if-change
README
README-maintainer-mode
setup.com
src-release
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.