]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/symfile.c
Isolate STABS readers' use of the `textlow' and `texthigh' fields
[thirdparty/binutils-gdb.git] / gdb / symfile.c
index 7f3fdc643f3d4c688fd62b5c0d5071efe3ad3ffb..ebd0427b29e4c1cc607f3245ce31db1805efbee4 100644 (file)
@@ -1989,6 +1989,7 @@ allocate_psymtab (char *filename, struct objfile *objfile)
   psymtab->filename = obsavestring (filename, strlen (filename),
                                    &objfile->psymbol_obstack);
   psymtab->symtab = NULL;
+  psymtab->text_addrs = addrset_new (&objfile->psymbol_obstack);
 
   /* Prepend it to the psymtab list for the objfile it belongs to.
      Psymtabs are searched in most recent inserted -> least recent