summaryrefslogtreecommitdiff
path: root/gdb/thread.c
diff options
context:
space:
mode:
authorJim Blandy <jimb@codesourcery.com>2001-05-12 05:04:01 +0000
committerJim Blandy <jimb@codesourcery.com>2001-05-12 05:04:01 +0000
commit9383c307f709ac6e4a931b48ca75919f733262e0 (patch)
tree564ad7061b4ca16ed165ce875001ffdd5314385f /gdb/thread.c
parent34815c0b76de06ad9be2af6026e79e56cf7ab554 (diff)
downloadgdb-9383c307f709ac6e4a931b48ca75919f733262e0.tar.gz
* 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.
Diffstat (limited to 'gdb/thread.c')
-rw-r--r--gdb/thread.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/thread.c b/gdb/thread.c
index e781682ff6e..70dcb3705b3 100644
--- a/gdb/thread.c
+++ b/gdb/thread.c
@@ -259,7 +259,7 @@ do_captured_list_thread_ids (void *arg)
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)
{
@@ -267,7 +267,7 @@ do_captured_list_thread_ids (void *arg)
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;
}