diff options
author | Stu Grossman <grossman@cygnus> | 1992-06-26 03:55:28 +0000 |
---|---|---|
committer | Stu Grossman <grossman@cygnus> | 1992-06-26 03:55:28 +0000 |
commit | 6f7709b7653fb7bc802932fa8244955a24fcd8b8 (patch) | |
tree | b135f36b0b01f1db071891a7120832a48f2059f6 /gdb | |
parent | c31921729ff004a7748c0bff89b4db0fe6795830 (diff) | |
download | gdb-6f7709b7653fb7bc802932fa8244955a24fcd8b8.zip gdb-6f7709b7653fb7bc802932fa8244955a24fcd8b8.tar.gz gdb-6f7709b7653fb7bc802932fa8244955a24fcd8b8.tar.bz2 |
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.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/partial-stab.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/partial-stab.h b/gdb/partial-stab.h index 29c7716..2dc32e0 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; } |