aboutsummaryrefslogtreecommitdiff
path: root/gdb/xcoffread.c
diff options
context:
space:
mode:
authorK. Richard Pixley <rich@cygnus>1993-02-12 23:48:36 +0000
committerK. Richard Pixley <rich@cygnus>1993-02-12 23:48:36 +0000
commite99163901e5c6fe8e6f3a388fe15a76fb6ea70ea (patch)
tree7984f484343374fd1108564cac822baa07a9f316 /gdb/xcoffread.c
parente61cfdf820936a36b55fd9a20ef35f6971551dd5 (diff)
downloadgdb-e99163901e5c6fe8e6f3a388fe15a76fb6ea70ea.zip
gdb-e99163901e5c6fe8e6f3a388fe15a76fb6ea70ea.tar.gz
gdb-e99163901e5c6fe8e6f3a388fe15a76fb6ea70ea.tar.bz2
* xcoffread.c (process_xcoff_symbol, read_symbol_lineno): complain
expects a pointer to complaint rather than a complaint structure.
Diffstat (limited to 'gdb/xcoffread.c')
-rw-r--r--gdb/xcoffread.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/xcoffread.c b/gdb/xcoffread.c
index 6bc1d5b..892adb5 100644
--- a/gdb/xcoffread.c
+++ b/gdb/xcoffread.c
@@ -1905,13 +1905,13 @@ process_xcoff_symbol (cs, objfile)
return sym;
}
else {
- complain (rsym_complaint, name);
+ complain (&rsym_complaint, name);
return NULL;
}
#endif
default :
- complain (storclass_complaint, cs->c_sclass);
+ complain (&storclass_complaint, cs->c_sclass);
return NULL;
}
}
@@ -1949,7 +1949,7 @@ read_symbol_lineno (symtable, symno)
symno += symbol->n_numaux+1;
}
- complain (bf_notfound_complaint);
+ complain (&bf_notfound_complaint);
return 0;
gotit: