No description
Find a file
Tom Tromey 0cc7d26fe4 gdb
* varobj.h (varobj_update_result_t) <new>: New field.
	(varobj_get_child_range, varobj_set_child_range): Declare.
	(varobj_list_children): Update.
	(varobj_enable_pretty_printing, varobj_has_more)
	(varobj_pretty_printed_p): Declare.
	* varobj.c (pretty_printing): New global.
	(varobj_enable_pretty_printing): New function.
	(struct varobj_root) <from, to, constructor, child_iter,
	saved_item>: New fields.
	(varobj_create): Don't call install_default_visualizer.
	(instantiate_pretty_printer): Don't use value_copy.
	(varobj_has_more): New function.
	(restrict_range): New function.
	(install_dynamic_child): Likewise.
	(dynamic_varobj_has_child_method): Likewise.
	(update_dynamic_varobj_children): Remove 'new_and_unchanged'
	argument; add 'new', 'unchanged', 'from', and 'to' arguments.
	Rewrite.
	(varobj_get_num_children): Call update_dynamic_varobj_children.
	(varobj_list_children): Add 'from' and 'to' arguments.  Ignore
	result of update_dynamic_varobj_children.  Don't call
	install_default_visualizer.  Restrict result range.
	(varobj_add_child): Don't call install_default_visualizer.
	(varobj_pretty_printed_p): New function.
	(install_visualizer): Rewrite.  Move earlier in file.
	(install_default_visualizer): Likewise.
	(construct_visualizer): New function.
	(install_new_value_visualizer): Likewise.
	(install_new_value): Don't call release_value.  Special case
	pretty-printed objects.  Use value_incref.  Rearrange "changed"
	logic.
	(varobj_get_child_range): New function.
	(varobj_set_child_range): Likewise.
	(varobj_set_visualizer): Rewrite.
	(varobj_update): Rewrite pretty-printing logic.
	(new_variable): Initialize new fields.
	(free_variable): Destroy new fields.
	(value_of_root): Copy 'from' and 'to'.
	(my_value_of_variable): Handle pretty-printers.
	(value_get_print_value): Rework pretty-printing logic.
	(cplus_describe_child): Don't use release_value.
	* mi/mi-cmds.h (mi_cmd_enable_pretty_printing)
	(mi_cmd_var_set_update_range): Declare.
	* mi/mi-cmds.c (mi_cmds): Add enable-pretty-printing and
	var-set-update-range.
	* mi/mi-cmd-var.c (print_varobj): Update.  Emit "dynamic"
	attribute.
	(mi_cmd_var_create): Emit "has_more" attribute.
	(mi_cmd_var_set_format): Plug memory leak.
	(mi_print_value_p): Replace 'type' argument with 'var'.  Handle
	pretty-printed varobjs.
	(mi_cmd_var_list_children): Accept 'from' and 'to' arguments.
	Emit "has_more" attribute.
	(mi_cmd_var_evaluate_expression): Plug memory leak.
	(mi_cmd_var_assign): Likewise.
	(varobj_update_one): Likewise.  Emit "dynamic", "has_more", and
	"new_children" attributes.
	(mi_cmd_enable_pretty_printing): New function.
	(mi_cmd_var_set_update_range): Likewise.
gdb/doc
	* gdb.texinfo (GDB/MI Variable Objects): Document
	-enable-pretty-printing, -var-set-update-range, dynamic varobjs.
	Expand -var-update documentation.
gdb/testsuite
	* lib/mi-support.exp (mi_create_varobj): Update.
	(mi_create_floating_varobj): Likewise.
	(mi_create_dynamic_varobj): New proc.
	(mi_varobj_update): Update.
	(mi_varobj_update_with_type_change): Likewise.
	(mi_varobj_update_kv_helper): New proc.
	(mi_varobj_update_dynamic_helper): Rewrite.
	(mi_varobj_update_dynamic): New proc.
	(mi_list_varobj_children): Update.
	(mi_list_varobj_children_range): Add 'from' and 'to' arguments.
	* gdb.python/python-prettyprint.py (pp_outer): New class.
	(pp_nullstr): Likewise.
	(lookup_function): Register new printers.
	* gdb.python/python-prettyprint.c (struct substruct): New type.
	(struct outerstruct): Likewise.
	(substruct_test): New function.
	(struct nullstr): New type.
	(string_1, string_2): New globals.
	(main): Add new tests.
	* gdb.python/python-mi.exp: Added regression tests.
	* gdb.mi/mi2-var-display.exp: Update.
	* gdb.mi/mi2-var-cmd.exp: Update.
	* gdb.mi/mi2-var-child.exp: Update.
	* gdb.mi/mi2-var-block.exp: Update.
	* gdb.mi/mi-var-invalidate.exp: Update.
	* gdb.mi/mi-var-display.exp: Update.
	* gdb.mi/mi-var-cmd.exp: Update.
	* gdb.mi/mi-var-child.exp: Update.
	* gdb.mi/mi-var-block.exp: Update.
	* gdb.mi/mi-break.exp: Update.
	* gdb.mi/gdb701.exp: Update.
2009-09-15 18:51:26 +00:00
bfd daily update 2009-09-15 00:00:08 +00:00
binutils * readelf.c (process_version_sections, process_symbol_table): 2009-09-14 12:29:50 +00:00
config config: 2009-09-09 19:46:42 +00:00
cpu update copyright dates 2009-09-02 07:25:43 +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 gas/ 2009-09-15 18:41:24 +00:00
gdb gdb 2009-09-15 18:51:26 +00:00
gold * po/bfd.pot: Updated by the Translation project. 2009-09-11 15:27:38 +00:00
gprof Updated German, Dutch and Finnish translations. 2009-09-14 12:24:29 +00:00
include Updated soruces in bfd/* to compile cleanly with -Wc++-compat. 2009-09-09 21:38:59 +00:00
intl Sync from GCC: Update AC_PREREQ entries to 2.64. 2009-08-24 19:12:57 +00:00
ld * ld-elfcomm/elfcomm.exp: Add appropriate emulation option 2009-09-15 02:02:48 +00:00
libdecnumber merge from gcc 2009-09-09 20:25:35 +00:00
libiberty merge from gcc 2009-09-15 15:21:58 +00:00
opcodes 2009-09-15 H.J. Lu <hongjiu.lu@intel.com> 2009-09-15 17:53:40 +00:00
readline Regenerate tree using Autoconf 2.64 and Automake 1.11. 2009-08-22 16:56:56 +00:00
sim Use common memory infrastructure and introduce device tree support 2009-09-10 21:57:03 +00:00
texinfo * texinfo/texinfo.tex: Update to version 2009-03-28.05. 2009-04-21 12:36:46 +00:00
.cvsignore
ChangeLog Fix toplevel config.status for HP-UX sed. 2009-09-08 17:55:50 +00:00
compile Update automake-provided files in the toplevel. 2009-08-22 11:48:33 +00:00
config-ml.in Merge from GCC: 2008-11-27 17:14:58 +00:00
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 Fix toplevel config.status for HP-UX sed. 2009-09-08 17:55:50 +00:00
configure.ac Fix toplevel config.status for HP-UX sed. 2009-09-08 17:55:50 +00:00
COPYING
COPYING.LIB
COPYING.LIBGLOSS 2009-06-17 Michael Eager <eager@eagercon.com> 2009-06-17 16:35:15 +00:00
COPYING.NEWLIB 2009-01-21 Jeff Johnston <jjohnstn@redhat.com> 2009-01-22 00:08:29 +00:00
COPYING3
COPYING3.LIB
depcomp Update automake-provided files in the toplevel. 2009-08-22 11:48:33 +00:00
djunpack.bat * djunpack.bat: Use ".." quoting in Sed command, for the sake of 2009-03-27 13:37:09 +00:00
install-sh Update automake-provided files in the toplevel. 2009-08-22 11:48:33 +00:00
libtool.m4 Backport from git Libtool: 2009-03-01 18:57:19 +00:00
ltgcc.m4 * libtool.m4: Update to libtool 2.2.6. 2008-09-29 15:28:14 +00:00
ltmain.sh * ltmain.sh (func_normal_abspath): New function. 2009-08-31 16:59:32 +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
lt~obsolete.m4 * libtool.m4: Update to libtool 2.2.6. 2008-09-29 15:28:14 +00:00
MAINTAINERS * MAINTAINERS: Perform some obvious fixups. 2009-08-19 02:53:50 +00:00
Makefile.def 2009-09-02 Paolo Bonzini <bonzini@gnu.org> 2009-09-02 07:05:02 +00:00
Makefile.in ChangeLog: 2009-09-07 00:44:08 +00:00
Makefile.tpl ChangeLog: 2009-09-07 00:44:08 +00:00
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
README
README-maintainer-mode Cleanups after the update to Autoconf 2.64, Automake 1.11. 2009-08-22 17:08:11 +00:00
setup.com 2009-09-01 Tristan Gingold <gingold@adacore.com> 2009-09-01 13:38:26 +00:00
src-release * src-release (BINUTILS_SUPPORT_DIRS): Remove mkdep and depcomp. 2008-06-18 23:20:43 +00:00
symlink-tree
ylwrap Update automake-provided files in the toplevel. 2009-08-22 11:48:33 +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.