Emit 8 NULs for target section name instead of dumping core when the target
[deliverable/binutils-gdb.git] / gdb / partial-stab.h
index b8c9de8d1fef885c7277ef380bdb1735abfb0442..6691b75a0c5c60d8ad20466a8e953a3b8d9ab811 100644 (file)
@@ -647,7 +647,7 @@ switch (CUR_SYMBOL_TYPE)
           use the address of this function as the low bound for
           the partial symbol table.  */
        if (textlow_not_set
-           || (CUR_SYMBOL_VALUE < pst->textlow
+           || (pst && CUR_SYMBOL_VALUE < pst->textlow
                && CUR_SYMBOL_VALUE
                != ANOFFSET (objfile->section_offsets, SECT_OFF_TEXT (objfile))))
          {
This page took 0.025554 seconds and 4 git commands to generate.