aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tui-data.h
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2013-02-03 16:05:09 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2013-02-03 16:05:09 +0000
commitaa079c9346c65921b85c75da180a887b7bd7a776 (patch)
treecda4ea09748da28bb01301d15ff5893c5a21b4a8 /gdb/tui/tui-data.h
parent652a899601383bee12293508992ca5f5e0d76967 (diff)
downloadgdb-aa079c9346c65921b85c75da180a887b7bd7a776.zip
gdb-aa079c9346c65921b85c75da180a887b7bd7a776.tar.gz
gdb-aa079c9346c65921b85c75da180a887b7bd7a776.tar.bz2
gdb/
* tui/tui-data.c (init_win_info, tui_del_window, tui_free_window): Rename field reference filename to fullname. * tui/tui-data.h (struct tui_source_info): Rename field filename to fullname. New comment for it. * tui/tui-source.c (tui_set_source_content): Rename field reference filename to fullname. Initialize field by symtab_to_fullname now. * tui/tui-winsource.c (tui_update_breakpoint_info): Rename field reference filename to fullname. Use symtab_to_fullname during comparison.
Diffstat (limited to 'gdb/tui/tui-data.h')
-rw-r--r--gdb/tui/tui-data.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/tui/tui-data.h b/gdb/tui/tui-data.h
index 245b33e..703eeb8 100644
--- a/gdb/tui/tui-data.h
+++ b/gdb/tui/tui-data.h
@@ -270,7 +270,10 @@ struct tui_source_info
struct tui_gen_win_info *execution_info;
int horizontal_offset; /* Used for horizontal scroll. */
struct tui_line_or_address start_line_or_addr;
- char *filename;
+
+ /* It is the resolved form as returned by symtab_to_fullname. */
+ char *fullname;
+
/* Architecture associated with code at this location. */
struct gdbarch *gdbarch;
};