diff options
author | John Gilmore <gnu@cygnus> | 1991-12-21 00:36:59 +0000 |
---|---|---|
committer | John Gilmore <gnu@cygnus> | 1991-12-21 00:36:59 +0000 |
commit | 6b5b330b263606693f64fdad2aec477fe830f1ad (patch) | |
tree | e6f3a1332476f27fe1b399699709e2573e5f0e18 | |
parent | 18ab66f265dda56b780fcc1b4f8a0946be4a2438 (diff) | |
download | gdb-6b5b330b263606693f64fdad2aec477fe830f1ad.zip gdb-6b5b330b263606693f64fdad2aec477fe830f1ad.tar.gz gdb-6b5b330b263606693f64fdad2aec477fe830f1ad.tar.bz2 |
* xcoffread.c (read_symbol_lineno): Logic error in incrementing
symbol table entry number. (From Metin Ozisik.)
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/xcoffread.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c20d10e..cf99117 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 68dcd96..e425ef7 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"); |