[PATCH] PR-10034 Bad space handling in `set remote exec-file' command.

Abhijit Halder abhijit.k.halder@gmail.com
Sun Oct 2 08:14:00 GMT 2011


Hi,

In the `set remote exec-file' command if we provide space at the end
of the file-name, the space is not being chopped off and being
considered as part of file-name. This behavior is inconsistent across
similar set commands like `set logging file' etc. My patch will fix
that problem. Please review this patch and put your comments.

Thanks,
Abhijit Halder
-------------- next part --------------
2011-09-13  Abhijit Halder  <abhijit.k.halder@gmail.com>

	Fix PR remote/10034:
	* cli/cli-setshow.c (do_setshow_command): Clear trailing whitespace
	from command argument strings.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gdb-space-issue.patch
Type: application/octet-stream
Size: 2034 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20111002/c24d74e1/attachment.obj>


More information about the Gdb-patches mailing list