From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13228 invoked by alias); 14 Apr 2006 14:21:48 -0000 Received: (qmail 13218 invoked by uid 22791); 14 Apr 2006 14:21:47 -0000 X-Spam-Check-By: sourceware.org Received: from nitzan.inter.net.il (HELO nitzan.inter.net.il) (192.114.186.20) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 14 Apr 2006 14:21:46 +0000 Received: from HOME-C4E4A596F7 (IGLD-83-130-214-179.inter.net.il [83.130.214.179]) by nitzan.inter.net.il (MOS 3.7.3-GA) with ESMTP id DDG06959 (AUTH halo1); Fri, 14 Apr 2006 17:21:41 +0300 (IDT) Date: Fri, 14 Apr 2006 14:21:00 -0000 Message-Id: From: Eli Zaretskii To: Frederic RISS CC: gdb-patches@sourceware.org In-reply-to: <1145022137.14807.794.camel@crx549.cro.st.com> (message from Frederic RISS on Fri, 14 Apr 2006 15:42:17 +0200) Subject: Re: [RFC] Don't lose compilation directory in Dwarf2 line-tables Reply-to: Eli Zaretskii References: <1144927446.14807.561.camel@crx549.cro.st.com> <8f2776cb0604131049i69e9b20fv78e60c023f245e56@mail.gmail.com> <1144999942.14807.721.camel@crx549.cro.st.com> <1145015039.14807.767.camel@crx549.cro.st.com> <1145022137.14807.794.camel@crx549.cro.st.com> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-04/txt/msg00192.txt.bz2 > From: Frederic RISS > Cc: gdb-patches@sourceware.org > Date: Fri, 14 Apr 2006 15:42:17 +0200 > > > > +Reset the source path to its initial value. This requires confirmation. > > > > Please say ``default value'' instead of ``initial value'', and please > > show that default value. > > Like in ``Reset the source path to its default value (@samp{$cdir:$cwd} > on Unix systems).'' Yes. > > Also, `dir' with no arguments no longer requires a confirmation, so > > please delete that sentence. > > Really? my checkout from yersterday still asks me : > (gdb) dir > Reinitialize source path to empty? (y or n) y > > Source directories searched: $cdir:$cwd Right you are, but this raises an issue with the Windows port (where I originally checked this): it does NOT ask for permission. [Time passes...] Ah, I see, it's probably because input_from_terminal_p returns zero on Windows. Is this fixable? Anyway, I think we should modify the prompt to say this: Reinitialize source path to default? (y or n) Does anyone disagree?