fix py-prettyprint.c
print_children, in py-prettyprint.c, could call do_cleanups twice on the same cleanup. * python/py-prettyprint.c (print_children): Remove extra do_cleanups call.
This commit is contained in:
parent
af1c697129
commit
54f72dcc36
2 changed files with 5 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2013-05-30 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* python/py-prettyprint.c (print_children): Remove extra
|
||||
do_cleanups call.
|
||||
|
||||
2013-05-30 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* python/py-frame.c (frapy_read_var): Call do_cleanups along
|
||||
|
|
|
@ -630,8 +630,6 @@ print_children (PyObject *printer, const char *hint,
|
|||
local_opts.addressprint = 0;
|
||||
val_print_string (type, encoding, addr, (int) length, stream,
|
||||
&local_opts);
|
||||
|
||||
do_cleanups (inner_cleanup);
|
||||
}
|
||||
else if (gdbpy_is_string (py_v))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue