From: Stu Grossman Date: Fri, 26 Jun 1992 03:55:28 +0000 (+0000) Subject: Default dir_so_symnum to -10 to avoid even the slightest possibility of X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6f7709b7653fb7bc802932fa8244955a24fcd8b8;p=binutils-gdb.git 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. --- 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; }