aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tui-out.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2019-06-30 20:43:32 -0600
committerTom Tromey <tom@tromey.com>2019-07-17 12:19:15 -0600
commit0379b8837a875403866e2cf1a0315bee1d8d5694 (patch)
treea65bfd08eeb1e49e0262119bb0c61fd80e45f613 /gdb/tui/tui-out.c
parentb7fbad913e8874b9a887eb149b14975343bfb7ab (diff)
downloadgdb-0379b8837a875403866e2cf1a0315bee1d8d5694.zip
gdb-0379b8837a875403866e2cf1a0315bee1d8d5694.tar.gz
gdb-0379b8837a875403866e2cf1a0315bee1d8d5694.tar.bz2
Clean up tui_layout_command
tui_layout_command is a simple wrapper for tui_set_layout_by_name. This removes the extra layer and cleans up the resulting function a bit -- changing it to call error rather than return a result. This necessitated a small change to tui-regs.c, to avoid calling the function that is being removed. gdb/ChangeLog 2019-07-17 Tom Tromey <tom@tromey.com> * tui/tui.h (tui_set_layout_by_name): Don't declare. * tui/tui-regs.c (tui_reg_layout): New function. (tui_show_registers, tui_reg_command): Use it. * tui/tui-layout.c (LAYOUT_USAGE): Remove. (tui_layout_command): Rename from tui_set_layout_by_name. Change parameters. (tui_layout_command): Remove.
Diffstat (limited to 'gdb/tui/tui-out.c')
0 files changed, 0 insertions, 0 deletions