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/tuiDisassem.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/tuiDisassem.c')
-rw-r--r-- | gdb/tui/tuiDisassem.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/tui/tuiDisassem.c b/gdb/tui/tuiDisassem.c index 0ddf32c..a8668c4 100644 --- a/gdb/tui/tuiDisassem.c +++ b/gdb/tui/tuiDisassem.c @@ -45,6 +45,7 @@ #include "frame.h" #include "value.h" #include "source.h" +#include "disasm.h" #include "tui.h" #include "tuiData.h" @@ -408,7 +409,7 @@ tuiVerticalDisassemScroll (TuiScrollDirection scrollDirection, content = (TuiWinContent) disassemWin->generic.content; 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; |