diff options
author | Tom Tromey <tromey@redhat.com> | 2013-05-17 16:52:34 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2013-05-17 16:52:34 +0000 |
commit | 6cbc7c3d3433bf5c6288cbad2ba224919ff4922c (patch) | |
tree | 68108b33524d7d973da57e7b71d24326a285f697 /gdb/python/py-inferior.c | |
parent | a48b32c06849c3e91e92cb5261e135a55cd584c4 (diff) | |
download | binutils-6cbc7c3d3433bf5c6288cbad2ba224919ff4922c.zip binutils-6cbc7c3d3433bf5c6288cbad2ba224919ff4922c.tar.gz binutils-6cbc7c3d3433bf5c6288cbad2ba224919ff4922c.tar.bz2 |
* python/py-inferior.c (infpy_read_memory): Don't call
PyErr_SetString if PyObject_New fails.
* python/py-frame.c (frame_info_to_frame_object): Don't call
PyErr_SetString if PyObject_New fails.
Diffstat (limited to 'gdb/python/py-inferior.c')
-rw-r--r-- | gdb/python/py-inferior.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/python/py-inferior.c b/gdb/python/py-inferior.c index 4af7131..cee3a0d 100644 --- a/gdb/python/py-inferior.c +++ b/gdb/python/py-inferior.c @@ -445,8 +445,6 @@ infpy_read_memory (PyObject *self, PyObject *args, PyObject *kw) if (membuf_obj == NULL) { xfree (buffer); - PyErr_SetString (PyExc_MemoryError, - _("Could not allocate memory buffer object.")); return NULL; } |