projects
/
external
/
binutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78ad01c
)
(defaulted_query): Don't ask for confirmation if server
author
Nick Roberts
<nickrob@snap.net.nz>
Thu, 6 Aug 2009 08:19:58 +0000
(08:19 +0000)
committer
Nick Roberts
<nickrob@snap.net.nz>
Thu, 6 Aug 2009 08:19:58 +0000
(08:19 +0000)
prefix is used.
gdb/utils.c
patch
|
blob
|
history
diff --git
a/gdb/utils.c
b/gdb/utils.c
index
eb75f2e
..
a266b02
100644
(file)
--- a/
gdb/utils.c
+++ b/
gdb/utils.c
@@
-1436,8
+1436,8
@@
defaulted_query (const char *ctlstr, const char defchar, va_list args)
}
/* Automatically answer the default value if the user did not want
- prompts. */
- if (! caution)
+ prompts
or the command was issued with the server prefix
. */
+ if (! caution
|| server_command
)
return def_value;
/* If input isn't coming from the user directly, just say what