From: Jan Kratochvil Date: Fri, 28 Dec 2012 09:05:40 +0000 (+0000) Subject: gdb/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d180bcbd34b9ed5f0062636786ff31c803c2f735;p=binutils-gdb.git gdb/ * symtab.c (find_line_symtab): Call symtab_to_fullname instead of accessing FULLNAME directly. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d5d208ba405..0f6f7961ff6 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2012-12-28 Jan Kratochvil + + * symtab.c (find_line_symtab): Call symtab_to_fullname instead of + accessing FULLNAME directly. + 2012-12-25 Sergio Durigan Junior * frv-linux-tdep.c (frv_linux_pc_in_sigtramp): Fix typo. diff --git a/gdb/symtab.c b/gdb/symtab.c index a39e5bf458f..85880c1026b 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);