diff options
author | Andrew Cagney <cagney@redhat.com> | 2002-10-25 22:25:55 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2002-10-25 22:25:55 +0000 |
commit | 72367fb45badc6ee3fe515b31348266310bff371 (patch) | |
tree | 1c5768fc9c002675eefcfb826312ee34280f38be /gdb/xcoffread.c | |
parent | 0c1a73d6161aa208838c415d735d41be3ee16fb7 (diff) | |
download | gdb-72367fb45badc6ee3fe515b31348266310bff371.zip gdb-72367fb45badc6ee3fe515b31348266310bff371.tar.gz gdb-72367fb45badc6ee3fe515b31348266310bff371.tar.bz2 |
2002-10-25 Andrew Cagney <cagney@redhat.com>
* complaints.h (struct deprecated_complaint): Rename `struct
complaint'.
* complaints.c (complain): Update.
* remote-vx68.c, remote-vxmips.c, remote-vxsparc.c: Delete
incorrect comment indicating that "symfile.h" was being included
for the `struct complaint' definition.
* remote-vx.c: Update.
* objc-lang.c: Update.
* xcoffread.c: Update.
* hpread.c: Update.
* mdebugread.c: Update.
* stabsread.c: Update.
* dwarf2read.c: Update.
* dwarfread.c: Update.
* elfread.c: Update.
* coffread.c: Update.
* stabsread.h: Update.
* dbxread.c: Update.
* buildsym.c: Update.
* gdbtypes.c: Update.
* macrotab.c: Update.
Diffstat (limited to 'gdb/xcoffread.c')
-rw-r--r-- | gdb/xcoffread.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/gdb/xcoffread.c b/gdb/xcoffread.c index 0e85125..140161f 100644 --- a/gdb/xcoffread.c +++ b/gdb/xcoffread.c @@ -150,16 +150,16 @@ struct coff_symfile_info CORE_ADDR toc_offset; }; -static struct complaint storclass_complaint = +static struct deprecated_complaint storclass_complaint = {"Unexpected storage class: %d", 0, 0}; -static struct complaint bf_notfound_complaint = +static struct deprecated_complaint bf_notfound_complaint = {"line numbers off, `.bf' symbol not found", 0, 0}; -static struct complaint ef_complaint = +static struct deprecated_complaint ef_complaint = {"Mismatched .ef symbol ignored starting at symnum %d", 0, 0}; -static struct complaint eb_complaint = +static struct deprecated_complaint eb_complaint = {"Mismatched .eb symbol ignored starting at symnum %d", 0, 0}; static void xcoff_initial_scan (struct objfile *, int); @@ -483,7 +483,7 @@ record_include_begin (struct coff_symbol *cs) /* This can happen with old versions of GCC. GCC 2.3.3-930426 does not exhibit this on a test case which a user said produced the message for him. */ - static struct complaint msg = + static struct deprecated_complaint msg = {"Nested C_BINCL symbols", 0, 0}; complain (&msg); } @@ -502,7 +502,7 @@ record_include_end (struct coff_symbol *cs) if (inclDepth == 0) { - static struct complaint msg = + static struct deprecated_complaint msg = {"Mismatched C_BINCL/C_EINCL pair", 0, 0}; complain (&msg); } @@ -766,7 +766,7 @@ enter_line_range (struct subfile *subfile, unsigned beginoffset, unsigned endoff { if (endoffset >= limit_offset) { - static struct complaint msg = + static struct deprecated_complaint msg = {"Bad line table offset in C_EINCL directive", 0, 0}; complain (&msg); return; @@ -864,7 +864,7 @@ static char * xcoff_next_symbol_text (struct objfile *objfile) { struct internal_syment symbol; - static struct complaint msg = + static struct deprecated_complaint msg = {"Unexpected symbol continuation", 0, 0}; char *retval; /* FIXME: is this the same as the passed arg? */ @@ -1332,7 +1332,7 @@ read_xcoff_symtab (struct partial_symtab *pst) case C_UNTAG: case C_ENTAG: { - static struct complaint msg = + static struct deprecated_complaint msg = {"Unrecognized storage class %d.", 0, 0}; complain (&msg, cs->c_sclass); } @@ -1603,7 +1603,7 @@ read_symbol (struct internal_syment *symbol, int symno) ->symtbl; if (symno < 0 || symno >= nsyms) { - static struct complaint msg = + static struct deprecated_complaint msg = {"Invalid symbol offset", 0, 0}; complain (&msg); symbol->n_value = 0; @@ -2442,7 +2442,7 @@ scan_xcoff_symtab (struct objfile *objfile) default: { - static struct complaint msg = + static struct deprecated_complaint msg = {"Storage class %d not recognized during scan", 0, 0}; complain (&msg, sclass); } @@ -2565,7 +2565,7 @@ scan_xcoff_symtab (struct objfile *objfile) case C_STSYM: { - static struct complaint function_outside_compilation_unit = { + static struct deprecated_complaint function_outside_compilation_unit = { "function `%s' appears to be defined outside of all compilation units", 0, 0 }; |