summaryrefslogtreecommitdiff
path: root/gdb/tui/tui-source.h
diff options
context:
space:
mode:
authorAndrew Stubbs <andrew.stubbs@st.com>2005-11-01 17:40:25 +0000
committerAndrew Stubbs <andrew.stubbs@st.com>2005-11-01 17:40:25 +0000
commit5a77dc52950c60f2b595fc4a3d55992dfdbe2058 (patch)
treea5e3a4d2bda41ef8ac1201299154b3a38d98afd8 /gdb/tui/tui-source.h
parent3f5499eda5859553d26818e4b360f78c8ddf5f13 (diff)
downloadgdb-5a77dc52950c60f2b595fc4a3d55992dfdbe2058.tar.gz
2005-11-01 Andrew Stubbs <andrew.stubbs@st.com>
* tui/tui-data.h (tui_line_or_address): Encapsulate the union in a struct with a tag. (tui_source_element, tui_source_info): Update. * tui/tui-disasm.c, tui/tui-source.c: Update to use the tagged union. * tui/tui-source.h, tui/tui-stack.c, tui/tui-win.c: Likewise. * tui/tui-winsource.c, tui/tui-data.c, tui/tui-layout.c: Likewise. * tui/tui-winsource.h: Likewise.
Diffstat (limited to 'gdb/tui/tui-source.h')
-rw-r--r--gdb/tui/tui-source.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/tui/tui-source.h b/gdb/tui/tui-source.h
index 3b61ca4374d..4e49488ddc9 100644
--- a/gdb/tui/tui-source.h
+++ b/gdb/tui/tui-source.h
@@ -33,7 +33,7 @@ struct tui_win_info;
extern void tui_set_source_content_nil (struct tui_win_info *, char *);
extern enum tui_status tui_set_source_content (struct symtab *, int, int);
-extern void tui_show_symtab_source (struct symtab *, union tui_line_or_address, int);
+extern void tui_show_symtab_source (struct symtab *, struct tui_line_or_address, int);
extern int tui_source_is_displayed (char *);
extern void tui_vertical_source_scroll (enum tui_scroll_direction, int);