aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tui-stack.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2010-05-17 22:21:43 +0000
committerMichael Snyder <msnyder@vmware.com>2010-05-17 22:21:43 +0000
commit1c5313c5c81121a5fcec2f3344012ff5a86d8e8f (patch)
treead2c3927e02f498b644436d7e172d1243fb18f84 /gdb/tui/tui-stack.c
parentf4a14ae60d33ac392ac74c54da1ef10bb293adef (diff)
downloadgdb-1c5313c5c81121a5fcec2f3344012ff5a86d8e8f.zip
gdb-1c5313c5c81121a5fcec2f3344012ff5a86d8e8f.tar.gz
gdb-1c5313c5c81121a5fcec2f3344012ff5a86d8e8f.tar.bz2
2010-05-17 Michael Snyder <msnyder@vmware.com>
* tui/tui.c: White space. * tui/tui-data.c: White space. * tui/tui-disasm.c: White space. * tui/tui-file.c: White space. * tui/tui-interp.c: White space. * tui/tui-main.c: White space. * tui/tui-out.c: White space. * tui/tui-regs.c: White space. * tui/tui-source.c: White space. * tui/tui-stack.c: White space. * tui/tui-win.c: White space. * tui/tui-winsource.c: White space.
Diffstat (limited to 'gdb/tui/tui-stack.c')
-rw-r--r--gdb/tui/tui-stack.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/tui/tui-stack.c b/gdb/tui/tui-stack.c
index d6b514d..7aaf544 100644
--- a/gdb/tui/tui-stack.c
+++ b/gdb/tui/tui-stack.c
@@ -355,6 +355,7 @@ tui_show_frame_info (struct frame_info *fi)
for (i = 0; i < (tui_source_windows ())->count; i++)
{
union tui_which_element *item;
+
win_info = (tui_source_windows ())->list[i];
item = &((struct tui_win_element *) locator->content[0])->which_element;
@@ -378,6 +379,7 @@ tui_show_frame_info (struct frame_info *fi)
if (win_info == TUI_SRC_WIN)
{
struct tui_line_or_address l;
+
l.loa = LOA_LINE;
l.u.line_no = start_line;
if (!(source_already_displayed
@@ -395,6 +397,7 @@ tui_show_frame_info (struct frame_info *fi)
if (win_info == TUI_DISASM_WIN)
{
struct tui_line_or_address a;
+
a.loa = LOA_ADDRESS;
a.u.addr = low;
if (!tui_addr_is_displayed (item->locator.addr, win_info, TRUE))