Index: gdb/tui/tui-data.h |
diff --git a/gdb/tui/tui-data.h b/gdb/tui/tui-data.h |
index 5df73d29f7e350fdd0d731bd8edeeba1f0c4c0a7..8f863067bf5573623db81346b90c08ed255f539b 100644 |
--- a/gdb/tui/tui-data.h |
+++ b/gdb/tui/tui-data.h |
@@ -1,7 +1,6 @@ |
/* TUI data manipulation routines. |
- Copyright (C) 1998-2002, 2004, 2006-2012 Free Software Foundation, |
- Inc. |
+ Copyright (C) 1998-2013 Free Software Foundation, Inc. |
Contributed by Hewlett-Packard Company. |
@@ -204,7 +203,8 @@ struct tui_command_element |
/* Elements in the locator window content. */ |
struct tui_locator_element |
{ |
- char file_name[MAX_LOCATOR_ELEMENT_LEN]; |
+ /* Resolved absolute filename as returned by symtab_to_fullname. */ |
+ char full_name[MAX_LOCATOR_ELEMENT_LEN]; |
char proc_name[MAX_LOCATOR_ELEMENT_LEN]; |
int line_no; |
CORE_ADDR addr; |
@@ -271,7 +271,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; |
}; |