aboutsummaryrefslogtreecommitdiff
path: root/gdb/symtab.c
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2012-12-28 09:05:40 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2012-12-28 09:05:40 +0000
commitd180bcbd34b9ed5f0062636786ff31c803c2f735 (patch)
treeb7ef78d577f7a158a46b4b483e7d85927b0279cd /gdb/symtab.c
parent6457f4cfc2db663128ff012e4562d52195c6540d (diff)
downloadgdb-d180bcbd34b9ed5f0062636786ff31c803c2f735.zip
gdb-d180bcbd34b9ed5f0062636786ff31c803c2f735.tar.gz
gdb-d180bcbd34b9ed5f0062636786ff31c803c2f735.tar.bz2
gdb/
* symtab.c (find_line_symtab): Call symtab_to_fullname instead of accessing FULLNAME directly.
Diffstat (limited to 'gdb/symtab.c')
-rw-r--r--gdb/symtab.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/symtab.c b/gdb/symtab.c
index a39e5bf..85880c1 100644
--- a/gdb/symtab.c
+++ b/gdb/symtab.c
@@ -2554,7 +2554,8 @@ find_line_symtab (struct symtab *symtab, int line,
if (FILENAME_CMP (symtab->filename, s->filename) != 0)
continue;
- if (FILENAME_CMP (symtab->fullname, symtab_to_fullname (s)) != 0)
+ if (FILENAME_CMP (symtab_to_fullname (symtab),
+ symtab_to_fullname (s)) != 0)
continue;
l = LINETABLE (s);
ind = find_line_common (l, line, &exact, 0);