This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Nope. The original code was broken:complaint (&symfile_complaints, "bad string table offset in symbol %d", \ (char *) symnum); \ *NAMEP = ""; \ } \ else \ *NAMEP = (SYM)->dsfile.name + VT (OBJFILE) I think that the warning comes from the call to complaint where the format string contains "%d", but the next parameter is casted to a "char *". Is the cast to "char *" necessary? Can/Should I remove it?Looks like a typo in Kevin's complaint patch.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |