diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1994-04-21 21:19:58 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1994-04-21 21:19:58 +0000 |
commit | 9e8db4456ea7c15cce7a22b4073229d5d22c46b3 (patch) | |
tree | 47c54933398c4dd49727a0e9d92b337ac8c811a2 /gdb/main.c | |
parent | 739324d734b99119379711504fc112f3c8013b4a (diff) | |
download | binutils-gdb-9e8db4456ea7c15cce7a22b4073229d5d22c46b3.tar.gz |
* breakpoint.c (watch_command): Use (CORE_ADDR)0, not NULL, for
target null pointer.
* blockframe.c (find_frame_addr_in_frame_chain): Likewise.
* printcmd.c (output_command): Annotate things we print here too.
* Move declaration of print_value_flags from defs.h to value.h.
* main.c (command_line_input): Call wrap_here as well as gdb_flush.
Diffstat (limited to 'gdb/main.c')
-rw-r--r-- | gdb/main.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gdb/main.c b/gdb/main.c index 69c36ef313c..83cbde9af9b 100644 --- a/gdb/main.c +++ b/gdb/main.c @@ -1730,10 +1730,9 @@ command_line_input (prrompt, repeat) while (1) { - /* Reports are that some Sys V's don't flush gdb_stdout/err on reads - from stdin, when stdin/out are sockets rather than ttys. So we - have to do it ourselves, to make emacs-gdb and xxgdb work. - On other machines, doing this once per input should be a cheap nop. */ + /* Make sure that all output has been output. Some machines may let + you get away with leaving out some of the gdb_flush, but not all. */ + wrap_here (""); gdb_flush (gdb_stdout); gdb_flush (gdb_stderr); |