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: Patch for building gdb on arm-netbsd


>  I'm puzzled as to why it would be Elena?
> 
> Oh, just because I expressed a few times a strong dislike for
> STREQ.  :-)


Just a footnote on this.  Looks like GDB is definitly right with trying 
to eliminate STREQ() et.al..  Turns out that GCC already does things 
like replace:

	strcpy (foo, "foo");
with 
memcpy (foo, "foo", 4);

so simplifying the code for str*() giving GDB a free hand is a good thing.

enjoy,
Andrew




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