• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No 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

Revisão9ab26b4a0fdc5fba707abf56abfb4c503b35c3e5 (tree)
Hora2020-07-02 12:21:14
AutorTom Tromey <tom@trom...>
CommiterTom Tromey

Mensagem de Log

Remove tui_data_window::name

The "name" member of tui_data_window was set, but never used. This
removes it.

gdb/ChangeLog
2020-07-01 Tom Tromey <tom@tromey.com>

* tui/tui-regs.c (tui_data_window::show_register_group): Update.
* tui/tui-regs.h (struct tui_data_item_window) <name>: Remove.

Mudança Sumário

Diff

--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
11 2020-07-01 Tom Tromey <tom@tromey.com>
22
3+ * tui/tui-regs.c (tui_data_window::show_register_group): Update.
4+ * tui/tui-regs.h (struct tui_data_item_window) <name>: Remove.
5+
6+2020-07-01 Tom Tromey <tom@tromey.com>
7+
38 * tui/tui-stack.c (SINGLE_KEY): Move from tui-data.h
49 * tui/tui-winsource.h (enum tui_line_or_address_kind)
510 (struct tui_line_or_address): Move from tui-data.h.
--- a/gdb/tui/tui-regs.c
+++ b/gdb/tui/tui-regs.c
@@ -262,7 +262,6 @@ tui_data_window::show_register_group (struct reggroup *group,
262262 if (!refresh_values_only)
263263 {
264264 data_item_win->item_no = regnum;
265- data_item_win->name = name;
266265 data_item_win->highlight = false;
267266 }
268267 tui_get_register (frame, data_item_win, regnum, 0);
--- a/gdb/tui/tui-regs.h
+++ b/gdb/tui/tui-regs.h
@@ -48,7 +48,6 @@ struct tui_data_item_window : public tui_gen_win_info
4848 return 1;
4949 }
5050
51- const char *name = nullptr;
5251 /* The register number, or data display number. */
5352 int item_no = -1;
5453 bool highlight = false;