gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 28 Dec 2012 09:05:40 +0000 (09:05 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 28 Dec 2012 09:05:40 +0000 (09:05 +0000)
* symtab.c (find_line_symtab): Call symtab_to_fullname instead of
accessing FULLNAME directly.

gdb/ChangeLog
gdb/symtab.c

index d5d208ba405b4d2c9a784bf1c044e75f1feb2de3..0f6f7961ff697cd1a45553e5e8839a6179b59db6 100644 (file)
@@ -1,3 +1,8 @@
+2012-12-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * symtab.c (find_line_symtab): Call symtab_to_fullname instead of
+       accessing FULLNAME directly.
+
 2012-12-25  Sergio Durigan Junior  <sergiodj@redhat.com>
 
        * frv-linux-tdep.c (frv_linux_pc_in_sigtramp): Fix typo.
index a39e5bf458fbb02596c63013388a0f143737d118..85880c1026b724b1be946bd908111077d351ec63 100644 (file)
@@ -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);