summaryrefslogtreecommitdiff
path: root/gdb/tui/tuiDisassem.c
diff options
context:
space:
mode:
authorJason Molenda <jsm@bugshack.cygnus.com>2000-02-02 00:21:02 +0000
committerJason Molenda <jsm@bugshack.cygnus.com>2000-02-02 00:21:02 +0000
commit7f21f6e13b66cb5b435e1a90a7c17533084dde60 (patch)
treea94a37b0ec3a190709ac6847a3ea8cd81b857111 /gdb/tui/tuiDisassem.c
parent92d4623a389a3fda8dedcfc5e53a91c90ac30816 (diff)
downloadgdb-2000-02-01.tar.gz
import gdb-2000-02-01 snapshotgdb-2000-02-01
Diffstat (limited to 'gdb/tui/tuiDisassem.c')
-rw-r--r--gdb/tui/tuiDisassem.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/tui/tuiDisassem.c b/gdb/tui/tuiDisassem.c
index a39574b3890..a6df69432f5 100644
--- a/gdb/tui/tuiDisassem.c
+++ b/gdb/tui/tuiDisassem.c
@@ -43,7 +43,7 @@ tuiSetDisassemContent (s, startAddr)
#endif
{
TuiStatus ret = TUI_FAILURE;
- GDB_FILE *gdb_dis_out;
+ struct ui_file *gdb_dis_out;
if (startAddr != (Opaque) NULL)
{
@@ -65,7 +65,7 @@ tuiSetDisassemContent (s, startAddr)
lineWidth = disassemWin->generic.width - 1;
threshold = (lineWidth - 1) + offset;
- /* now init the gdb_file structure */
+ /* now init the ui_file structure */
gdb_dis_out = tui_sfileopen (threshold);
INIT_DISASSEMBLE_INFO_NO_ARCH (asmInfo, gdb_dis_out, (fprintf_ftype) fprintf_filtered);
@@ -118,7 +118,7 @@ tuiSetDisassemContent (s, startAddr)
/* reset the buffer to empty */
tui_file_get_strbuf (gdb_dis_out)[0] = '\0';
}
- gdb_file_delete (gdb_dis_out);
+ ui_file_delete (gdb_dis_out);
gdb_dis_out = NULL;
disassemWin->generic.contentSize = curLine;
ret = TUI_SUCCESS;