GNU Binutils with patches for OS216
Revision | 1eb2161f83babfad2f384efdadf49aa5c2f70860 (tree) |
---|---|
Time | 2020-07-02 12:21:16 |
Author | Tom Tromey <tom@trom...> |
Commiter | Tom Tromey |
Remove body of tui_locator_window constructor
The tui_locator_window constructor initializes the first character of
two of its members. However, this is actually an error, since these
were changed to be std::string. This removes the erroneous code.
gdb/ChangeLog
2020-07-01 Tom Tromey <tom@tromey.com>
* tui/tui-stack.h (struct tui_locator_window): Remove body.
@@ -1,5 +1,9 @@ | ||
1 | 1 | 2020-07-01 Tom Tromey <tom@tromey.com> |
2 | 2 | |
3 | + * tui/tui-stack.h (struct tui_locator_window): Remove body. | |
4 | + | |
5 | +2020-07-01 Tom Tromey <tom@tromey.com> | |
6 | + | |
3 | 7 | * tui/tui-regs.c (tui_data_window::display_registers_from) |
4 | 8 | (tui_data_window::display_registers_from) |
5 | 9 | (tui_data_window::first_data_item_displayed) |
@@ -30,11 +30,7 @@ struct frame_info; | ||
30 | 30 | |
31 | 31 | struct tui_locator_window : public tui_gen_win_info |
32 | 32 | { |
33 | - tui_locator_window () | |
34 | - { | |
35 | - full_name[0] = 0; | |
36 | - proc_name[0] = 0; | |
37 | - } | |
33 | + tui_locator_window () = default; | |
38 | 34 | |
39 | 35 | int max_height () const override |
40 | 36 | { |