8sa1-binutils-gdb/gdb/testsuite
Doug Evans 07ca107c2d Add python gdb.GdbError and gdb.string_to_argv.
* NEWS: Document them.
	* python/py-cmd.c (cmdpy_function): Don't print a traceback if
	the exception is gdb.GdbError.  Print a second traceback if there's
	an error computing the error message.
	(gdbpy_string_to_argv): New function.
	* python/py-utils.c (gdbpy_obj_to_string): New function.
	(gdbpy_exception_to_string): New function.
	* python/python-internal.h (gdbpy_string_to_argv): Declare.
	(gdbpy_obj_to_string, gdbpy_exception_to_string): Declare.
	(gdbpy_gdberror_exc): Declare.
	* python/python.c (gdbpy_gdberror_exc): New global.
	(_initialize_python): Initialize gdbpy_gdberror_exc and create
	gdb.GdbError.
	(GdbMethods): Add string_to_argv.

	doc/
	* gdb.texinfo (Exception Handling): Document gdb.GdbError.
	(Commands In Python): Document gdb.string_to_argv.

	testsuite/
	* gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
	gdb.string_to_argv.
2010-05-25 15:27:17 +00:00
..
config
gdb.ada lib/gdb.exp: New gdb_test_no_output function. 2010-05-20 19:18:58 +00:00
gdb.arch Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
gdb.asm Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
gdb.base 2010-05-24 Michael Snyder <msnyder@vmware.com> 2010-05-24 22:06:59 +00:00
gdb.cell
gdb.cp Some uses of bug_id and prms_id just reappeared - remove them. 2010-05-17 17:06:01 +00:00
gdb.disasm Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
gdb.dwarf2 gdb 2010-05-21 21:13:13 +00:00
gdb.fortran Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
gdb.gdb Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
gdb.hp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
gdb.java Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
gdb.mi Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
gdb.modula2
gdb.multi
gdb.objc Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
gdb.opt
gdb.pascal Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
gdb.python Add python gdb.GdbError and gdb.string_to_argv. 2010-05-25 15:27:17 +00:00
gdb.reverse Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
gdb.server
gdb.stabs Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
gdb.threads Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
gdb.trace Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
gdb.xml
lib lib/gdb.exp: New gdb_test_no_output function. 2010-05-20 19:18:58 +00:00
.gdbinit
aclocal.m4
ChangeLog Add python gdb.GdbError and gdb.string_to_argv. 2010-05-25 15:27:17 +00:00
configure
configure.ac
dg-extract-results.sh gdb/testsuite/ 2010-03-22 20:38:58 +00:00
Makefile.in gdb/testsuite/ 2010-04-09 20:50:46 +00:00
TODO