* dbxread.c (read_dbx_symtab): Clear has_line_numbers when ending
authorPedro Alves <palves@redhat.com>
Mon, 29 Jun 2009 16:48:15 +0000 (16:48 +0000)
committerPedro Alves <palves@redhat.com>
Mon, 29 Jun 2009 16:48:15 +0000 (16:48 +0000)
a psymtab.

gdb/ChangeLog
gdb/dbxread.c

index a9b48741c2f5ade7723ae649326f93d46a373dfd..4af89ff797ad606f57fcb94428d84afcdd80bc9b 100644 (file)
@@ -1,3 +1,8 @@
+2009-06-29  Pedro Alves  <pedro@codesourcery.com>
+
+       * dbxread.c (read_dbx_symtab): Clear has_line_numbers when ending
+       a psymtab.
+
 2009-06-29  Tom Tromey  <tromey@redhat.com>
 
        * README: Mention parallel check.
index 1d1aa2dfe3db01455e3b8204cce41609adc0bc7b..37e9be7ef98f343563a9afc3962d04aed1b91b0d 100644 (file)
@@ -1384,6 +1384,7 @@ read_dbx_symtab (struct objfile *objfile)
                  pst = (struct partial_symtab *) 0;
                  includes_used = 0;
                  dependencies_used = 0;
+                 has_line_numbers = 0;
                }
              else
                past_first_source_file = 1;
@@ -1508,6 +1509,7 @@ read_dbx_symtab (struct objfile *objfile)
                    pst = (struct partial_symtab *) 0;
                    includes_used = 0;
                    dependencies_used = 0;
+                   has_line_numbers = 0;
                  }
              }
 
@@ -2107,6 +2109,7 @@ pos %d"),
              pst = (struct partial_symtab *) 0;
              includes_used = 0;
              dependencies_used = 0;
+             has_line_numbers = 0;
            }
          continue;