binutils-gdb/gdb/python
Doug Evans 4ea6efe936 PR python/18438
gdb/ChangeLog:

	* python/py-lazy-string.c (stpy_convert_to_value): Use
	gdbpy_gdb_memory_error not PyExc_MemoryError.
	(gdbpy_create_lazy_string_object): Ditto.

gdb/testsuite/ChangeLog:

	* gdb.python/py-lazy-string.c: New file.
	* gdb.python/py-lazy-string.exp: New file.
	* gdb.python/py-prettyprint.c (lazystring) <len>: New member.
	(main): Update.  Add estring3.
	* gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
	* gdb.python/py-prettyprint.py (pp_ls): Handle length.
2015-05-26 16:13:04 -07:00
..
lib/gdb [PR python/18291] Fix printing of "disabled" status of xmethod matchers. 2015-05-08 07:20:04 -07:00
py-arch.c Split TRY_CATCH into TRY + CATCH 2015-03-07 15:14:14 +00:00
py-auto-load.c
py-block.c Split TRY_CATCH into TRY + CATCH 2015-03-07 15:14:14 +00:00
py-bpevent.c
py-breakpoint.c more making TRY/CATCH callers look more like real C++ try/catch blocks 2015-03-07 15:19:57 +00:00
py-cmd.c Remove --xdb 2015-04-11 19:49:03 +02:00
py-continueevent.c
py-event.c
py-event.h
py-events.h
py-evtregistry.c
py-evts.c
py-exitedevent.c
py-finishbreakpoint.c infcall: stop_registers -> register_dummy_frame_dtor 2015-05-13 20:49:08 +02:00
py-frame.c Split TRY_CATCH into TRY + CATCH 2015-03-07 15:14:14 +00:00
py-framefilter.c Split TRY_CATCH into TRY + CATCH 2015-03-07 15:14:14 +00:00
py-function.c
py-gdb-readline.c Split TRY_CATCH into TRY + CATCH 2015-03-07 15:14:14 +00:00
py-inferior.c Split TRY_CATCH into TRY + CATCH 2015-03-07 15:14:14 +00:00
py-infevents.c
py-infthread.c Split TRY_CATCH into TRY + CATCH 2015-03-07 15:14:14 +00:00
py-lazy-string.c PR python/18438 2015-05-26 16:13:04 -07:00
py-linetable.c Split TRY_CATCH into TRY + CATCH 2015-03-07 15:14:14 +00:00
py-newobjfileevent.c
py-objfile.c Add support for writing unwinders in Python. 2015-04-01 11:49:12 -07:00
py-param.c Split TRY_CATCH into TRY + CATCH 2015-03-07 15:14:14 +00:00
py-prettyprint.c PR python/18089 2015-04-28 21:53:54 -07:00
py-progspace.c Add support for writing unwinders in Python. 2015-04-01 11:49:12 -07:00
py-signalevent.c
py-stopevent.c
py-stopevent.h
py-symbol.c Split TRY_CATCH into TRY + CATCH 2015-03-07 15:14:14 +00:00
py-symtab.c
py-threadevent.c
py-type.c Add gdb.Type.optimized_out method. 2015-04-28 17:41:09 -07:00
py-unwind.c Fix a couple C++ build issues 2015-05-15 16:00:40 +01:00
py-utils.c Split TRY_CATCH into TRY + CATCH 2015-03-07 15:14:14 +00:00
py-value.c [Python] Add methods reference_value and const_value to gdb.Value. 2015-05-09 17:30:35 -07:00
py-varobj.c
py-xmethods.c PR python/18285 2015-04-29 13:24:21 -07:00
python-config.py
python-internal.h PR python/18285 2015-04-29 13:24:21 -07:00
python.c PR python/18285 2015-04-29 13:24:21 -07:00
python.h