Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1206)

Unified Diff: gdb/tui/tui-data.h

Issue 124383005: GDB 7.6.50 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@upstream
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gdb/tui/tui-command.c ('k') | gdb/tui/tui-data.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
};
« no previous file with comments | « gdb/tui/tui-command.c ('k') | gdb/tui/tui-data.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698