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] |
On 2019-01-02 13:11, Andrey Utkin wrote:
On Mon, Dec 24, 2018 at 11:26:05AM -0500, Simon Marchi wrote:Andrey, I would make a few minor changes to your patch, if you agree: - Use "startswith" instead of strncmp - Use strlen instead of magical number 7 - Use ternary operator - Change variable name "remote" to "target_prefix". This would be the result:Thanks for improving the patch. Everything looks great now. Please apply.
Thanks, I just pushed it. Simon
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |