diff options
author | Tom Tromey <tom@tromey.com> | 2019-06-16 10:37:25 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-06-25 07:48:26 -0600 |
commit | 0ed69edaab683b9290a05962faa50d970facfa84 (patch) | |
tree | 71cf4c2c1a9aa4430a3105d0023c36e7912795f5 /README-maintainer-mode | |
parent | 82432e10143669d4936848d77e2a7b78c62c26e0 (diff) | |
download | gdb-0ed69edaab683b9290a05962faa50d970facfa84.zip gdb-0ed69edaab683b9290a05962faa50d970facfa84.tar.gz gdb-0ed69edaab683b9290a05962faa50d970facfa84.tar.bz2 |
Simplify source and disassembly window creation
Similar to the previous patch, neither make_source_window nor
make_disasm_window could be called when *win_info_ptr was non-NULL.
This patch simplifies the functions by removing the parameter and
having them return their results directly.
gdb/ChangeLog
2019-06-25 Tom Tromey <tom@tromey.com>
* tui/tui-layout.c (make_source_window, make_disasm_window)
(make_source_or_disasm_window): Remove win_info_ptr parameter.
Return the new window.
(show_source_disasm_command, show_data)
(show_source_or_disasm_and_command): Update.
Diffstat (limited to 'README-maintainer-mode')
0 files changed, 0 insertions, 0 deletions