No description
Find a file
Jim Blandy 4478b372e9 * gdbarch.sh (POINTER_TO_ADDRESS, ADDRESS_TO_POINTER): Two new
functions which architectures can redefine, defaulting to
generic_pointer_to_address and generic_address_to_pointer.
* findvar.c (extract_typed_address, store_typed_address,
generic_pointer_to_address, generic_address_to_pointer): New
functions.
(POINTER_TO_ADDRESS, ADDRESS_TO_POINTER): Provide default
definitions.
(extract_address, store_address): Doc fixes.
* values.c (value_as_pointer): Doc fix.
(value_from_pointer): New function.
* defs.h (extract_typed_address, store_typed_address): New
declarations.
* inferior.h (generic_address_to_pointer,
generic_pointer_to_address): New declarations.
* value.h (value_from_pointer): New declaration.

* ax-gdb.c (const_var_ref): Use value_from_pointer, not
value_from_longest.
* blockframe.c (generic_push_dummy_frame): Use read_pc and
read_sp, not read_register.
* c-valprint.c (c_val_print): Use extract_typed_address instead of
extract_address to extract vtable entries and references.
* cp-valprint.c (cp_print_value_fields): Use value_from_pointer
instead of value_from_longest to extract the vtable's address.
* eval.c (evaluate_subexp_standard): Use value_from_pointer
instead of value_from_longest to compute `this', and for doing
pointer-to-member dereferencing.
* findvar.c (read_register): Use extract_unsigned_integer, not
extract_address.
(read_var_value): Use store_typed_address instead of store_address
for building label values.
(locate_var_value): Use value_from_pointer instead of
value_from_longest.
* hppa-tdep.c (find_stub_with_shl_get): Use value_from_pointer,
instead of value_from_longest, to build arguments to __d_shl_get.
* printcmd.c (set_next_address): Use value_from_pointer, not
value_from_longest.
(x_command): Use value_from_pointer, not value_from_longest.
* tracepoint.c (set_traceframe_context): Use value_from_pointer,
not value_from_longest.
* valarith.c (value_add, value_sub): Use value_from_pointer, not
value_from_longest.
* valops.c (find_function_in_inferior, value_coerce_array,
value_coerce_function, value_addr, hand_function_call): Same.
* value.h (COERCE_REF): Use unpack_pointer, not unpack_long.
* values.c (unpack_long): Use extract_typed_address to produce
addresses from pointers and references, not extract_address.
(value_from_longest): Use store_typed_address instead of
store_address to produce pointer and reference values.
2000-04-14 18:43:41 +00:00
bfd Remove U suffix from constants for K&R compilers. 2000-04-13 01:08:05 +00:00
binutils Portability fixes. 2000-04-14 04:14:25 +00:00
config Add IBM 370 support. 2000-02-23 13:52:23 +00:00
etc 19990502 sourceware import 1999-05-03 07:29:11 +00:00
gas Portability fixes. 2000-04-14 04:14:25 +00:00
gdb * gdbarch.sh (POINTER_TO_ADDRESS, ADDRESS_TO_POINTER): Two new 2000-04-14 18:43:41 +00:00
gprof Remove ``-W -Wall'' from top-level Makefile/configure. 2000-04-09 12:17:43 +00:00
include Remove U suffix from constants for K&R compilers. 2000-04-13 01:08:05 +00:00
intl Shouldn't have escaped. 1999-06-02 20:33:41 +00:00
ld Zero start address of orphan ~(SEC_LOAD | SEC_ALLOC) sections. 2000-04-14 01:58:29 +00:00
libiberty * splay-tree.c (splay_tree_remove): New. 2000-04-06 00:16:01 +00:00
mmalloc * Makefile.in (install): Append "n", not ".n" to libmmalloc.a, 2000-03-20 10:31:58 +00:00
opcodes More portability patches. Include sysdep.h everywhere. 2000-04-14 04:16:58 +00:00
readline Revert movement of @chapter and @node tags from separate files to 2000-03-29 03:55:18 +00:00
sim * arm abort fix 2000-04-10 15:35:56 +00:00
texinfo add texinfo.tex 1999-06-12 09:59:55 +00:00
.cvsignore 19990502 sourceware import 1999-05-03 07:29:11 +00:00
ChangeLog * Makefile.in (gdb-taz): New target. GDB specific archive. 2000-04-13 02:17:35 +00:00
config-ml.in 19990502 sourceware import 1999-05-03 07:29:11 +00:00
config.guess * config.guess, config.sub: Updated to match config's 2000-02-15 2000-02-24 05:38:51 +00:00
config.if 19990502 sourceware import 1999-05-03 07:29:11 +00:00
config.sub Add support for an OS of "wince" 2000-02-24 21:20:57 +00:00
configure Remove ``-W -Wall'' from top-level Makefile/configure. 2000-04-09 12:17:43 +00:00
configure.in * configure.in: -linux-gnu*, not -linux-gnu. 2000-03-30 02:19:56 +00:00
COPYING 19990502 sourceware import 1999-05-03 07:29:11 +00:00
COPYING.LIB 19990502 sourceware import 1999-05-03 07:29:11 +00:00
install-sh 19990502 sourceware import 1999-05-03 07:29:11 +00:00
ltconfig * ltconfig, ltmain.sh: Update to libtool 1.3.4. 2000-02-27 16:46:19 +00:00
ltmain.sh * ltconfig, ltmain.sh: Update to libtool 1.3.4. 2000-02-27 16:46:19 +00:00
MAINTAINERS Update winsup stuff. 2000-04-03 01:26:01 +00:00
Makefile.in * Makefile.in (gdb-taz): New target. GDB specific archive. 2000-04-13 02:17:35 +00:00
makefile.vms 19990502 sourceware import 1999-05-03 07:29:11 +00:00
missing 19990502 sourceware import 1999-05-03 07:29:11 +00:00
mkdep * mkdep: New file. 1999-08-08 17:46:02 +00:00
mkinstalldirs 19990502 sourceware import 1999-05-03 07:29:11 +00:00
move-if-change 19990502 sourceware import 1999-05-03 07:29:11 +00:00
mpw-build.in 19990502 sourceware import 1999-05-03 07:29:11 +00:00
mpw-config.in 19990502 sourceware import 1999-05-03 07:29:11 +00:00
mpw-configure 19990502 sourceware import 1999-05-03 07:29:11 +00:00
mpw-install 19990502 sourceware import 1999-05-03 07:29:11 +00:00
mpw-README 19990502 sourceware import 1999-05-03 07:29:11 +00:00
README 19990502 sourceware import 1999-05-03 07:29:11 +00:00
setup.com 19990502 sourceware import 1999-05-03 07:29:11 +00:00
symlink-tree 19990502 sourceware import 1999-05-03 07:29:11 +00:00
ylwrap 19990502 sourceware import 1999-05-03 07:29:11 +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.