summaryrefslogtreecommitdiff
path: root/gdb/tui/tui-disasm.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <dan@debian.org>2006-04-03 00:47:41 +0000
committerDaniel Jacobowitz <dan@debian.org>2006-04-03 00:47:41 +0000
commit53ad9794210c1d60f720859ff6015817b7b92cea (patch)
tree5c1eb459ec3f2358137b97a3f87ec68915859fc5 /gdb/tui/tui-disasm.c
parent39cf8d4e982482f3abc03fca66a140de8e5b8a26 (diff)
downloadgdb-53ad9794210c1d60f720859ff6015817b7b92cea.tar.gz
Merge XML and VFP support to this branch.gdb-csl-20060226-branch-merge-to-csl-local-1
Diffstat (limited to 'gdb/tui/tui-disasm.c')
-rw-r--r--gdb/tui/tui-disasm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/tui/tui-disasm.c b/gdb/tui/tui-disasm.c
index 676f492ad3f..3c017ebe174 100644
--- a/gdb/tui/tui-disasm.c
+++ b/gdb/tui/tui-disasm.c
@@ -386,7 +386,7 @@ tui_vertical_disassem_scroll (enum tui_scroll_direction scroll_direction,
content = (tui_win_content) TUI_DISASM_WIN->generic.content;
if (cursal.symtab == (struct symtab *) NULL)
- s = find_pc_symtab (get_frame_pc (deprecated_selected_frame));
+ s = find_pc_symtab (get_frame_pc (get_selected_frame (NULL)));
else
s = cursal.symtab;