and ui_out_tuple_end instead of ui_out_list_begin and
ui_out_list_end.
2001-05-11 Jim Blandy <jimb@redhat.com>
+ * thread.c (do_captured_list_thread_ids): Use ui_out_tuple_begin
+ and ui_out_tuple_end instead of ui_out_list_begin and
+ ui_out_list_end.
+
* Makefile.in (gnu-v2-abi.o): Add $(demangle_h) to list of
dependencies. Reorder dependencies to match #includes in file,
for easier verification.
struct thread_info *tp;
int num = 0;
- ui_out_list_begin (uiout, "thread-ids");
+ ui_out_tuple_begin (uiout, "thread-ids");
for (tp = thread_list; tp; tp = tp->next)
{
ui_out_field_int (uiout, "thread-id", tp->num);
}
- ui_out_list_end (uiout);
+ ui_out_tuple_end (uiout);
ui_out_field_int (uiout, "number-of-threads", num);
return GDB_RC_OK;
}