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]

Re: [RFA] dwarf2read.c: complain() -> complaint()


> It looks fine to me.
> 
> I was uncomfortable with the idea of having to create wrapper
> functions at first --- the idea being that each occurrence of a
> complaint string is its own independent complaint --- but it seems
> like it'll do the right thing by default more often than making people
> create complaint structures.  So I'll go with that.

I'm not sure what you mean.  The wrapper function was only suggested
when an identical complaint is being reported from more than one place
in the file.  See "complaints.h".

Andrew


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]