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: [RFC] Don't lose compilation directory in Dwarf2 line-tables


> From: Frederic RISS <frederic.riss@st.com>
> 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?


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