diff options
author | Andreas Schwab <schwab@linux-m68k.org> | 2003-06-12 15:44:24 +0000 |
---|---|---|
committer | Andreas Schwab <schwab@linux-m68k.org> | 2003-06-12 15:44:24 +0000 |
commit | f70a7d6187474279095499b00effcbe1ec8ce3d8 (patch) | |
tree | 1eb7263f4519e6bc37c378252acbb2d24cbb4e08 /gdb/tui/tui-hooks.c | |
parent | b64296285dff79d58ce7b9dad578d5f3438a6cd4 (diff) | |
download | gdb-f70a7d6187474279095499b00effcbe1ec8ce3d8.zip gdb-f70a7d6187474279095499b00effcbe1ec8ce3d8.tar.gz gdb-f70a7d6187474279095499b00effcbe1ec8ce3d8.tar.bz2 |
* Makefile.in (tuiDisassem.o): Update dependencies.
tui:
* tuiSource.c (tuiVerticalSourceScroll): Use get_frame_pc.
* tuiSourceWin.c (tuiHorizontalSourceScroll): Likewise.
* tuiStack.c (tui_get_function_from_frame): Likewise.
(tuiShowFrameInfo): Likewise.
* tuiWin.c (_makeVisibleWithNewHeight): Likewise.
* tui-hooks.c (tui_selected_frame_level_changed_hook): Likewise.
* tuiDisassem.c (tuiVerticalDisassemScroll): Likewise.
Include "disasm.h".
Diffstat (limited to 'gdb/tui/tui-hooks.c')
-rw-r--r-- | gdb/tui/tui-hooks.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/tui/tui-hooks.c b/gdb/tui/tui-hooks.c index db6c3f6..569ab07 100644 --- a/gdb/tui/tui-hooks.c +++ b/gdb/tui/tui-hooks.c @@ -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 |