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/tuiSource.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/tuiSource.c')
-rw-r--r-- | gdb/tui/tuiSource.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/tui/tuiSource.c b/gdb/tui/tuiSource.c index ceccd64..68e7d99 100644 --- a/gdb/tui/tuiSource.c +++ b/gdb/tui/tuiSource.c @@ -340,7 +340,7 @@ tuiVerticalSourceScroll (TuiScrollDirection scrollDirection, struct symtab_and_line cursal = get_current_source_symtab_and_line (); if (cursal.symtab == (struct symtab *) NULL) - s = find_pc_symtab (deprecated_selected_frame->pc); + s = find_pc_symtab (get_frame_pc (deprecated_selected_frame)); else s = cursal.symtab; |