python/py-unwind.c (unwind_infopy_str): Fix use of VEC_iterate.
gdb/ChangeLog: * python/py-unwind.c (unwind_infopy_str): Fix use of VEC_iterate.
This commit is contained in:
parent
a57160325e
commit
bc71081e53
2 changed files with 5 additions and 3 deletions
|
@ -212,9 +212,7 @@ unwind_infopy_str (PyObject *self)
|
|||
|
||||
get_user_print_options (&opts);
|
||||
fprintf_unfiltered (strfile, "\nSaved registers: (");
|
||||
for (i = 0;
|
||||
i < VEC_iterate (saved_reg, unwind_info->saved_regs, i, reg);
|
||||
i++)
|
||||
for (i = 0; VEC_iterate (saved_reg, unwind_info->saved_regs, i, reg); i++)
|
||||
{
|
||||
struct value *value = value_object_to_value (reg->value);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue