[PATCH] Fix search of debug files for remote debuggee

Andrey Utkin autkin@undo.io
Wed Jan 2 18:11:00 GMT 2019


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.



More information about the Gdb-patches mailing list