This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
gdb/623: GDB/MI does not respond output in the target-stream
- From: alain at qnx dot com
- To: gdb-gnats at sources dot redhat dot com
- Date: 31 Jul 2002 19:16:12 -0000
- Subject: gdb/623: GDB/MI does not respond output in the target-stream
- Reply-to: alain at qnx dot com
>Number: 623
>Category: gdb
>Synopsis: GDB/MI does not respond output in the target-stream
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Jul 31 12:18:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: alain@qnx.com
>Release: unknown-1.0
>Organization:
>Environment:
Linux, gdb-5.2.1
>Description:
the Target output is not an MI answer for example
doing printf("hello world") without the newline
wil get the output intertwine with mi output making things impossible to
debug.
For example printf("(gdb)\n") will make it impossible to fin the MI
terminator.
>How-To-Repeat:
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char *argv[]) {
int x = 9;
printf ("Hello world\n");
printf ("Hello world err");
return EXIT_SUCCESS;
}
GNU gdb 5.2.1
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...
(gdb)
run
&"run\n"
Hello world
Hello world err^done,reason="exited-normally"
(gdb)
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: