From: John Gilmore Date: Sat, 21 Dec 1991 00:36:59 +0000 (+0000) Subject: * xcoffread.c (read_symbol_lineno): Logic error in incrementing X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6b5b330b263606693f64fdad2aec477fe830f1ad;p=binutils-gdb.git * xcoffread.c (read_symbol_lineno): Logic error in incrementing symbol table entry number. (From Metin Ozisik.) --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c20d10e5fc9..cf99117db3f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +Fri Dec 20 16:33:39 1991 John Gilmore (gnu at cygnus.com) + + * xcoffread.c (read_symbol_lineno): Logic error in incrementing + symbol table entry number. (From Metin Ozisik.) + Fri Dec 20 11:36:38 1991 Fred Fish (fnf at cygnus.com) * config/mh-i386v4: Change XM_CLIBS to "-lc /usr/ucblib/libucb.a" diff --git a/gdb/xcoffread.c b/gdb/xcoffread.c index 68dcd9636a1..e425ef70db5 100644 --- a/gdb/xcoffread.c +++ b/gdb/xcoffread.c @@ -959,7 +959,7 @@ read_symbol_lineno (symtable, symno) symtable + (symno*local_symesz), symbol); if (symbol->n_sclass == C_FCN && 0 == strcmp (symbol->n_name, ".bf")) goto gotit; - symno += 1 + symbol->n_numaux+1; + symno += symbol->n_numaux+1; } printf ("GDB Error: `.bf' not found.\n");