From: Pedro Alves Date: Mon, 29 Jun 2009 16:48:15 +0000 (+0000) Subject: * dbxread.c (read_dbx_symtab): Clear has_line_numbers when ending X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=578933abf5476345a73c1f6348ec1438baa1eaa8;p=binutils-gdb.git * dbxread.c (read_dbx_symtab): Clear has_line_numbers when ending a psymtab. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a9b48741c2f..4af89ff797a 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2009-06-29 Pedro Alves + + * dbxread.c (read_dbx_symtab): Clear has_line_numbers when ending + a psymtab. + 2009-06-29 Tom Tromey * README: Mention parallel check. diff --git a/gdb/dbxread.c b/gdb/dbxread.c index 1d1aa2dfe3d..37e9be7ef98 100644 --- a/gdb/dbxread.c +++ b/gdb/dbxread.c @@ -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;