old-cross-binutils/gdb/doc
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
..
a4rc.sed
agentexpr.texi Update copyright years in all relevant texinfo documents. 2010-01-01 07:54:37 +00:00
all-cfg.texi
annotate.texinfo Update copyright years in all relevant texinfo documents. 2010-01-01 07:54:37 +00:00
ChangeLog Add python gdb.GdbError and gdb.string_to_argv. 2010-05-25 15:27:17 +00:00
configure Cleanups after the update to Autoconf 2.64, Automake 1.11. 2009-08-22 17:08:11 +00:00
configure.ac Cleanups after the update to Autoconf 2.64, Automake 1.11. 2009-08-22 17:08:11 +00:00
fdl.texi
gdb.texinfo Add python gdb.GdbError and gdb.string_to_argv. 2010-05-25 15:27:17 +00:00
gdbint.texinfo gdb/ 2010-05-02 23:52:14 +00:00
gpl.texi * gpl.texi: Update to version 3 of the GPL. 2009-12-21 07:30:10 +00:00
lpsrc.sed
LRS
Makefile.in * Makefile.in (ANNOTATE_DOC_BUILD_INCLUDES): Add GDBvn.texi. 2010-01-18 04:26:44 +00:00
observer.texi Multiexec MI 2010-02-24 07:51:46 +00:00
psrc.sed
refcard.tex PR 10179 2010-04-23 12:08:07 +00:00
stabs.texinfo Update copyright years in all relevant texinfo documents. 2010-01-01 07:54:37 +00:00
stack_frame.eps From Jeremy Bennett <jeremy.bennett@embecosm.com>: 2009-03-21 14:35:04 +00:00
stack_frame.pdf From Jeremy Bennett <jeremy.bennett@embecosm.com>: 2009-03-21 10:24:35 +00:00
stack_frame.png From Jeremy Bennett <jeremy.bennett@embecosm.com>: 2009-03-21 10:24:35 +00:00
stack_frame.svg From Jeremy Bennett <jeremy.bennett@embecosm.com>: 2009-03-21 10:24:35 +00:00
stack_frame.txt From Jeremy Bennett <jeremy.bennett@embecosm.com>: 2009-03-21 10:24:35 +00:00