2008-03-06 Hidetaka Takano <hidetaka.takano@glb.toshiba.co.jp>
* source.c (directory_command): Modify the determination of condition of terminal "from_tty".
This commit is contained in:
parent
22566fbd5b
commit
80618b9993
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2008-03-06 Hidetaka Takano <hidetaka.takano@glb.toshiba.co.jp>
|
||||||
|
|
||||||
|
* source.c (directory_command): Modify the determination of
|
||||||
|
condition of terminal "from_tty".
|
||||||
|
|
||||||
2008-03-10 Matt Rice <ratmice@gmail.com>
|
2008-03-10 Matt Rice <ratmice@gmail.com>
|
||||||
|
|
||||||
* dwarf2read.c (set_cu_language): Add DW_LANG_ObjC.
|
* dwarf2read.c (set_cu_language): Add DW_LANG_ObjC.
|
||||||
|
|
|
@ -369,7 +369,7 @@ directory_command (char *dirname, int from_tty)
|
||||||
/* FIXME, this goes to "delete dir"... */
|
/* FIXME, this goes to "delete dir"... */
|
||||||
if (dirname == 0)
|
if (dirname == 0)
|
||||||
{
|
{
|
||||||
if (from_tty && query (_("Reinitialize source path to empty? ")))
|
if (!from_tty || query (_("Reinitialize source path to empty? ")))
|
||||||
{
|
{
|
||||||
xfree (source_path);
|
xfree (source_path);
|
||||||
init_source_path ();
|
init_source_path ();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue