]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/stack.c
More uses of ui_out_emit_tuple
authorTom Tromey <tom@tromey.com>
Wed, 12 Apr 2017 22:10:02 +0000 (16:10 -0600)
committerTom Tromey <tom@tromey.com>
Sat, 22 Apr 2017 15:46:59 +0000 (09:46 -0600)
commit46b9c12945629fffb61001a8f13a37c96675c0b7
tree56cb90f08f7ce3f3ee41c8a7058e57d5be8e1bf3
parent2e78302469502f4f8a98144b60c09d4d9b6438fd
More uses of ui_out_emit_tuple

This patch adds a few more uses of ui_out_emit_tuple.  In these cases
a slightly more complicated change was needed.  This also adds
annotate_arg_emitter, for use in stack.c, to avoid having to introduce
a new scope and reindent the code for a single call.

ChangeLog
2017-04-22  Tom Tromey  <tom@tromey.com>

* stack.c (print_frame_arg): Use ui_out_emit_tuple,
annotate_arg_emitter.
* breakpoint.c (print_mention_watchpoint)
(print_mention_masked_watchpoint): Use ui_out_emit_tuple.
* annotate.h (struct annotate_arg_emitter): New.
gdb/ChangeLog
gdb/annotate.h
gdb/breakpoint.c
gdb/stack.c