This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug python/18438] PyExc_MemoryError != gdbpy_gdb_memory_error
- From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Tue, 26 May 2015 23:15:11 +0000
- Subject: [Bug python/18438] PyExc_MemoryError != gdbpy_gdb_memory_error
- Auto-submitted: auto-generated
- References: <bug-18438-4717 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=18438
--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Doug Evans <devans@sourceware.org>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=4ea6efe9365f8a87723fe01a2dd8ddf5cdec1498
commit 4ea6efe9365f8a87723fe01a2dd8ddf5cdec1498
Author: Doug Evans <dje@google.com>
Date: Tue May 26 16:13:04 2015 -0700
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.
--
You are receiving this mail because:
You are on the CC list for the bug.