diff options
author | Tom Tromey <tom@tromey.com> | 2019-07-06 17:32:45 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-08-15 12:29:28 -0600 |
commit | ee556432c44dd5dbcf22c4086774bd29ded5b208 (patch) | |
tree | 1a630bfcb4538dcff45b6e56ed647f0e723ab34d /gdb/tui/tui-winsource.h | |
parent | 46f438e3d57bae1d74ab9a7e6cba380b0e58f552 (diff) | |
download | gdb-ee556432c44dd5dbcf22c4086774bd29ded5b208.zip gdb-ee556432c44dd5dbcf22c4086774bd29ded5b208.tar.gz gdb-ee556432c44dd5dbcf22c4086774bd29ded5b208.tar.bz2 |
Rename the "reset" method to "resize"
tui_gen_win_info::reset really just resizes the window. This patch
renames it to reflect this.
gdb/ChangeLog
2019-08-15 Tom Tromey <tom@tromey.com>
* tui/tui-winsource.h (struct tui_source_window_base) <resize>:
Rename from reset.
* tui/tui-winsource.c (tui_source_window_base::resize): Rename.
* tui/tui-layout.c (show_source_disasm_command, show_data):
Update.
(tui_gen_win_info::resize): Rename.
(show_source_or_disasm_and_command): Update.
* tui/tui-data.h (struct tui_gen_win_info) <resize>: Rename from
reset.
Diffstat (limited to 'gdb/tui/tui-winsource.h')
-rw-r--r-- | gdb/tui/tui-winsource.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/tui/tui-winsource.h b/gdb/tui/tui-winsource.h index e7ae5b0..6067408 100644 --- a/gdb/tui/tui-winsource.h +++ b/gdb/tui/tui-winsource.h @@ -124,8 +124,8 @@ public: virtual bool location_matches_p (struct bp_location *loc, int line_no) = 0; - void reset (int height, int width, - int origin_x, int origin_y) override; + void resize (int height, int width, + int origin_x, int origin_y) override; void show_source_content (); |