From 6f7709b7653fb7bc802932fa8244955a24fcd8b8 Mon Sep 17 00:00:00 2001 From: Stu Grossman Date: Fri, 26 Jun 1992 03:55:28 +0000 Subject: [PATCH] Default dir_so_symnum to -10 to avoid even the slightest possibility of screwage. This is a continuation of the redundant SO record fixup for the Lucid C++ compiler. --- gdb/partial-stab.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gdb/partial-stab.h b/gdb/partial-stab.h index 29c771609cd..2dc32e01adc 100644 --- a/gdb/partial-stab.h +++ b/gdb/partial-stab.h @@ -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; } -- 2.30.2