[patch] Fix "directory" command problem under "set confirm off"
Michael Snyder
msnyder@specifix.com
Thu Mar 6 20:47:00 GMT 2008
On Thu, 2008-03-06 at 21:39 +0900, Hidetaka Takano wrote:
> Hi maintainer,
>
> I'll send the patch to fix the "directory" command problem.
>
> When the directory command is issued without any parameters,
> the source search path is supposed to be initialized.
> But it doesn't work under "set confirm off".
Hey, you're right! And it doesn't work for batch files, either.
Your patch fixes both.
Do you have a copyright assignment on file?
Since this is a one-line fix, I can check it in for you
(if you wish), but if you're going to be submitting more
patches, you might want to do the paperwork.
>
>
> ChangeLog:
>
> 2008-03-06 Hidetaka Takano <hidetaka.takano@glb.toshiba.co.jp>
>
> * source.c (directory_command): modify the determination of
> condition of terminal "from_tty".
>
> Best regard.
> ---
> Hidetaka Takano / Toshiba
More information about the Gdb-patches
mailing list