This is the mail archive of the gdb-patches@sourceware.org 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: Rename "info definitions"?


>>>>> "Matt" == Matt Rice <ratmice@gmail.com> writes:

Matt> sorry I realized in this argument processing I used strchrnul, but
Matt> forgot to check if its OK
Matt> since nothing else in gdb calls it except autoconf macros, and there
Matt> is no libiberty replacement
Matt> I doubt that it is... i'll come up with another patch unless someone
Matt> feels like blessing strchrnul.

Use skip_to_space, see cli-utils.h.
This has the advantage of also recognizing \t.

Tom


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