public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* Broken MI output
@ 2005-03-03 14:17 Karganov Konstantin
  2005-03-03 14:20 ` Bob Rossi
  0 siblings, 1 reply; 6+ messages in thread
From: Karganov Konstantin @ 2005-03-03 14:17 UTC (permalink / raw)
  To: gdb

Hello.

I tried to run hello-world application under "gdb -i=mi"
and got the following:

-------------------------
~"GNU gdb 6.3\n"
~"Copyright 2004 Free Software Foundation, Inc.\n"
~"GDB is free software, covered by the GNU General Public License, and you 
are\n"
~"welcome to change it and/or distribute copies of it under certain 
conditions.\n"
~"Type \"show copying\" to see the conditions.\n"
~"There is absolutely no warranty for GDB.  Type \"show warranty\" for 
details.\n"
~"This GDB was configured as \"i686-pc-linux-gnu\"..."
~"Using host libthread_db library \"/lib/libthread_db.so.1\".\n"
~"\n"
(gdb)
run
&"run\n"
 Hello world!
~"Current language:  auto; currently c\n"
^done,reason="exited-normally"
(gdb)
-------------------------

Two lines here are out of the grammar syntax: "run" line, that is only 
echo of the terminal, that doesnt go out of the debugger (presents only in 
debugger stdin) and the " Hello world!" line that is an application output 
mixed with MI output. The second line goes out of the debugger stdout and 
surely breaks MI-parser. 
Am I right that this is a bug ("@ c-string" format is missing) that needs 
to be fixed?

Thanks.

Konstantin.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-03-03 15:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-03 14:17 Broken MI output Karganov Konstantin
2005-03-03 14:20 ` Bob Rossi
2005-03-03 14:26   ` Karganov Konstantin
2005-03-03 14:34     ` Bob Rossi
2005-03-03 15:02       ` Karganov Konstantin
2005-03-03 15:06         ` Bob Rossi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).