Thread View: gnu.gdb.bug
1 messages
1 total messages
Started by James Van Artsdalen
Sun, 11 Feb 1990 19:40
gdb 3.5 i386-sv32 command line editor "bug"
Author: James Van Artsdalen
Date: Sun, 11 Feb 1990 19:40
Date: Sun, 11 Feb 1990 19:40
35 lines
1310 bytes
1310 bytes
When running gdb under emacs through a pty, stdout on my system is
buffered. gdb needs to flush stdout.
/usr3/src/gdb-3.5/readline> rcsdiff -c readline.c
RCS file: RCS/readline.c,v
retrieving revision 1.1
diff -c -r1.1 readline.c
*** /tmp/,RCSt1a05761 Sun Feb 11 13:39:00 1990
--- readline.c Thu Feb 8 23:00:40 1990
***************
*** 304,311 ****
if (!readline_echoing_p)
{
! if (rl_prompt)
fprintf (out_stream, "%s", rl_prompt);
}
else
{
--- 304,313 ----
if (!readline_echoing_p)
{
! if (rl_prompt) {
fprintf (out_stream, "%s", rl_prompt);
+ fflush (out_stream);
+ }
}
else
{
/usr3/src/gdb-3.5/readline>
--
James R. Van Artsdalen james@bigtex.cactus.org "Live Free or Die"
Dell Computer Co 9505 Arboretum Blvd Austin TX 78759 512-338-8789
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads