aboutsummaryrefslogtreecommitdiff
path: root/gdb/xcoffread.c
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1991-12-21 00:36:59 +0000
committerJohn Gilmore <gnu@cygnus>1991-12-21 00:36:59 +0000
commit6b5b330b263606693f64fdad2aec477fe830f1ad (patch)
treee6f3a1332476f27fe1b399699709e2573e5f0e18 /gdb/xcoffread.c
parent18ab66f265dda56b780fcc1b4f8a0946be4a2438 (diff)
downloadgdb-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.)
Diffstat (limited to 'gdb/xcoffread.c')
-rw-r--r--gdb/xcoffread.c2
1 files changed, 1 insertions, 1 deletions
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");