* Makefile.in (tuiDisassem.o): Update dependencies.
[deliverable/binutils-gdb.git] / gdb / tui / tui-hooks.c
index db6c3f666bf9aa585a376abd7b443c408985f6e0..569ab078cf18cc4ae101e8eb64da27890926d6e2 100644 (file)
@@ -250,7 +250,7 @@ tui_selected_frame_level_changed_hook (int level)
     {
       struct symtab *s;
       
-      s = find_pc_symtab (fi->pc);
+      s = find_pc_symtab (get_frame_pc (fi));
       /* elz: this if here fixes the problem with the pc not being displayed
          in the tui asm layout, with no debug symbols. The value of s 
          would be 0 here, and select_source_symtab would abort the
This page took 0.02288 seconds and 4 git commands to generate.