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]

Re: [patch] Fix "directory" command problem under "set confirm off"


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]