Default dir_so_symnum to -10 to avoid even the slightest possibility of
authorStu Grossman <grossman@cygnus>
Fri, 26 Jun 1992 03:55:28 +0000 (03:55 +0000)
committerStu Grossman <grossman@cygnus>
Fri, 26 Jun 1992 03:55:28 +0000 (03:55 +0000)
screwage.  This is a continuation of the redundant SO record fixup for the
Lucid C++ compiler.

gdb/partial-stab.h

index 29c771609cdb770484af2ed9745f4822fc7885d5..2dc32e01adc4ec31e94893e171ad082173f19277 100644 (file)
@@ -194,7 +194,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
        case N_SO: {
          unsigned long valu = CUR_SYMBOL_VALUE;
          static int last_so_symnum = -10;
-         static int dir_so_symnum = -1;
+         static int dir_so_symnum = -10;
          int tmp;
          char *p;
          
@@ -244,7 +244,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
                               tmp * symbol_size,
                               objfile -> global_psymbols.next,
                               objfile -> static_psymbols.next);
-         dir_so_symnum = -1;
+         dir_so_symnum = -10;
          continue;
        }