old-cross-binutils/gdb/testsuite
Tom Tromey 621c83642d gdb
* varobj.c (value_get_print_value): Rearrange.  Pass stream to
	apply_varobj_pretty_printer.
	* c-lang.c: Include exceptions.h.
	(c_get_string): Throw MEMORY_ERROR when appropriate.
	* python/py-prettyprint.c (enum string_repr_result): New.
	(print_stack_unless_memory_error): New function.
	(print_string_repr): Change return type.  Use
	print_stack_unless_memory_error.
	(print_children): Use print_stack_unless_memory_error.
	(apply_val_pretty_printer): Update.  Don't print children if
	string representation threw an exception.
	(apply_varobj_pretty_printer): Add 'stream' argument.  Use
	print_stack_unless_memory_error.
	* python/python.c (gdbpy_gdb_error, gdbpy_gdb_memory_error): New
	globals.
	(_initialize_python): Initialize them.
	* python/python-internal.h (GDB_PY_HANDLE_EXCEPTION): Use
	gdbpy_convert_exception.
	(GDB_PY_SET_HANDLE_EXCEPTION): Likewise.
	(gdbpy_gdb_error, gdbpy_gdb_memory_error): Declare.
	(gdbpy_convert_exception): Declare.
	(apply_varobj_pretty_printer): Update.
	* python/py-utils.c (gdbpy_convert_exception): New function.
gdb/doc
	* gdb.texinfo (Basic Python): Update.  Add xref.
	(Exception Handling): Document new exception classes.
	(Types In Python): Update.
	(Frames In Python): Update.
gdb/testsuite
	* gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
	* gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
	MemoryError.
	* gdb.python/python.exp (gdb_py_test_multiple): Update exception
	type.
	* gdb.python/py-value.exp (test_value_in_inferior): Add test for
	MemoryError.
	(test_subscript_regression): Update exception type.
2010-11-12 20:49:43 +00:00
..
config Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
gdb.ada gdb/testsuite/ 2010-11-04 18:52:11 +00:00
gdb.arch gdb: 2010-10-06 08:44:15 +00:00
gdb.asm * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so 2010-07-26 12:31:11 +00:00
gdb.base gdb/ 2010-11-09 18:23:52 +00:00
gdb.cell ChangeLog: 2010-06-25 13:00:33 +00:00
gdb.cp Fix derived class overload problem. 2010-11-04 20:43:25 +00:00
gdb.disasm Examine instruction at label start' instead of _start'. 2010-06-14 19:21:11 +00:00
gdb.dwarf2 gdb/testsuite/ 2010-10-17 18:55:09 +00:00
gdb.fortran gdb/ 2010-09-22 19:22:44 +00:00
gdb.gdb 2010-08-18 Yao Qi <yao@codesourcery.com> 2010-08-18 02:30:07 +00:00
gdb.hp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
gdb.java gdb/testsuite/ 2010-09-06 15:48:34 +00:00
gdb.mi 2010-09-16 Phil Muldoon <pmuldoon@redhat.com> 2010-09-16 13:47:55 +00:00
gdb.modula2 Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
gdb.multi * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use 2010-06-18 15:08:29 +00:00
gdb.objc gdb/testsuite/ 2010-09-06 15:48:34 +00:00
gdb.opencl gdb: 2010-11-05 14:31:30 +00:00
gdb.opt * gdb.opt/inline-cmds.c (ATTR): New define. 2010-07-27 18:08:48 +00:00
gdb.pascal gdb/testsuite/ 2010-09-06 15:48:34 +00:00
gdb.python gdb 2010-11-12 20:49:43 +00:00
gdb.reverse 2010-06-03 Michael Snyder <msnyder@vmware.com> 2010-06-03 23:54:18 +00:00
gdb.server 2010-06-08 Michael Snyder <msnyder@vmware.com> 2010-06-10 19:48:20 +00:00
gdb.stabs * gdb.stabs/gdb11479.c (hack): New function. 2010-07-27 16:58:22 +00:00
gdb.threads gdb/ 2010-11-02 01:37:32 +00:00
gdb.trace * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace. 2010-06-11 23:25:59 +00:00
gdb.xml * gdbtypes.c (append_composite_type_field_raw): New. 2010-03-01 17:19:23 +00:00
lib gdb: 2010-11-05 14:31:30 +00:00
.gdbinit
aclocal.m4
ChangeLog gdb 2010-11-12 20:49:43 +00:00
configure gdb: 2010-11-05 14:31:30 +00:00
configure.ac gdb: 2010-11-05 14:31:30 +00:00
dg-extract-results.sh gdb/testsuite/ 2010-03-22 20:38:58 +00:00
Makefile.in gdb: 2010-11-05 14:31:30 +00:00
TODO