• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

GNU Binutils with patches for OS216


Commit MetaInfo

Revision1eb2161f83babfad2f384efdadf49aa5c2f70860 (tree)
Zeit2020-07-02 12:21:16
AutorTom Tromey <tom@trom...>
CommiterTom Tromey

Log Message

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.

Ändern Zusammenfassung

Diff

--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
11 2020-07-01 Tom Tromey <tom@tromey.com>
22
3+ * tui/tui-stack.h (struct tui_locator_window): Remove body.
4+
5+2020-07-01 Tom Tromey <tom@tromey.com>
6+
37 * tui/tui-regs.c (tui_data_window::display_registers_from)
48 (tui_data_window::display_registers_from)
59 (tui_data_window::first_data_item_displayed)
--- a/gdb/tui/tui-stack.h
+++ b/gdb/tui/tui-stack.h
@@ -30,11 +30,7 @@ struct frame_info;
3030
3131 struct tui_locator_window : public tui_gen_win_info
3232 {
33- tui_locator_window ()
34- {
35- full_name[0] = 0;
36- proc_name[0] = 0;
37- }
33+ tui_locator_window () = default;
3834
3935 int max_height () const override
4036 {