projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
don't let bin2hex call strlen
[deliverable/binutils-gdb.git]
/
gdb
/
event-top.c
diff --git
a/gdb/event-top.c
b/gdb/event-top.c
index 1f2e6fb9e7c3c55317f26f7d962e6f7dc1e30922..fbe89bdb829367a32cf31a35b77eb8e3b7906504 100644
(file)
--- a/
gdb/event-top.c
+++ b/
gdb/event-top.c
@@
-1,6
+1,6
@@
/* Top level stuff for GDB, the GNU debugger.
/* Top level stuff for GDB, the GNU debugger.
- Copyright (C) 1999-201
3
Free Software Foundation, Inc.
+ Copyright (C) 1999-201
4
Free Software Foundation, Inc.
Written by Elena Zannoni <ezannoni@cygnus.com> of Cygnus Solutions.
Written by Elena Zannoni <ezannoni@cygnus.com> of Cygnus Solutions.
@@
-606,8
+606,7
@@
command_line_handler (char *rl)
*p = 0;
/* Add line to history if appropriate. */
*p = 0;
/* Add line to history if appropriate. */
- if (instream == stdin
- && ISATTY (stdin) && *linebuffer)
+ if (*linebuffer && input_from_terminal_p ())
add_history (linebuffer);
/* Note: lines consisting solely of comments are added to the command
add_history (linebuffer);
/* Note: lines consisting solely of comments are added to the command
This page took
0.023476 seconds
and
4
git commands to generate.