PR symtab/17559
[deliverable/binutils-gdb.git] / gdb / tui / tui-hooks.c
index 7db392a42711db37009c39214db665ba976bdc06..4c6e4504604e00657b1aac7bdd2372693781ac2b 100644 (file)
@@ -202,7 +202,7 @@ tui_selected_frame_level_changed_hook (int level)
     {
       struct symtab *s;
 
-      s = find_pc_symtab (pc);
+      s = find_pc_line_symtab (pc);
       /* 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
This page took 0.023172 seconds and 4 git commands to generate.