diff options
author | Jim Blandy <jimb@codesourcery.com> | 2001-05-12 05:04:01 +0000 |
---|---|---|
committer | Jim Blandy <jimb@codesourcery.com> | 2001-05-12 05:04:01 +0000 |
commit | f8e42d245c3e02f82cab3a45a577230277cac422 (patch) | |
tree | 5fbf6fd9f3f1aac81e21307867c30c88f87f233c | |
parent | 529acb4893cc8ffc81478a61d79da6311b4f3820 (diff) | |
download | gdb-f8e42d245c3e02f82cab3a45a577230277cac422.zip gdb-f8e42d245c3e02f82cab3a45a577230277cac422.tar.gz gdb-f8e42d245c3e02f82cab3a45a577230277cac422.tar.bz2 |
* 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.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/thread.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index bbf7300..55cc069 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 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. diff --git a/gdb/thread.c b/gdb/thread.c index e781682..70dcb370 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; } |