Binutils with MCST patches
Go to file
Doug Evans 4e5d721fc0 Implement TARGET_OBJECT_STACK_MEMORY.
* NEWS: Add note on new "set stack-cache" option.
	* corefile.c (read_stack): New function.
	* dcache.c (dcache_struct): New member ptid.
	(dcache_enable_p): Mark as obsolete.
	(show_dcache_enabled_p): Flag option as deprecated.
	(dcache_invalidate): Update ptid.
	(dcache_invalidate_line): New function.
	(dcache_read_line): No longer check cacheable attribute, stack
	accesses get cached despite attribute.
	(dcache_init): Set ptid.
	(dcache_xfer_memory): Flush cache if from different ptid than before.
	Update cache after write.
	(dcache_update): New function.
	(dcache_info): Report ptid.
	(_initialize_dcache): Update text for `remotecache' to indicate it
	is obsolete.
	* dcache.h (dcache_update): Declare.
	* dwarf2loc.c (dwarf2_evaluate_loc_desc): Mark values on stack with
	set_value_stack.
	* frame-unwind.c (frame_unwind_got_memory): Ditto.
	* gdbcore.h (read_stack): Declare.
	* memattr.c (mem_enable_command): Call target_dcache_invalidate
	instead of dcache_invalidate.
	(mem_disable_command, mem_delete_command): Ditto.
	* target.c (stack_cache_enabled_p_1): New static global.
	(stack_cache_enabled_p): New static global.
	(set_stack_cache_enabled_p): New function.
	(show_stack_cache_enabled_p): New function.
	(target_dcache): Make static.
	(target_dcache_invalidate): New function.
	(target_load, target_resume): Call target_dcache_invalidate
	instead of dcache_invalidate.
	(memory_xfer_partial): New arg object, all callers updated.
	Check for existing inferior before calling dcache routines.
	When writing non-TARGET_OBJECT_STACK_MEMORY, notify dcache.
	(target_xfer_partial): Call memory_xfer_partial for
	TARGET_OBJECT_STACK_MEMORY.
	(target_read_stack): New function.
	(initialize_targets): Install new option `stack-cache'.
	* target.h: Remove #include of dcache.h.
	(enum target_object): New value TARGET_OBJECT_STACK_MEMORY.
	(target_dcache): Delete.
	(target_dcache_invalidate): Declare.
	(target_read_stack): Declare.
	* top.c (prepare_execute_command): New function.
	(execute_command): Call prepare_execute_command
	instead of free_all_values.
	* top.h (prepare_execute_command): Declare.
	* valops.c (get_value_at): New function.
	(value_at): Guts moved to get_value_at.
	(value_at_lazy): Similarly.
	(value_fetch_lazy): Call read_stack for stack values.
	* value.c (struct value): New member `stack'.
	(value_stack, set_value_stack): New functions.
	* value.h (value_stack, set_value_stack): Declare.
	* mi/mi-main.c (mi_cmd_execute): Call prepare_execute_command
	instead of free_all_values.

	doc/
	* gdb.texinfo (Caching Data of Remote Targets): Update text.
	Mark `set/show remotecache' options as obsolete.
	Document new `set/show stack-cache' option.
	Update text for `info dcache'.
2009-08-31 20:18:46 +00:00
bfd bfd/ 2009-08-31 12:02:36 +00:00
binutils Updated sources to avoid using the identifier name "new", which is a 2009-08-29 22:11:02 +00:00
config Regenerate tree using Autoconf 2.64 and Automake 1.11. 2009-08-22 16:56:56 +00:00
cpu * cpu/simplify.inc (*): One line doc strings don't need \n. 2009-07-16 17:53:25 +00:00
elfcpp * config/obj-elf.c (obj_elf_type): Add code to support a type of 2009-07-23 13:00:30 +00:00
etc Regenerate tree using Autoconf 2.64 and Automake 1.11. 2009-08-22 16:56:56 +00:00
gas 2009-08-31 H.J. Lu <hongjiu.lu@intel.com> 2009-08-31 18:45:26 +00:00
gdb Implement TARGET_OBJECT_STACK_MEMORY. 2009-08-31 20:18:46 +00:00
gold * options.h (Command_line::Pre_options): New class. 2009-08-25 01:10:48 +00:00
gprof Cleanups in binutils makefiles. 2009-08-22 19:02:57 +00:00
include Updated sources to avoid using the identifier name "new", which is a 2009-08-29 22:11:02 +00:00
intl Sync from GCC: Update AC_PREREQ entries to 2.64. 2009-08-24 19:12:57 +00:00
ld * lib/ld-lib.exp (is_elf_format): Return 1 for bfin-*-uclinux. 2009-08-31 11:02:54 +00:00
libdecnumber Sync from GCC: Update AC_PREREQ entries to 2.64. 2009-08-24 19:12:57 +00:00
libiberty Sync from GCC: Update AC_PREREQ entries to 2.64. 2009-08-24 19:12:57 +00:00
opcodes Updated sources to avoid using the identifier name "new", which is a 2009-08-29 22:11:02 +00:00
readline Regenerate tree using Autoconf 2.64 and Automake 1.11. 2009-08-22 16:56:56 +00:00
sim Remove SIM_CHECK_MEMBER* in sim/common/. 2009-08-29 11:36:26 +00:00
texinfo * texinfo/texinfo.tex: Update to version 2009-03-28.05. 2009-04-21 12:36:46 +00:00
.cvsignore
COPYING
COPYING.LIB
COPYING.LIBGLOSS 2009-06-17 Michael Eager <eager@eagercon.com> 2009-06-17 16:35:15 +00:00
COPYING.NEWLIB
COPYING3
COPYING3.LIB
ChangeLog * ltmain.sh (func_normal_abspath): New function. 2009-08-31 16:59:32 +00:00
MAINTAINERS * MAINTAINERS: Perform some obvious fixups. 2009-08-19 02:53:50 +00:00
Makefile.def Fix toplevel target deps. 2009-08-19 21:59:11 +00:00
Makefile.in Fix toplevel target deps. 2009-08-19 21:59:11 +00:00
Makefile.tpl Sync toplevel with GCC, merge. 2009-08-19 19:49:26 +00:00
README
README-maintainer-mode Cleanups after the update to Autoconf 2.64, Automake 1.11. 2009-08-22 17:08:11 +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-08-17 04:10:29 +00:00
config.rpath
config.sub * config.sub, config.guess: Update from upstream sources. 2009-08-17 04:10:29 +00:00
configure Cleanups after the update to Autoconf 2.64, Automake 1.11. 2009-08-22 17:08:11 +00:00
configure.ac Sync from GCC: Update AC_PREREQ entries to 2.64. 2009-08-24 19:12:57 +00:00
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
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
lt~obsolete.m4
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
setup.com 2009-05-25 Tristan Gingold <gingold@adacore.com> 2009-05-25 13:31:05 +00:00
src-release
symlink-tree
ylwrap Update automake-provided files in the toplevel. 2009-08-22 11:48:33 +00:00

README

		   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.