aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tui-regs.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/tui/tui-regs.h')
-rw-r--r--gdb/tui/tui-regs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/tui/tui-regs.h b/gdb/tui/tui-regs.h
index caa9d39..9d9cae4 100644
--- a/gdb/tui/tui-regs.h
+++ b/gdb/tui/tui-regs.h
@@ -139,6 +139,10 @@ private:
/* Width of each register's display area. */
int m_item_width = 0;
+
+ /* Architecture of frame whose registers are being displayed, or
+ nullptr if the display is empty (i.e., there is no frame). */
+ gdbarch *m_gdbarch = nullptr;
};
#endif /* TUI_TUI_REGS_H */