aboutsummaryrefslogtreecommitdiff
path: root/gdb/dbxread.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2009-06-29 16:48:15 +0000
committerPedro Alves <palves@redhat.com>2009-06-29 16:48:15 +0000
commit578933abf5476345a73c1f6348ec1438baa1eaa8 (patch)
treea6b5740cdc35a17afafb8e15dcfe1c022c4954f1 /gdb/dbxread.c
parent6bc80edc986a7afe2389deac4f18e8c1b976b66c (diff)
downloadgdb-578933abf5476345a73c1f6348ec1438baa1eaa8.zip
gdb-578933abf5476345a73c1f6348ec1438baa1eaa8.tar.gz
gdb-578933abf5476345a73c1f6348ec1438baa1eaa8.tar.bz2
* dbxread.c (read_dbx_symtab): Clear has_line_numbers when ending
a psymtab.
Diffstat (limited to 'gdb/dbxread.c')
-rw-r--r--gdb/dbxread.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/dbxread.c b/gdb/dbxread.c
index 1d1aa2d..37e9be7 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;