2009-07-20 Marc Khouzam <marc.khouzam@ericsson.com>
* utils.c (defaulted_query): Update comment and remove dead code.
This commit is contained in:
parent
6a0d81b26f
commit
7a01c6e083
2 changed files with 5 additions and 6 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2009-07-20 Marc Khouzam <marc.khouzam@ericsson.com>
|
||||||
|
|
||||||
|
* utils.c (defaulted_query): Update comment and remove dead code.
|
||||||
|
|
||||||
2009-07-20 Doug Evans <dje@google.com>
|
2009-07-20 Doug Evans <dje@google.com>
|
||||||
|
|
||||||
Add support for "comdat types" from DWARF4.
|
Add support for "comdat types" from DWARF4.
|
||||||
|
|
|
@ -1433,7 +1433,7 @@ defaulted_query (const char *ctlstr, const char defchar, va_list args)
|
||||||
return def_value;
|
return def_value;
|
||||||
|
|
||||||
/* If input isn't coming from the user directly, just say what
|
/* If input isn't coming from the user directly, just say what
|
||||||
question we're asking, and then answer "yes" automatically. This
|
question we're asking, and then answer the default automatically. This
|
||||||
way, important error messages don't get lost when talking to GDB
|
way, important error messages don't get lost when talking to GDB
|
||||||
over a pipe. */
|
over a pipe. */
|
||||||
if (! input_from_terminal_p ())
|
if (! input_from_terminal_p ())
|
||||||
|
@ -1448,11 +1448,6 @@ defaulted_query (const char *ctlstr, const char defchar, va_list args)
|
||||||
return def_value;
|
return def_value;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Automatically answer the default value if input is not from the user
|
|
||||||
directly, or if the user did not want prompts. */
|
|
||||||
if (!input_from_terminal_p () || !caution)
|
|
||||||
return def_value;
|
|
||||||
|
|
||||||
if (deprecated_query_hook)
|
if (deprecated_query_hook)
|
||||||
{
|
{
|
||||||
return deprecated_query_hook (ctlstr, args);
|
return deprecated_query_hook (ctlstr, args);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue