Re: [PATCH] cd command defaults to ~

Jan Kratochvil
2012-07-05T14:00:56Z

On Thu, 05 Jul 2012 04:31:07 +0200, Nathaniel Flath wrote:
> 'cd' in bash defaults to ~, whereas in gdb will throw an error. This
> patch has the 'cd' command in gdb use '~' as a default instead of
> giving this error.

FYI I do not find it too much required, 'cd ~' is not such a burden, one may
expect that 'cd' without parameters will do 'pwd' (which it does not) etc.
Therefore I do not approve it on my own unless someone else does.

It would need an update in doc/doc/gdb.texinfo and probably even gdb/NEWS.

Regards,
Jan